Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.SetPoints.Examples.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.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_9_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_9_Buildings_Controls_SetPoints_Examples_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.01274/0.01274, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.002337/0.002337, allocations: 196.5 kB / 16.68 MB, free: 5.961 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.191/2.191, allocations: 222.9 MB / 240.4 MB, free: 4.191 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 4.065/4.065, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 65.92 kB / 0.9503 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4641/0.4661, allocations: 140.4 MB / 1.087 GB, free: 2.055 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.0055/0.4716, allocations: 1.832 MB / 1.089 GB, free: 216 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0006439/0.4723, allocations: 119.6 kB / 1.089 GB, free: 96 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001757/0.4725, allocations: 7.938 kB / 1.089 GB, free: 88 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001703/0.4728, allocations: 11.86 kB / 1.089 GB, free: 76 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001833/0.473, allocations: 47.55 kB / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002494/0.4732, allocations: 44.03 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003558/0.4736, allocations: 167.1 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001928/0.4738, allocations: 29.09 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.474, allocations: 59.69 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001767/0.4742, allocations: 63.77 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.591e-05/0.4742, allocations: 12 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.004e-05/0.4743, allocations: 12 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.151e-05/0.4743, allocations: 27.91 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.4745, allocations: 67.61 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003232/0.4748, allocations: 123.2 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.4748, allocations: 4 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.974e-06/0.4748, allocations: 0 / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.4749, allocations: 0 / 1.09 GB, free: 15.43 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001226/0.4761, allocations: 450.8 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.629e-05/0.4762, allocations: 12.03 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.433e-05/0.4762, allocations: 34.75 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.011e-05/0.4763, allocations: 12.84 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004343/0.4768, allocations: 212 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.4768, allocations: 4.375 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.396e-05/0.4768, allocations: 8.375 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004577/0.4773, allocations: 115.9 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.4773, allocations: 7.938 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.328e-05/0.4774, allocations: 4 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.4774, allocations: 3.984 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004972/0.4779, allocations: 91.88 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/0.4791, allocations: 472.8 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005927/0.4797, allocations: 129.1 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000271/0.48, allocations: 69.72 kB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.985e-05/0.48, allocations: 0 / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.207e-05/0.4801, allocations: 38.5 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.803e-06/0.4801, allocations: 0 / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.001052/0.4812, allocations: 185.4 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.388e-05/0.4812, allocations: 77.11 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.4815, allocations: 167.4 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.192e-05/0.4816, allocations: 33.64 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.4817, allocations: 108 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.632e-05/0.4818, allocations: 31.55 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.061e-05/0.4819, allocations: 25.72 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.4821, allocations: 330.8 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002402/0.4823, allocations: 39.97 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002449/0.4826, allocations: 57.94 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005174/0.4831, allocations: 113.6 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4831, allocations: 0 / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006028/0.4837, allocations: 141.5 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.4838, allocations: 8 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.4838, allocations: 192 / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.4838, allocations: 0 / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002543/0.4841, allocations: 23.92 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.4841, allocations: 11.98 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002187/0.4844, allocations: 11.92 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.4844, allocations: 4 kB / 1.093 GB, free: 12.18 MB / 0.8575 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.0001632/0.4846, allocations: 121.8 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.4847, allocations: 15.81 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006945/0.4854, allocations: 154.5 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.4854, allocations: 4 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.4854, allocations: 0 / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.4854, allocations: 3.938 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005308/0.486, allocations: 229.6 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.486, allocations: 192 / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002284/0.4862, allocations: 27.92 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.4863, allocations: 0 / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.4863, allocations: 4 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.4863, allocations: 0 / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.4863, allocations: 7.938 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006924/0.487, allocations: 314.7 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.71e-05/0.4871, allocations: 92.91 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.472e-05/0.4872, allocations: 4.094 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003304/0.4875, allocations: 15.92 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.489e-05/0.4876, allocations: 7.938 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.4876, allocations: 4 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002567/0.4879, allocations: 131.2 kB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.21e-07/0.4879, allocations: 0 / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006031/0.4885, allocations: 32 kB / 1.094 GB, free: 10.94 MB / 0.8575 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.001149/0.4897, allocations: 0.8366 MB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006286/0.4903, allocations: 99.88 kB / 1.095 GB, free: 9.977 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4904, allocations: 0 / 1.095 GB, free: 9.977 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002718/0.4906, allocations: 59.91 kB / 1.095 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000823/0.4915, allocations: 44.38 kB / 1.095 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003685/0.4952, allocations: 1.817 MB / 1.097 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004267/0.4956, allocations: 0.7122 MB / 1.097 GB, free: 7.23 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001487/0.4958, allocations: 12.78 kB / 1.097 GB, free: 7.219 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.4959, allocations: 39.42 kB / 1.098 GB, free: 7.18 MB / 0.8575 GB Notification: Performance of SimCode: time 7.41e-07/0.496, allocations: 0 / 1.098 GB, free: 7.18 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03548/0.5314, allocations: 3.632 MB / 1.101 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.65, allocations: 11.22 kB / 1.101 GB, free: 3.703 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches