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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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: translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.00125, allocations: 119.8 kB / 16.37 MB, free: 6.016 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.001246/0.001246, allocations: 193 kB / 17.31 MB, free: 5.613 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.433/1.433, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.671/2.671, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 64.89 kB / 0.8773 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4025/0.4039, allocations: 153 MB / 1.027 GB, free: 2.086 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003555/0.4075, allocations: 1.836 MB / 1.029 GB, free: 248 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000317/0.4079, allocations: 115.6 kB / 1.029 GB, free: 132 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.681e-05/0.408, allocations: 8 kB / 1.029 GB, free: 124 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001325/0.4081, allocations: 15.8 kB / 1.029 GB, free: 108 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.254e-05/0.4082, allocations: 43.56 kB / 1.029 GB, free: 64 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001547/0.4084, allocations: 31.95 kB / 1.029 GB, free: 32 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000262/0.4087, allocations: 179 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.4088, allocations: 25.11 kB / 1.029 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.102e-05/0.4089, allocations: 51.86 kB / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.4091, allocations: 67.69 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.309e-05/0.4091, allocations: 12 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.649e-05/0.4091, allocations: 8 kB / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.142e-05/0.4092, allocations: 27.91 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.331e-05/0.4093, allocations: 67.66 kB / 1.029 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.4095, allocations: 119.5 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.4095, allocations: 8 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.194e-06/0.4095, allocations: 0 / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.4095, allocations: 0 / 1.029 GB, free: 15.47 MB / 0.8106 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.0008633/0.4104, allocations: 451.9 kB / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.4104, allocations: 15.97 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.656e-05/0.4105, allocations: 16.75 kB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/0.4108, allocations: 204 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.4108, allocations: 4.375 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.4108, allocations: 4.375 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002795/0.4111, allocations: 127.2 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.4111, allocations: 192 / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.4111, allocations: 3.938 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.4111, allocations: 8 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002754/0.4114, allocations: 87.94 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007473/0.4122, allocations: 480.5 kB / 1.031 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003961/0.4126, allocations: 133.2 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/0.4128, allocations: 57.78 kB / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.261e-05/0.4128, allocations: 4 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.4129, allocations: 42.55 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.4129, allocations: 0 / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0005777/0.4134, allocations: 181.4 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.4135, allocations: 77.11 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.4137, allocations: 175.4 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.4137, allocations: 29.7 kB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.482e-05/0.4138, allocations: 112 kB / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.4138, allocations: 31.62 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.121e-05/0.4139, allocations: 17.72 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.414, allocations: 330.8 kB / 1.032 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.4142, allocations: 43.91 kB / 1.032 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.4143, allocations: 61.67 kB / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002687/0.4146, allocations: 101.9 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.4146, allocations: 4 kB / 1.032 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003251/0.415, allocations: 149.4 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.415, allocations: 4 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.423e-06/0.415, allocations: 3.984 kB / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.415, allocations: 0 / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.4152, allocations: 23.98 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.4152, allocations: 0 / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.4153, allocations: 15.98 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.4153, allocations: 7.875 kB / 1.032 GB, free: 12.27 MB / 0.8106 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.989e-05/0.4154, allocations: 125.7 kB / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.09e-05/0.4155, allocations: 15.81 kB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004226/0.4159, allocations: 162.5 kB / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.4159, allocations: 0 / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.4159, allocations: 0 / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.416, allocations: 4 kB / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002988/0.4163, allocations: 221.5 kB / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.4163, allocations: 4 kB / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/0.4164, allocations: 19.98 kB / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.259e-06/0.4164, allocations: 4 kB / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.4164, allocations: 4 kB / 1.033 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.4164, allocations: 0 / 1.033 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4165, allocations: 0 / 1.033 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004185/0.4169, allocations: 326.6 kB / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.709e-05/0.4169, allocations: 85.02 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.417, allocations: 192 / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.4172, allocations: 15.98 kB / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.939e-05/0.4172, allocations: 11.98 kB / 1.033 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.4172, allocations: 7.875 kB / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001/0.4173, allocations: 123.2 kB / 1.033 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.51e-07/0.4173, allocations: 4 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000289/0.4176, allocations: 31.91 kB / 1.033 GB, free: 11.02 MB / 0.8106 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.0001118/0.4178, allocations: 95.25 kB / 1.033 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003702/0.4181, allocations: 111.9 kB / 1.033 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.4181, allocations: 0 / 1.033 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001562/0.4183, allocations: 55.97 kB / 1.033 GB, free: 10.76 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004363/0.4188, allocations: 44.2 kB / 1.034 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005244/0.4193, allocations: 223.7 kB / 1.034 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.4196, allocations: 0.7045 MB / 1.034 GB, free: 9.738 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.964e-05/0.4197, allocations: 12.75 kB / 1.034 GB, free: 9.727 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.916e-05/0.4197, allocations: 23.36 kB / 1.034 GB, free: 9.703 MB / 0.8106 GB Notification: Performance of SimCode: time 3.71e-07/0.4197, allocations: 0 / 1.034 GB, free: 9.703 MB / 0.8106 GB Notification: Performance of Templates: time 0.005302/0.425, allocations: 2.092 MB / 1.037 GB, free: 7.656 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (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 & ./Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/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) Reference file matches