Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009206/0.009206, allocations: 102.3 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 189.1 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.151/2.151, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.711/3.711, allocations: 390.2 MB / 0.6648 GB, free: 236 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 57.88 kB / 0.9504 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5382/0.5403, allocations: 140.4 MB / 1.087 GB, free: 2.031 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.005729/0.5461, allocations: 2.223 MB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003474/0.5497, allocations: 1.529 MB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005593/0.5503, allocations: 8 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002488/0.5505, allocations: 59.2 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006396/0.5512, allocations: 91.08 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001228/0.5525, allocations: 291.5 kB / 1.092 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009824/0.5535, allocations: 0.6566 MB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006842/0.5542, allocations: 357.8 kB / 1.093 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004269/0.5546, allocations: 235.1 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003227/0.5549, allocations: 262.8 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.555, allocations: 68 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001635/0.5552, allocations: 83.98 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002009/0.5554, allocations: 131.5 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002961/0.5557, allocations: 290.6 kB / 1.094 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001051/0.5568, allocations: 0.7859 MB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.171e-05/0.5568, allocations: 3.938 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.779e-06/0.5568, allocations: 3.938 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.674e-05/0.5569, allocations: 8 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001732/0.5586, allocations: 0.8129 MB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.797e-05/0.5587, allocations: 8.031 kB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000118/0.5588, allocations: 94.7 kB / 1.095 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.5589, allocations: 60.27 kB / 1.095 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006551/0.5596, allocations: 363.6 kB / 1.096 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.659e-05/0.5597, allocations: 45.69 kB / 1.096 GB, free: 9.469 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.533e-05/0.5598, allocations: 56.38 kB / 1.096 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.5609, allocations: 0.5069 MB / 1.096 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.658e-05/0.561, allocations: 3.938 kB / 1.096 GB, free: 8.887 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.383e-05/0.561, allocations: 20 kB / 1.096 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.475e-05/0.5611, allocations: 12 kB / 1.096 GB, free: 8.855 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000837/0.5619, allocations: 360.7 kB / 1.097 GB, free: 8.504 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00296/0.5649, allocations: 1.441 MB / 1.098 GB, free: 7.004 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009068/0.5658, allocations: 297.3 kB / 1.098 GB, free: 6.695 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006448/0.5665, allocations: 189.5 kB / 1.098 GB, free: 6.504 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.175e-05/0.5666, allocations: 7.984 kB / 1.098 GB, free: 6.496 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005628/0.5671, allocations: 191 kB / 1.099 GB, free: 6.293 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=34): time 2.514e-06/0.5671, allocations: 0 / 1.099 GB, free: 6.293 MB / 0.8575 GB Notification: Performance of matching and sorting (n=34): time 0.0009786/0.5681, allocations: 390.5 kB / 1.099 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.842e-05/0.5682, allocations: 85.09 kB / 1.099 GB, free: 5.805 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006222/0.5689, allocations: 409.6 kB / 1.1 GB, free: 5.395 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.435e-05/0.5689, allocations: 37.64 kB / 1.1 GB, free: 5.352 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004375/0.5694, allocations: 263.9 kB / 1.1 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.5695, allocations: 118.3 kB / 1.1 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001788/0.5697, allocations: 82.12 kB / 1.1 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000471/0.5702, allocations: 354.7 kB / 1.1 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005014/0.5707, allocations: 136.8 kB / 1.1 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004054/0.5711, allocations: 199.2 kB / 1.101 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007639/0.5719, allocations: 344.6 kB / 1.101 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.469e-05/0.5719, allocations: 3.984 kB / 1.101 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009581/0.5729, allocations: 468.4 kB / 1.101 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.473e-05/0.5729, allocations: 41.64 kB / 1.101 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.5729, allocations: 4 kB / 1.101 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/0.573, allocations: 4 kB / 1.101 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004491/0.5734, allocations: 88.02 kB / 1.102 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.938e-05/0.5735, allocations: 7.938 kB / 1.102 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006055/0.5741, allocations: 79.33 kB / 1.102 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.015e-05/0.5742, allocations: 16 kB / 1.102 GB, free: 3.098 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,TRoo1.booPul.y,$PRE.TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 1 * 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.0002555/0.5744, allocations: 165.8 kB / 1.102 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.372e-05/0.5745, allocations: 39.53 kB / 1.102 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/0.5756, allocations: 329.7 kB / 1.102 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.5756, allocations: 7.938 kB / 1.102 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.426e-05/0.5756, allocations: 7.984 kB / 1.102 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/0.5756, allocations: 0 / 1.102 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002142/0.5778, allocations: 0.9668 MB / 1.103 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.5778, allocations: 3.938 kB / 1.103 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002477/0.5781, allocations: 63.91 kB / 1.103 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.173e-06/0.5781, allocations: 4 kB / 1.103 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.236e-05/0.5781, allocations: 8 kB / 1.103 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.5781, allocations: 8.125 kB / 1.103 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.5781, allocations: 4 kB / 1.103 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009944/0.5791, allocations: 0.5161 MB / 1.104 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002309/0.5794, allocations: 128.5 kB / 1.104 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.787e-05/0.5795, allocations: 11.98 kB / 1.104 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002449/0.5797, allocations: 12 kB / 1.104 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.5798, allocations: 27.91 kB / 1.104 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-05/0.5799, allocations: 12 kB / 1.104 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003853/0.5803, allocations: 291.2 kB / 1.104 GB, free: 384 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.5803, allocations: 0 / 1.104 GB, free: 384 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.00053/0.5808, allocations: 107.7 kB / 1.104 GB, free: 276 kB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001536/0.5824, allocations: 1.058 MB / 1.105 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000922/0.5833, allocations: 386.2 kB / 1.106 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/0.5833, allocations: 0 / 1.106 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002945/0.5836, allocations: 139.8 kB / 1.106 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009223/0.5845, allocations: 70.2 kB / 1.106 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008883/0.5934, allocations: 3.764 MB / 1.11 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008983/0.5944, allocations: 0.8276 MB / 1.11 GB, free: 9.789 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000332/0.5948, allocations: 43.27 kB / 1.11 GB, free: 9.746 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003801/0.5952, allocations: 155.4 kB / 1.111 GB, free: 9.594 MB / 0.8731 GB Notification: Performance of SimCode: time 1.362e-06/0.5952, allocations: 0 / 1.111 GB, free: 9.594 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04522/0.6404, allocations: 7.207 MB / 1.118 GB, free: 2.582 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.25/15.9, allocations: 9.781 kB / 1.118 GB, free: 2.574 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.fmu > Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches