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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: 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_10_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_10_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.001113/0.001113, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 182.8 kB / 16.92 MB, free: 6.922 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.446/1.446, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.868/2.868, allocations: 437.8 MB / 0.7128 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004341/0.0004342, allocations: 8 kB / 0.8735 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8404/0.8408, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002529/0.8434, allocations: 1.53 MB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0003651/0.8438, allocations: 123.6 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.8439, allocations: 0 / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001152/0.8441, allocations: 11.92 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001486/0.8442, allocations: 51.55 kB / 1.025 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000158/0.8444, allocations: 27.97 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002769/0.8447, allocations: 159.2 kB / 1.026 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.8448, allocations: 21.12 kB / 1.026 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.845, allocations: 55.72 kB / 1.026 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.8451, allocations: 67.73 kB / 1.026 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.97e-05/0.8451, allocations: 7.938 kB / 1.026 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.726e-05/0.8452, allocations: 4 kB / 1.026 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.534e-05/0.8452, allocations: 19.92 kB / 1.026 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.33e-05/0.8453, allocations: 77.38 kB / 1.026 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001442/0.8455, allocations: 89.75 kB / 1.026 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.8455, allocations: 0 / 1.026 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.605e-06/0.8455, allocations: 0 / 1.026 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.8455, allocations: 0 / 1.026 GB, free: 13.61 MB / 0.7794 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.0008599/0.8464, allocations: 443 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.8464, allocations: 11.98 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.306e-05/0.8465, allocations: 16.75 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000273/0.8468, allocations: 213.3 kB / 1.027 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.8468, allocations: 8.375 kB / 1.027 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.8468, allocations: 8.375 kB / 1.027 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003823/0.8472, allocations: 122.2 kB / 1.027 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/0.8472, allocations: 192 / 1.027 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.8473, allocations: 7.938 kB / 1.027 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.8473, allocations: 8 kB / 1.027 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003991/0.8477, allocations: 115.8 kB / 1.027 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008662/0.8486, allocations: 472.7 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000446/0.849, allocations: 137.2 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000207/0.8493, allocations: 65.78 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.052e-05/0.8493, allocations: 3.984 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.8493, allocations: 38.5 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.8493, allocations: 0 / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0007168/0.8501, allocations: 201.4 kB / 1.028 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.8501, allocations: 85.05 kB / 1.028 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.8503, allocations: 174.4 kB / 1.028 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.8504, allocations: 25.7 kB / 1.028 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.832e-05/0.8504, allocations: 108.1 kB / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.535e-05/0.8505, allocations: 31.56 kB / 1.028 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.952e-05/0.8505, allocations: 17.72 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.8507, allocations: 330.8 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/0.8509, allocations: 47.95 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001915/0.8511, allocations: 65.69 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003709/0.8514, allocations: 126 kB / 1.029 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.8515, allocations: 0 / 1.029 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003927/0.8519, allocations: 153.5 kB / 1.029 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.8519, allocations: 15.98 kB / 1.029 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.8519, allocations: 0 / 1.029 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.8519, allocations: 0 / 1.029 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.8521, allocations: 27.92 kB / 1.029 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.8521, allocations: 0 / 1.029 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.8522, allocations: 27.83 kB / 1.029 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.8522, allocations: 7.938 kB / 1.029 GB, free: 10.29 MB / 0.7794 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.318e-05/0.8523, allocations: 117.8 kB / 1.029 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.869e-05/0.8524, allocations: 11.81 kB / 1.029 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000439/0.8528, allocations: 174.5 kB / 1.029 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.8529, allocations: 4 kB / 1.029 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.8529, allocations: 0 / 1.029 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.8529, allocations: 0 / 1.029 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002973/0.8532, allocations: 221.5 kB / 1.029 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.8532, allocations: 0 / 1.029 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001466/0.8533, allocations: 23.98 kB / 1.029 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.8534, allocations: 11.88 kB / 1.029 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.8534, allocations: 4.188 kB / 1.029 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.8534, allocations: 8 kB / 1.029 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.8534, allocations: 0 / 1.029 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004679/0.8539, allocations: 334.5 kB / 1.03 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.135e-05/0.8539, allocations: 89.02 kB / 1.03 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.854, allocations: 0 / 1.03 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.8541, allocations: 11.98 kB / 1.03 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.622e-05/0.8542, allocations: 11.98 kB / 1.03 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-06/0.8542, allocations: 11.94 kB / 1.03 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000101/0.8543, allocations: 121.8 kB / 1.03 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8543, allocations: 0 / 1.03 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002892/0.8546, allocations: 35.94 kB / 1.03 GB, free: 9.027 MB / 0.7794 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.0001083/0.8547, allocations: 99.23 kB / 1.03 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004124/0.8551, allocations: 124.1 kB / 1.03 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.8552, allocations: 0 / 1.03 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001743/0.8553, allocations: 59.91 kB / 1.03 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004819/0.8558, allocations: 52.06 kB / 1.03 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005483/0.8564, allocations: 293.8 kB / 1.031 GB, free: 8.367 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.8567, allocations: 0.7009 MB / 1.031 GB, free: 7.641 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.512e-05/0.8568, allocations: 19.42 kB / 1.031 GB, free: 7.625 MB / 0.7794 GB Notification: Performance of SimCode: time 6.51e-07/0.8568, allocations: 4 kB / 1.031 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of Templates: time 0.003523/0.8603, allocations: 1.726 MB / 1.033 GB, free: 5.918 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (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 & ./Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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) Reference file matches