Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001839/0.001839, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00222/0.00222, allocations: 212.9 kB / 22.25 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.5/1.5, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.274/3.274, allocations: 0.49 GB / 0.7951 GB, free: 33.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 64.38 kB / 1.154 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3736, allocations: 176.1 MB / 1.326 GB, free: 1.953 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.003074/0.3767, allocations: 1.291 MB / 1.327 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003408/0.3801, allocations: 1.582 MB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.079e-05/0.3801, allocations: 0 / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.685e-05/0.3802, allocations: 0 / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002567/0.3804, allocations: 11.94 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009561/0.3814, allocations: 222.9 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002089/0.3816, allocations: 31.91 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.161e-05/0.3816, allocations: 0 / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001911/0.3818, allocations: 31.86 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.3819, allocations: 7.984 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.3819, allocations: 0 / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004385/0.3824, allocations: 175.8 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.094e-05/0.3824, allocations: 7.938 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.531e-05/0.3824, allocations: 4 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003989/0.3828, allocations: 143.9 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.3828, allocations: 3.984 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.494e-06/0.3828, allocations: 0 / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.3828, allocations: 0 / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005088/0.3834, allocations: 305.8 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/0.3834, allocations: 12.03 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.872e-05/0.3835, allocations: 106 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.206e-05/0.3836, allocations: 76.22 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.3838, allocations: 193.7 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.561e-05/0.3839, allocations: 150.9 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.384, allocations: 166.5 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.564e-05/0.384, allocations: 101 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.02e-05/0.3841, allocations: 75.28 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.723e-05/0.3842, allocations: 150.6 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.056e-05/0.3842, allocations: 150.6 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.506e-05/0.3843, allocations: 158.5 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003605/0.3847, allocations: 433 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.3848, allocations: 173.1 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.199e-05/0.3848, allocations: 80.14 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.256e-05/0.3849, allocations: 75.28 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.482e-05/0.3849, allocations: 113.8 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.3849, allocations: 0 / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.811e-05/0.385, allocations: 29.64 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.584e-05/0.3851, allocations: 126.7 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.3852, allocations: 109.8 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.3853, allocations: 29.7 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.366e-05/0.3853, allocations: 84.14 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.176e-06/0.3853, allocations: 4 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.094e-05/0.3854, allocations: 21.7 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.3855, allocations: 310.8 kB / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.751e-05/0.3855, allocations: 4 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.317e-05/0.3856, allocations: 30.56 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.198e-05/0.3857, allocations: 26.56 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3857, allocations: 0 / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001614/0.3858, allocations: 57.5 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.3858, allocations: 8 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3858, allocations: 0 / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.3859, allocations: 0 / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.32e-05/0.3859, allocations: 4 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.3859, allocations: 4 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.3861, allocations: 12.33 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.3861, allocations: 4 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001341/0.3862, allocations: 197 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.121e-05/0.3863, allocations: 101 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.891e-05/0.3864, allocations: 112.1 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-05/0.3865, allocations: 184.2 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.25e-05/0.3866, allocations: 184.3 kB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.035e-05/0.3867, allocations: 180.2 kB / 1.333 GB, free: 9.914 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002825/0.387, allocations: 380.2 kB / 1.334 GB, free: 9.492 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.787e-05/0.387, allocations: 101 kB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.604e-05/0.3871, allocations: 108.9 kB / 1.334 GB, free: 9.273 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.024e-05/0.3872, allocations: 184.3 kB / 1.334 GB, free: 9.086 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.326e-05/0.3872, allocations: 184.2 kB / 1.334 GB, free: 8.898 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001544/0.3874, allocations: 176.3 kB / 1.335 GB, free: 8.719 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.928e-05/0.3875, allocations: 176.3 kB / 1.335 GB, free: 8.539 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002675/0.3878, allocations: 311.8 kB / 1.335 GB, free: 8.211 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.725e-05/0.3878, allocations: 120.9 kB / 1.335 GB, free: 8.086 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.882e-05/0.3879, allocations: 180.3 kB / 1.335 GB, free: 7.902 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.3881, allocations: 105 kB / 1.335 GB, free: 7.793 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.3882, allocations: 184.2 kB / 1.336 GB, free: 7.605 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.78e-05/0.3883, allocations: 101 kB / 1.336 GB, free: 7.5 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.83e-05/0.3883, allocations: 83.27 kB / 1.336 GB, free: 7.418 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3883, allocations: 4 kB / 1.336 GB, free: 7.414 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004809/0.3888, allocations: 55.8 kB / 1.336 GB, free: 7.359 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001165/0.39, allocations: 0.9763 MB / 1.337 GB, free: 6.391 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000101/0.3901, allocations: 15.98 kB / 1.337 GB, free: 6.375 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3901, allocations: 3.938 kB / 1.337 GB, free: 6.371 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.934e-06/0.3901, allocations: 0 / 1.337 GB, free: 6.371 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004376/0.3905, allocations: 455.7 kB / 1.337 GB, free: 5.922 MB / 1.029 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.392, allocations: 1.354 MB / 1.339 GB, free: 4.477 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.3923, allocations: 0.6767 MB / 1.339 GB, free: 3.773 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.27e-05/0.3923, allocations: 0 / 1.339 GB, free: 3.773 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.738e-05/0.3924, allocations: 15.44 kB / 1.339 GB, free: 3.758 MB / 1.029 GB Notification: Performance of SimCode: time 7.91e-07/0.3924, allocations: 0 / 1.339 GB, free: 3.758 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.144/1.537, allocations: 2.724 MB / 1.342 GB, free: 1.191 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/12.53, allocations: 6.344 kB / 1.342 GB, free: 1.188 MB / 1.029 GB " [Timeout remaining time 266] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 49.58321963902563]