Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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.001929/0.001929, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002433/0.002433, allocations: 216.5 kB / 22.26 MB, free: 5.121 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.649/1.649, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] 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 3.564/3.564, allocations: 0.505 GB / 0.8101 GB, free: 22.08 MB / 0.6231 GB " [Timeout remaining time 176] 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.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",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.002059/0.002059, allocations: 70.52 kB / 1.177 GB, free: 17.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4586/0.4606, allocations: 180.2 MB / 1.353 GB, free: 8.52 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003614/0.4643, allocations: 1.856 MB / 1.355 GB, free: 6.652 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.000328/0.4646, allocations: 115.9 kB / 1.355 GB, free: 6.539 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.63e-05/0.4647, allocations: 3.938 kB / 1.355 GB, free: 6.535 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001183/0.4648, allocations: 11.86 kB / 1.355 GB, free: 6.523 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.4649, allocations: 55.48 kB / 1.355 GB, free: 6.469 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001619/0.465, allocations: 35.95 kB / 1.355 GB, free: 6.434 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002486/0.4653, allocations: 167.2 kB / 1.355 GB, free: 6.27 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.4654, allocations: 21.23 kB / 1.355 GB, free: 6.25 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.162e-05/0.4655, allocations: 59.78 kB / 1.355 GB, free: 6.191 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.4657, allocations: 71.69 kB / 1.355 GB, free: 6.121 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.249e-05/0.4657, allocations: 8 kB / 1.355 GB, free: 6.113 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.79e-05/0.4657, allocations: 12 kB / 1.355 GB, free: 6.102 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.683e-05/0.4657, allocations: 23.91 kB / 1.355 GB, free: 6.078 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.879e-05/0.4658, allocations: 63.67 kB / 1.355 GB, free: 6.016 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.466, allocations: 131.5 kB / 1.355 GB, free: 5.887 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.466, allocations: 0 / 1.355 GB, free: 5.887 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.302e-06/0.466, allocations: 0 / 1.355 GB, free: 5.887 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.407e-06/0.466, allocations: 0 / 1.355 GB, free: 5.887 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008414/0.4669, allocations: 377.7 kB / 1.356 GB, free: 5.484 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.4669, allocations: 11.97 kB / 1.356 GB, free: 5.473 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.795e-05/0.467, allocations: 42.75 kB / 1.356 GB, free: 5.422 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.36e-05/0.467, allocations: 20.84 kB / 1.356 GB, free: 5.402 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003487/0.4674, allocations: 154.8 kB / 1.356 GB, free: 5.227 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.4674, allocations: 8.375 kB / 1.356 GB, free: 5.219 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.4674, allocations: 4.375 kB / 1.356 GB, free: 5.215 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003158/0.4677, allocations: 119.8 kB / 1.356 GB, free: 5.086 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.4677, allocations: 3.938 kB / 1.356 GB, free: 5.082 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.4677, allocations: 8 kB / 1.356 GB, free: 5.074 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.4677, allocations: 0 / 1.356 GB, free: 5.074 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003019/0.4681, allocations: 103.9 kB / 1.356 GB, free: 4.973 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007862/0.4688, allocations: 439.9 kB / 1.357 GB, free: 4.496 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004167/0.4693, allocations: 117.2 kB / 1.357 GB, free: 4.363 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001689/0.4694, allocations: 57.78 kB / 1.357 GB, free: 4.301 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.848e-05/0.4695, allocations: 15.88 kB / 1.357 GB, free: 4.285 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.4695, allocations: 34.55 kB / 1.357 GB, free: 4.242 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 4.408e-06/0.4695, allocations: 3.984 kB / 1.357 GB, free: 4.238 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.0005914/0.4701, allocations: 181.5 kB / 1.357 GB, free: 4.055 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.653e-05/0.4702, allocations: 81.11 kB / 1.357 GB, free: 3.957 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.4703, allocations: 162.3 kB / 1.357 GB, free: 3.785 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.4704, allocations: 29.7 kB / 1.357 GB, free: 3.75 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.135e-05/0.4704, allocations: 112 kB / 1.357 GB, free: 3.637 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/0.4705, allocations: 31.73 kB / 1.357 GB, free: 3.605 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.88e-05/0.4705, allocations: 17.72 kB / 1.357 GB, free: 3.582 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.4707, allocations: 334.8 kB / 1.358 GB, free: 3.246 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.4708, allocations: 43.97 kB / 1.358 GB, free: 3.203 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.471, allocations: 57.67 kB / 1.358 GB, free: 3.141 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002909/0.4713, allocations: 105.6 kB / 1.358 GB, free: 3.031 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4713, allocations: 0 / 1.358 GB, free: 3.031 MB / 1.045 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003372/0.4716, allocations: 149.5 kB / 1.358 GB, free: 2.879 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.4716, allocations: 4 kB / 1.358 GB, free: 2.875 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.4716, allocations: 3.984 kB / 1.358 GB, free: 2.871 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.4717, allocations: 4 kB / 1.358 GB, free: 2.867 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.4718, allocations: 24.36 kB / 1.358 GB, free: 2.844 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.4718, allocations: 0 / 1.358 GB, free: 2.844 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.4719, allocations: 24.06 kB / 1.358 GB, free: 2.82 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.472, allocations: 0 / 1.358 GB, free: 2.82 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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.0001125/0.4721, allocations: 129.7 kB / 1.358 GB, free: 2.684 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.199e-05/0.4721, allocations: 11.95 kB / 1.358 GB, free: 2.672 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004363/0.4726, allocations: 158.6 kB / 1.358 GB, free: 2.512 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.4726, allocations: 0 / 1.358 GB, free: 2.512 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.4726, allocations: 4 kB / 1.358 GB, free: 2.508 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.4726, allocations: 3.938 kB / 1.358 GB, free: 2.504 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003069/0.4729, allocations: 196.6 kB / 1.359 GB, free: 2.27 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.4729, allocations: 4 kB / 1.359 GB, free: 2.266 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.473, allocations: 27.92 kB / 1.359 GB, free: 2.238 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.473, allocations: 0 / 1.359 GB, free: 2.238 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.473, allocations: 0 / 1.359 GB, free: 2.238 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.473, allocations: 0 / 1.359 GB, free: 2.238 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.473, allocations: 4 kB / 1.359 GB, free: 2.234 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004451/0.4735, allocations: 318.5 kB / 1.359 GB, free: 1.906 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.624e-05/0.4735, allocations: 11.91 kB / 1.359 GB, free: 1.895 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.925e-05/0.4736, allocations: 4 kB / 1.359 GB, free: 1.891 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.4737, allocations: 11.98 kB / 1.359 GB, free: 1.879 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.945e-05/0.4738, allocations: 11.92 kB / 1.359 GB, free: 1.867 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.4738, allocations: 0 / 1.359 GB, free: 1.867 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000122/0.4739, allocations: 136.2 kB / 1.359 GB, free: 1.734 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4739, allocations: 0 / 1.359 GB, free: 1.734 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002916/0.4742, allocations: 24 kB / 1.359 GB, free: 1.711 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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.0008266/0.475, allocations: 0.8444 MB / 1.36 GB, free: 0.8359 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003569/0.4754, allocations: 95.88 kB / 1.36 GB, free: 0.7422 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4754, allocations: 0 / 1.36 GB, free: 0.7422 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.4756, allocations: 55.89 kB / 1.36 GB, free: 0.6875 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004564/0.476, allocations: 48.48 kB / 1.36 GB, free: 0.6406 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00258/0.4786, allocations: 1.821 MB / 1.362 GB, free: 14.73 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000401/0.479, allocations: 0.7006 MB / 1.363 GB, free: 14 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.996e-05/0.4791, allocations: 24.56 kB / 1.363 GB, free: 13.98 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.913e-05/0.4792, allocations: 27.44 kB / 1.363 GB, free: 13.95 MB / 1.061 GB Notification: Performance of SimCode: time 2.003e-06/0.4792, allocations: 0 / 1.363 GB, free: 13.95 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03323/0.5124, allocations: 3.796 MB / 1.366 GB, free: 10.33 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.49, allocations: 17.16 kB / 1.366 GB, free: 10.32 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable heaCur.TOut in file Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv. Warning: Get data of variable heaCur.TOut from file Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv failed! Error: Could not read variable heaCur1.TRoo_in in file Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv. Warning: Get data of variable heaCur1.TRoo_in from file Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv failed! Error: Could not read variable heaCur1.TSup in file Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv. Warning: Get data of variable heaCur1.TSup from file Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.468562712999756]