Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_10_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.009952/0.009952, allocations: 105.9 kB / 15.73 MB, free: 6 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.002091/0.002091, allocations: 189 kB / 16.67 MB, free: 5.926 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.491/1.491, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.736/2.736, allocations: 437.1 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 63.91 kB / 1.018 GB, free: 9.941 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.064/1.066, allocations: 151.6 MB / 1.166 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002644/1.069, allocations: 1.813 MB / 1.168 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002558/1.069, allocations: 127.6 kB / 1.168 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.072e-05/1.069, allocations: 4 kB / 1.168 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001008/1.069, allocations: 19.78 kB / 1.168 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.112e-05/1.069, allocations: 39.58 kB / 1.168 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001342/1.069, allocations: 43.94 kB / 1.168 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001971/1.069, allocations: 175.1 kB / 1.168 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/1.07, allocations: 17.11 kB / 1.168 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.517e-05/1.07, allocations: 55.84 kB / 1.168 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/1.07, allocations: 67.69 kB / 1.168 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.78e-05/1.07, allocations: 12 kB / 1.168 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.726e-05/1.07, allocations: 12 kB / 1.168 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.054e-05/1.07, allocations: 23.92 kB / 1.168 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.373e-05/1.07, allocations: 67.66 kB / 1.169 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001525/1.07, allocations: 129.7 kB / 1.169 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/1.07, allocations: 0 / 1.169 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.613e-06/1.07, allocations: 0 / 1.169 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.237e-06/1.07, allocations: 0 / 1.169 GB, free: 1.156 MB / 0.8887 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.0007523/1.071, allocations: 454.8 kB / 1.169 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/1.071, allocations: 12.62 kB / 1.169 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.927e-05/1.071, allocations: 38.73 kB / 1.169 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.355e-05/1.071, allocations: 12.84 kB / 1.169 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002342/1.071, allocations: 204 kB / 1.169 GB, free: 360 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/1.071, allocations: 8.375 kB / 1.169 GB, free: 352 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/1.071, allocations: 8.312 kB / 1.169 GB, free: 344 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000258/1.072, allocations: 123.9 kB / 1.169 GB, free: 208 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/1.072, allocations: 3.938 kB / 1.169 GB, free: 204 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/1.072, allocations: 0 / 1.169 GB, free: 204 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/1.072, allocations: 0 / 1.169 GB, free: 204 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002752/1.072, allocations: 95.88 kB / 1.17 GB, free: 108 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000696/1.073, allocations: 472.7 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003528/1.073, allocations: 129.2 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/1.073, allocations: 65.78 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/1.073, allocations: 0 / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/1.073, allocations: 42.55 kB / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 9.92e-07/1.073, allocations: 0 / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.0005456/1.074, allocations: 185.5 kB / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/1.074, allocations: 81.05 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/1.074, allocations: 170.4 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/1.074, allocations: 29.64 kB / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.348e-05/1.074, allocations: 108.1 kB / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/1.074, allocations: 27.55 kB / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.032e-05/1.074, allocations: 21.72 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001053/1.074, allocations: 338.8 kB / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/1.074, allocations: 39.97 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/1.075, allocations: 57.62 kB / 1.171 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000268/1.075, allocations: 105.6 kB / 1.171 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.075, allocations: 0 / 1.171 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003129/1.075, allocations: 141.5 kB / 1.171 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/1.075, allocations: 11.98 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/1.075, allocations: 3.984 kB / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/1.075, allocations: 0 / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/1.075, allocations: 27.92 kB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/1.075, allocations: 0 / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/1.076, allocations: 28.14 kB / 1.172 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/1.076, allocations: 4 kB / 1.172 GB, free: 13.89 MB / 0.9044 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 8.328e-05/1.076, allocations: 113.8 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.86e-05/1.076, allocations: 11.91 kB / 1.172 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004008/1.076, allocations: 170.5 kB / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/1.076, allocations: 0 / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/1.076, allocations: 0 / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/1.076, allocations: 3.938 kB / 1.172 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002686/1.076, allocations: 221.6 kB / 1.172 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/1.076, allocations: 0 / 1.172 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/1.077, allocations: 19.98 kB / 1.172 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/1.077, allocations: 0 / 1.172 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/1.077, allocations: 8 kB / 1.172 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/1.077, allocations: 3.938 kB / 1.172 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/1.077, allocations: 0 / 1.172 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003717/1.077, allocations: 318.7 kB / 1.172 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.88e-05/1.077, allocations: 88.92 kB / 1.172 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/1.077, allocations: 96 / 1.172 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/1.077, allocations: 11.92 kB / 1.172 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.424e-05/1.077, allocations: 19.92 kB / 1.173 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/1.077, allocations: 4 kB / 1.173 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.881e-05/1.077, allocations: 124.2 kB / 1.173 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.71e-07/1.077, allocations: 0 / 1.173 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002856/1.078, allocations: 31.94 kB / 1.173 GB, free: 12.66 MB / 0.9044 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.0006426/1.078, allocations: 0.8405 MB / 1.173 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003353/1.079, allocations: 99.88 kB / 1.174 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/1.079, allocations: 0 / 1.174 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001479/1.079, allocations: 59.84 kB / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004268/1.079, allocations: 50.14 kB / 1.174 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002101/1.081, allocations: 1.827 MB / 1.175 GB, free: 9.676 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/1.082, allocations: 0.7045 MB / 1.176 GB, free: 8.945 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.547e-05/1.082, allocations: 12.78 kB / 1.176 GB, free: 8.934 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.972e-05/1.082, allocations: 35.42 kB / 1.176 GB, free: 8.898 MB / 0.9044 GB Notification: Performance of SimCode: time 3.41e-07/1.082, allocations: 4 kB / 1.176 GB, free: 8.895 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02031/1.102, allocations: 3.635 MB / 1.18 GB, free: 5.441 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.786/8.888, allocations: 6.906 kB / 1.18 GB, free: 5.438 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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