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.0009384/0.0009385, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001114/0.001115, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.807/2.807, allocations: 436.5 MB / 0.7104 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003816/0.0003816, allocations: 11.94 kB / 0.8708 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8441/0.8445, allocations: 153.6 MB / 1.021 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002337/0.8469, allocations: 1.453 MB / 1.022 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0004155/0.8474, allocations: 123.7 kB / 1.022 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001539/0.8476, allocations: 3.938 kB / 1.022 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.993e-05/0.8476, allocations: 11.92 kB / 1.022 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002377/0.8479, allocations: 59.86 kB / 1.022 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001716/0.8481, allocations: 23.97 kB / 1.022 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002466/0.8483, allocations: 123.7 kB / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.8485, allocations: 21.09 kB / 1.023 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.8486, allocations: 47.86 kB / 1.023 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.8487, allocations: 63.75 kB / 1.023 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.444e-05/0.8487, allocations: 4 kB / 1.023 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.564e-05/0.8488, allocations: 4 kB / 1.023 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.644e-05/0.8488, allocations: 19.91 kB / 1.023 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.942e-05/0.8489, allocations: 49.64 kB / 1.023 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.849, allocations: 73.91 kB / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.849, allocations: 4 kB / 1.023 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.335e-06/0.849, allocations: 3.938 kB / 1.023 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.849, allocations: 0 / 1.023 GB, free: 15.19 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.0008178/0.8498, allocations: 446.8 kB / 1.023 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.8499, allocations: 12.03 kB / 1.023 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.784e-05/0.85, allocations: 11.81 kB / 1.023 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.8502, allocations: 198.8 kB / 1.023 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.8503, allocations: 15.94 kB / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.8503, allocations: 4 kB / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003058/0.8506, allocations: 123.3 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.8506, allocations: 0 / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.8506, allocations: 7.938 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.8506, allocations: 8 kB / 1.024 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003288/0.851, allocations: 103.9 kB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008138/0.8518, allocations: 484.7 kB / 1.024 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003855/0.8522, allocations: 137.3 kB / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.11e-05/0.8522, allocations: 0 / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.8523, allocations: 34.56 kB / 1.024 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.8523, allocations: 0 / 1.024 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0006212/0.8529, allocations: 209.4 kB / 1.025 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/0.853, allocations: 81.11 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.8532, allocations: 170.8 kB / 1.025 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.8532, allocations: 29.7 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.537e-05/0.8533, allocations: 104.2 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/0.8533, allocations: 31.55 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.328e-06/0.8534, allocations: 4 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.8535, allocations: 326.8 kB / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.8537, allocations: 51.97 kB / 1.025 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/0.8539, allocations: 61.69 kB / 1.025 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.854, allocations: 55.97 kB / 1.025 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.854, allocations: 0 / 1.025 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004019/0.8544, allocations: 157.5 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.8545, allocations: 8 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.8545, allocations: 0 / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.8545, allocations: 0 / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.8547, allocations: 23.98 kB / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/0.8547, allocations: 8.172 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001405/0.8548, allocations: 19.84 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.8549, allocations: 11.94 kB / 1.026 GB, free: 12.06 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001361/0.855, allocations: 125.7 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.973e-05/0.8551, allocations: 7.906 kB / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005033/0.8556, allocations: 174.5 kB / 1.026 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.8556, allocations: 4 kB / 1.026 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.8556, allocations: 0 / 1.026 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.8556, allocations: 0.6719 kB / 1.026 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003652/0.856, allocations: 229.6 kB / 1.026 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/0.856, allocations: 0 / 1.026 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001497/0.8562, allocations: 35.92 kB / 1.026 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.8562, allocations: 3.984 kB / 1.026 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.8562, allocations: 4 kB / 1.026 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.8562, allocations: 4 kB / 1.026 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.8562, allocations: 0 / 1.026 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000503/0.8567, allocations: 336.3 kB / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.74e-05/0.8568, allocations: 92.91 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/0.8569, allocations: 0 / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.8571, allocations: 15.98 kB / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.221e-05/0.8571, allocations: 11.98 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.8572, allocations: 4 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000123/0.8573, allocations: 125.2 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of sort global known variables: time 4.01e-07/0.8573, allocations: 0 / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003157/0.8576, allocations: 24 kB / 1.027 GB, free: 10.78 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001575/0.8578, allocations: 107.1 kB / 1.027 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003893/0.8582, allocations: 119.9 kB / 1.027 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.8582, allocations: 0 / 1.027 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001767/0.8584, allocations: 67.95 kB / 1.027 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004062/0.8588, allocations: 36.53 kB / 1.027 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005792/0.8594, allocations: 260.1 kB / 1.027 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/0.8598, allocations: 0.7126 MB / 1.028 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001017/0.8599, allocations: 8.656 kB / 1.028 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.583e-05/0.86, allocations: 19.42 kB / 1.028 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.86, allocations: 0 / 1.028 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of Templates: time 0.005387/0.8654, allocations: 1.827 MB / 1.03 GB, free: 7.613 MB / 0.7794 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","../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches