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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001516/0.001516, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002025/0.002025, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.445/1.445, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.922/2.922, allocations: 461.9 MB / 0.7342 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 68.12 kB / 0.8984 GB, free: 37.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4255/0.427, allocations: 157.4 MB / 1.052 GB, free: 8.898 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003881/0.4309, allocations: 1.879 MB / 1.054 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003232/0.4313, allocations: 123.6 kB / 1.054 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.4314, allocations: 0 / 1.054 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001319/0.4316, allocations: 15.86 kB / 1.054 GB, free: 6.867 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.4317, allocations: 47.61 kB / 1.054 GB, free: 6.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001595/0.4318, allocations: 27.97 kB / 1.054 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002332/0.4321, allocations: 163.1 kB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.4322, allocations: 25.11 kB / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.691e-05/0.4323, allocations: 55.78 kB / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.4325, allocations: 59.75 kB / 1.054 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.886e-05/0.4325, allocations: 4 kB / 1.054 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.284e-05/0.4325, allocations: 8 kB / 1.054 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.4326, allocations: 27.78 kB / 1.054 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.117e-05/0.4327, allocations: 55.73 kB / 1.055 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.4329, allocations: 123.8 kB / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4329, allocations: 4 kB / 1.055 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4329, allocations: 0 / 1.055 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.4329, allocations: 4 kB / 1.055 GB, free: 6.273 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.0009805/0.4339, allocations: 446.9 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.895e-05/0.434, allocations: 12.03 kB / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.794e-05/0.4341, allocations: 12.75 kB / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/0.4344, allocations: 204 kB / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.4344, allocations: 12.38 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.4344, allocations: 4.375 kB / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003104/0.4347, allocations: 123.8 kB / 1.055 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.4347, allocations: 192 / 1.055 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.4348, allocations: 3.938 kB / 1.055 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.4348, allocations: 0 / 1.055 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000313/0.4351, allocations: 99.92 kB / 1.056 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008267/0.4359, allocations: 476.5 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004061/0.4364, allocations: 133.2 kB / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/0.4365, allocations: 57.78 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.668e-05/0.4366, allocations: 0 / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.4366, allocations: 50.55 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.4366, allocations: 0 / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0006428/0.4373, allocations: 177.5 kB / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.4373, allocations: 81.05 kB / 1.056 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.4375, allocations: 170.9 kB / 1.057 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.4375, allocations: 25.7 kB / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.4377, allocations: 120 kB / 1.057 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.555e-05/0.4377, allocations: 31.55 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.289e-05/0.4378, allocations: 21.66 kB / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.438, allocations: 330.8 kB / 1.057 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.4381, allocations: 39.97 kB / 1.057 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.4383, allocations: 61.61 kB / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002764/0.4386, allocations: 101.7 kB / 1.057 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4386, allocations: 4 kB / 1.057 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003497/0.439, allocations: 145.4 kB / 1.057 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.439, allocations: 9.078 kB / 1.057 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.439, allocations: 4 kB / 1.057 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.4391, allocations: 0 / 1.057 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.4392, allocations: 23.98 kB / 1.057 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.4393, allocations: 3.938 kB / 1.057 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.4394, allocations: 15.98 kB / 1.058 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.4394, allocations: 4.312 kB / 1.058 GB, free: 3.066 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 0.000119/0.4395, allocations: 115.2 kB / 1.058 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.507e-05/0.4396, allocations: 15.81 kB / 1.058 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004463/0.44, allocations: 170.5 kB / 1.058 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.4401, allocations: 0 / 1.058 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.4401, allocations: 0 / 1.058 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.4401, allocations: 0 / 1.058 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003259/0.4404, allocations: 221.5 kB / 1.058 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4404, allocations: 0 / 1.058 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.4406, allocations: 23.98 kB / 1.058 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.4406, allocations: 4 kB / 1.058 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.4406, allocations: 4 kB / 1.058 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.4406, allocations: 0 / 1.058 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4406, allocations: 0 / 1.058 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004703/0.4411, allocations: 322.5 kB / 1.058 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.981e-05/0.4412, allocations: 85.02 kB / 1.058 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.897e-05/0.4412, allocations: 0 / 1.058 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.4414, allocations: 7.984 kB / 1.058 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.566e-05/0.4415, allocations: 19.86 kB / 1.058 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.4415, allocations: 7.938 kB / 1.058 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.977e-05/0.4416, allocations: 123.5 kB / 1.059 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4416, allocations: 0 / 1.059 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003/0.4419, allocations: 28 kB / 1.059 GB, free: 1.848 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.0001313/0.4421, allocations: 103.4 kB / 1.059 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003785/0.4425, allocations: 107.9 kB / 1.059 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.4425, allocations: 0 / 1.059 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001558/0.4426, allocations: 47.97 kB / 1.059 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006155/0.4432, allocations: 51.89 kB / 1.059 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005845/0.4438, allocations: 261.4 kB / 1.059 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.4442, allocations: 0.7009 MB / 1.06 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 9.133e-05/0.4443, allocations: 16.64 kB / 1.06 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.501e-05/0.4444, allocations: 11.44 kB / 1.06 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.4444, allocations: 0 / 1.06 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of Templates: time 0.005441/0.4498, allocations: 1.931 MB / 1.062 GB, free: 14.61 MB / 0.8262 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches