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.008884/0.008885, allocations: 103.5 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.001576/0.001576, allocations: 201.8 kB / 16.68 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 4.184 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 2.582/2.582, allocations: 390.3 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002594/0.002594, allocations: 69.97 kB / 0.9504 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3935/0.3961, allocations: 140.4 MB / 1.087 GB, free: 2.168 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003733/0.3999, allocations: 1.826 MB / 1.089 GB, free: 336 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000441/0.4004, allocations: 119.6 kB / 1.089 GB, free: 216 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001585/0.4006, allocations: 0 / 1.089 GB, free: 216 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001626/0.4008, allocations: 23.8 kB / 1.089 GB, free: 192 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001483/0.401, allocations: 47.55 kB / 1.089 GB, free: 144 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001799/0.4012, allocations: 35.95 kB / 1.089 GB, free: 108 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003277/0.4015, allocations: 171.2 kB / 1.09 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.4017, allocations: 29.09 kB / 1.09 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.4018, allocations: 59.67 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.4019, allocations: 67.75 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.538e-05/0.402, allocations: 12 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.795e-05/0.402, allocations: 8 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.498e-05/0.4021, allocations: 23.91 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.975e-05/0.4021, allocations: 63.67 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002178/0.4024, allocations: 127.2 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.4024, allocations: 4 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4024, allocations: 4 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.4024, allocations: 0 / 1.09 GB, free: 15.55 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.000871/0.4033, allocations: 446.8 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.83e-05/0.4033, allocations: 12.03 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.794e-05/0.4034, allocations: 38.69 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.09e-05/0.4035, allocations: 12.84 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002986/0.4038, allocations: 204.1 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.4038, allocations: 8.375 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.4038, allocations: 4.375 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003123/0.4041, allocations: 123.8 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.4041, allocations: 7.938 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.4042, allocations: 0 / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.4042, allocations: 4 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003039/0.4045, allocations: 99.86 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008183/0.4053, allocations: 472.6 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003914/0.4057, allocations: 141.1 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/0.4059, allocations: 61.78 kB / 1.092 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.537e-05/0.4059, allocations: 0 / 1.092 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.406, allocations: 38.56 kB / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.406, allocations: 0 / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.000611/0.4066, allocations: 177.5 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.4067, allocations: 81.09 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.4068, allocations: 167.4 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.149e-05/0.4069, allocations: 29.7 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.643e-05/0.4069, allocations: 112 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.407, allocations: 31.55 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.478e-05/0.407, allocations: 21.72 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.4072, allocations: 330.8 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.4073, allocations: 35.97 kB / 1.093 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.4075, allocations: 65.62 kB / 1.093 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002857/0.4078, allocations: 105.9 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4078, allocations: 0 / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003544/0.4081, allocations: 145.4 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.4082, allocations: 12 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.4082, allocations: 0 / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.4082, allocations: 0 / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.4084, allocations: 19.98 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.4084, allocations: 4 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.4085, allocations: 15.92 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.4085, allocations: 4 kB / 1.093 GB, free: 12.3 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 9.681e-05/0.4086, allocations: 117.8 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.844e-05/0.4087, allocations: 27.8 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004347/0.4091, allocations: 150.5 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.4091, allocations: 4 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.4092, allocations: 0 / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.4092, allocations: 3.938 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003038/0.4095, allocations: 225.6 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4095, allocations: 4 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/0.4096, allocations: 24.17 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.4096, allocations: 4.188 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.4097, allocations: 4 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.4097, allocations: 7.875 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4097, allocations: 0 / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004326/0.4101, allocations: 318.5 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.398e-05/0.4102, allocations: 92.91 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.4102, allocations: 0 / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.4104, allocations: 11.98 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.825e-05/0.4105, allocations: 7.938 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.956e-06/0.4105, allocations: 4 kB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001094/0.4106, allocations: 131.2 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4106, allocations: 4 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003123/0.4109, allocations: 28 kB / 1.094 GB, free: 11.06 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.0007044/0.4116, allocations: 0.8366 MB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003816/0.412, allocations: 107.9 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.412, allocations: 0 / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001705/0.4122, allocations: 51.97 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004763/0.4127, allocations: 56.7 kB / 1.095 GB, free: 9.984 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002488/0.4152, allocations: 1.817 MB / 1.097 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.4155, allocations: 0.7044 MB / 1.097 GB, free: 7.348 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001056/0.4156, allocations: 16.64 kB / 1.097 GB, free: 7.332 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.086e-05/0.4157, allocations: 35.42 kB / 1.098 GB, free: 7.297 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.4157, allocations: 3.938 kB / 1.098 GB, free: 7.293 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02407/0.4398, allocations: 3.69 MB / 1.101 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.983/8.423, allocations: 23.72 kB / 1.101 GB, free: 3.754 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) "" Variables in the reference:time,heaCur.TSup,heaCur.TRet,heaCur.TOut,heaCur1.TRoo_in,heaCur1.TSup,heaCur1.TRet Variables in the result:TOut.duration,TOut.height,TOut.offset,TOut.startTime,TOut.y,TOut2.k,TOut2.y,TRoo.height,TRoo.offset,TRoo.startTime,TRoo.y,heaCur.TOut,heaCur.TOut_nominal,heaCur.TRet,heaCur.TRet_nominal,heaCur.TRoo,heaCur.TRoo_nominal,heaCur.TSup,heaCur.TSup_nominal,heaCur.dTOutHeaBal,heaCur.m,heaCur.use_TRoo_in,heaCur1.TOut,heaCur1.TOut_nominal,heaCur1.TRet,heaCur1.TRet_nominal,heaCur1.TRoo,heaCur1.TRoo_in,heaCur1.TRoo_nominal,heaCur1.TSup,heaCur1.TSup_nominal,heaCur1.dTOutHeaBal,heaCur1.m,heaCur1.use_TRoo_in,time