Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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.00121/0.00121, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001314/0.001314, allocations: 216.4 kB / 22.24 MB, free: 5.262 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.296/1.296, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.931/2.931, allocations: 0.5107 GB / 0.8158 GB, free: 17.76 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",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.001898/0.001898, allocations: 67.78 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2975, allocations: 181.9 MB / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1567/0.4542, allocations: 135.9 MB / 1.496 GB, free: 5.602 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.0138/0.468, allocations: 9.935 MB / 1.506 GB, free: 11.64 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006968/0.4687, allocations: 23.81 kB / 1.506 GB, free: 11.62 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0008359/0.4695, allocations: 289.6 kB / 1.506 GB, free: 11.33 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002621/0.4721, allocations: 1.014 MB / 1.507 GB, free: 10.32 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.00236/0.4745, allocations: 1.11 MB / 1.508 GB, free: 9.215 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001886/0.4764, allocations: 1.745 MB / 1.51 GB, free: 7.465 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001301/0.4777, allocations: 0.9241 MB / 1.511 GB, free: 6.508 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001805/0.4795, allocations: 0.7642 MB / 1.512 GB, free: 5.758 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008247/0.4803, allocations: 0.5793 MB / 1.512 GB, free: 5.176 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002326/0.4805, allocations: 136 kB / 1.512 GB, free: 5.043 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001716/0.4823, allocations: 1.018 MB / 1.513 GB, free: 4.023 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003557/0.4826, allocations: 394.8 kB / 1.514 GB, free: 3.637 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005942/0.4832, allocations: 0.5559 MB / 1.514 GB, free: 3.078 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002761/0.486, allocations: 2.292 MB / 1.516 GB, free: 0.7773 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.486, allocations: 0 / 1.516 GB, free: 0.7773 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.032e-06/0.486, allocations: 0 / 1.516 GB, free: 0.7773 MB / 1.201 GB Notification: Performance of Transformations before backend: time 3.96e-05/0.486, allocations: 0 / 1.516 GB, free: 0.7773 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003308/0.4893, allocations: 1.742 MB / 1.518 GB, free: 15 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.4894, allocations: 12.03 kB / 1.518 GB, free: 14.98 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001904/0.4895, allocations: 152.1 kB / 1.518 GB, free: 14.83 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002018/0.4916, allocations: 314.8 kB / 1.519 GB, free: 14.52 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00165/0.4932, allocations: 1.033 MB / 1.52 GB, free: 13.46 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.314e-05/0.4933, allocations: 73.98 kB / 1.52 GB, free: 13.39 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/0.4934, allocations: 103.9 kB / 1.52 GB, free: 13.29 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002134/0.4956, allocations: 1.482 MB / 1.521 GB, free: 11.67 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.4956, allocations: 0 / 1.521 GB, free: 11.67 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.225e-05/0.4957, allocations: 40 kB / 1.521 GB, free: 11.63 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.518e-05/0.4957, allocations: 27.98 kB / 1.521 GB, free: 11.61 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002319/0.498, allocations: 1.276 MB / 1.522 GB, free: 10.33 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005074/0.5031, allocations: 2.77 MB / 1.525 GB, free: 7.496 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001945/0.505, allocations: 0.9698 MB / 1.526 GB, free: 6.527 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007581/0.5058, allocations: 389.1 kB / 1.526 GB, free: 6.145 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001999/0.506, allocations: 56.95 kB / 1.527 GB, free: 6.09 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001247/0.5072, allocations: 0.8514 MB / 1.527 GB, free: 5.164 MB / 1.217 GB Notification: Performance of pre-optimization done (n=95): time 2.445e-06/0.5072, allocations: 0 / 1.527 GB, free: 5.164 MB / 1.217 GB Notification: Performance of matching and sorting (n=95): time 0.004077/0.5113, allocations: 1.489 MB / 1.529 GB, free: 3.664 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001392/0.5115, allocations: 192.9 kB / 1.529 GB, free: 3.434 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/0.5128, allocations: 1.048 MB / 1.53 GB, free: 2.375 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 7.882e-05/0.5129, allocations: 45.7 kB / 1.53 GB, free: 2.324 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004068/0.5133, allocations: 489.1 kB / 1.531 GB, free: 1.84 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002721/0.5136, allocations: 329.3 kB / 1.531 GB, free: 1.516 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002665/0.5138, allocations: 170.5 kB / 1.531 GB, free: 1.34 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.514, allocations: 337.9 kB / 1.531 GB, free: 1.004 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007065/0.5147, allocations: 337.8 kB / 1.532 GB, free: 0.6758 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000934/0.5156, allocations: 0.6589 MB / 1.532 GB, free: 15.93 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001511/0.5171, allocations: 0.7687 MB / 1.533 GB, free: 15.15 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.5171, allocations: 0 / 1.533 GB, free: 15.15 MB / 1.232 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002461/0.5196, allocations: 1.041 MB / 1.534 GB, free: 14.1 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.5196, allocations: 5.25 kB / 1.534 GB, free: 14.09 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.5196, allocations: 4 kB / 1.534 GB, free: 14.09 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007182/0.5203, allocations: 121.6 kB / 1.534 GB, free: 13.96 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008624/0.5212, allocations: 191.7 kB / 1.534 GB, free: 13.78 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003102/0.5243, allocations: 2.85 MB / 1.537 GB, free: 10.69 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007976/0.5251, allocations: 119.3 kB / 1.537 GB, free: 10.57 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-05/0.5252, allocations: 27.98 kB / 1.537 GB, free: 10.54 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004739/0.5256, allocations: 313.7 kB / 1.538 GB, free: 10.23 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002157/0.5259, allocations: 111.3 kB / 1.538 GB, free: 10.12 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00295/0.5288, allocations: 1.318 MB / 1.539 GB, free: 8.781 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.5288, allocations: 12 kB / 1.539 GB, free: 8.77 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.5288, allocations: 0 / 1.539 GB, free: 8.77 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.5288, allocations: 11.97 kB / 1.539 GB, free: 8.758 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004195/0.533, allocations: 2.259 MB / 1.541 GB, free: 6.445 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.533, allocations: 0 / 1.541 GB, free: 6.445 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007924/0.5338, allocations: 191.7 kB / 1.541 GB, free: 6.258 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005251/0.5344, allocations: 109.5 kB / 1.542 GB, free: 6.145 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.312e-05/0.5344, allocations: 27.98 kB / 1.542 GB, free: 6.117 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002945/0.5374, allocations: 2.878 MB / 1.544 GB, free: 3.004 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.5374, allocations: 0 / 1.544 GB, free: 3.004 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002646/0.54, allocations: 1.249 MB / 1.546 GB, free: 1.73 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005782/0.5406, allocations: 250.9 kB / 1.546 GB, free: 1.484 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001602/0.5408, allocations: 24 kB / 1.546 GB, free: 1.461 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008102/0.5416, allocations: 83.91 kB / 1.546 GB, free: 1.379 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/0.5417, allocations: 88.72 kB / 1.546 GB, free: 1.293 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.641e-05/0.5418, allocations: 43.97 kB / 1.546 GB, free: 1.25 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.000991/0.5428, allocations: 0.7645 MB / 1.547 GB, free: 500 kB / 1.232 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5428, allocations: 0 / 1.547 GB, free: 500 kB / 1.232 GB Notification: Performance of remove unused functions: time 0.001152/0.544, allocations: 466.8 kB / 1.547 GB, free: 32 kB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005103/0.5491, allocations: 2.415 MB / 1.55 GB, free: 13.8 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.002194/0.5513, allocations: 1.084 MB / 1.551 GB, free: 12.69 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.5513, allocations: 0 / 1.551 GB, free: 12.69 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.001286/0.5526, allocations: 0.7099 MB / 1.551 GB, free: 11.95 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001441/0.554, allocations: 362.8 kB / 1.552 GB, free: 11.62 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01422/0.5682, allocations: 8.439 MB / 1.56 GB, free: 3.039 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005845/0.5688, allocations: 0.5088 MB / 1.56 GB, free: 2.492 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0009857/0.5698, allocations: 320 kB / 1.561 GB, free: 2.176 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006896/0.5705, allocations: 479.2 kB / 1.561 GB, free: 1.707 MB / 1.248 GB Notification: Performance of SimCode: time 6.01e-07/0.5705, allocations: 0 / 1.561 GB, free: 1.707 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08145/0.6519, allocations: 30.61 MB / 1.591 GB, free: 3.48 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/13.8, allocations: 3.938 kB / 1.591 GB, free: 3.477 MB / 1.279 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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: 19.972929030191153]