Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.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.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTSup.yHea|conTSup.yOA|conTSup.yCoo|uEna.y|TSupSet.y|TSup.y",fileNamePrefix="Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature") translateModel(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTSup.yHea|conTSup.yOA|conTSup.yCoo|uEna.y|TSupSet.y|TSup.y",fileNamePrefix="Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001232/0.001232, allocations: 168.7 kB / 15.95 MB, free: 204 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.6/1.6, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.156/3.156, allocations: 462.6 MB / 0.736 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004159/0.000416, allocations: 9.203 kB / 0.9021 GB, free: 36.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.431/0.4315, allocations: 159.6 MB / 1.058 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature): time 0.003268/0.4348, allocations: 2.141 MB / 1.06 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002032/0.4369, allocations: 0.8728 MB / 1.061 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004363/0.4373, allocations: 11.94 kB / 1.061 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002436/0.4376, allocations: 39.58 kB / 1.061 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002277/0.4378, allocations: 39.64 kB / 1.061 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009167/0.4388, allocations: 221.5 kB / 1.061 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0007201/0.4395, allocations: 0.5049 MB / 1.062 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004468/0.44, allocations: 208.9 kB / 1.062 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002931/0.4403, allocations: 139.4 kB / 1.062 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002603/0.4405, allocations: 155 kB / 1.062 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.216e-05/0.4406, allocations: 16 kB / 1.062 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.4407, allocations: 27.98 kB / 1.062 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.018e-05/0.4408, allocations: 67.62 kB / 1.062 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.4409, allocations: 97.45 kB / 1.062 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006068/0.4415, allocations: 0.5651 MB / 1.063 GB, free: 160 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/0.4415, allocations: 0 / 1.063 GB, free: 160 kB / 0.8106 GB Notification: Performance of FrontEnd: time 1.893e-06/0.4415, allocations: 3.938 kB / 1.063 GB, free: 156 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.98e-05/0.4416, allocations: 0 / 1.063 GB, free: 156 kB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.00138/0.443, allocations: 0.6879 MB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.443, allocations: 12.03 kB / 1.064 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001371/0.4432, allocations: 51.44 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007193/0.4439, allocations: 379 kB / 1.064 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.909e-05/0.4439, allocations: 36.95 kB / 1.064 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.4441, allocations: 44 kB / 1.064 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.4451, allocations: 430.2 kB / 1.065 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/0.4451, allocations: 0 / 1.065 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.974e-05/0.4452, allocations: 23.98 kB / 1.065 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.4452, allocations: 8 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007914/0.446, allocations: 311.8 kB / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002763/0.4488, allocations: 1.444 MB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006767/0.4495, allocations: 257.7 kB / 1.067 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002635/0.4498, allocations: 120 kB / 1.067 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.719e-05/0.4498, allocations: 11.98 kB / 1.067 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004851/0.4503, allocations: 192.2 kB / 1.067 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=26): time 2.395e-06/0.4504, allocations: 0 / 1.067 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=26): time 0.0008264/0.4512, allocations: 354.2 kB / 1.067 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.524e-05/0.4513, allocations: 132.5 kB / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005489/0.4519, allocations: 413.5 kB / 1.068 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.28e-05/0.4519, allocations: 33.64 kB / 1.068 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001988/0.4521, allocations: 240.2 kB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.608e-05/0.4522, allocations: 78.81 kB / 1.068 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.472e-05/0.4522, allocations: 8 kB / 1.068 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.4524, allocations: 346.8 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002814/0.4527, allocations: 128.2 kB / 1.069 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000317/0.453, allocations: 196.5 kB / 1.069 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003149/0.4533, allocations: 157.9 kB / 1.069 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.4534, allocations: 4 kB / 1.069 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007869/0.4542, allocations: 420.5 kB / 1.069 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001407/0.4543, allocations: 160.6 kB / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.4543, allocations: 4 kB / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.4543, allocations: 0 / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002596/0.4546, allocations: 63.91 kB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.4546, allocations: 3.938 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003796/0.455, allocations: 91.42 kB / 1.07 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4e-05/0.4551, allocations: 19.98 kB / 1.07 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.4551, allocations: 4 kB / 1.07 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006246/0.4557, allocations: 362.7 kB / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.4557, allocations: 0 / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.325e-06/0.4557, allocations: 4 kB / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.456, allocations: 59.91 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.456, allocations: 7.938 kB / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003279/0.4563, allocations: 79.64 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.058e-05/0.4564, allocations: 19.98 kB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,$whenCondition3,$PRE.uEna.y,uEna.y,conTSup.con.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * 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.0002539/0.4566, allocations: 252.9 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.626e-05/0.4567, allocations: 35.53 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006119/0.4573, allocations: 301.1 kB / 1.071 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.4573, allocations: 4 kB / 1.071 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.4573, allocations: 0 / 1.071 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.4573, allocations: 0 / 1.071 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.4584, allocations: 0.7924 MB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.4584, allocations: 0 / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002154/0.4587, allocations: 47.92 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.298e-06/0.4587, allocations: 8.016 kB / 1.072 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.267e-05/0.4587, allocations: 8 kB / 1.072 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.4587, allocations: 0 / 1.072 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.4587, allocations: 0 / 1.072 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008424/0.4596, allocations: 0.4993 MB / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.4597, allocations: 120.6 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.012e-05/0.4598, allocations: 8 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.4599, allocations: 27.98 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.315e-05/0.46, allocations: 19.97 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/0.46, allocations: 12 kB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003388/0.4604, allocations: 287.2 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4604, allocations: 0 / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005604/0.461, allocations: 151.5 kB / 1.073 GB, free: 5.867 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conTSup.con.I.y) * Number of discrete variables: 4 ($whenCondition3,$whenCondition1,$whenCondition2,uEna.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002118/0.4612, allocations: 111.1 kB / 1.073 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001039/0.4622, allocations: 0.5803 MB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.4622, allocations: 0 / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002368/0.4625, allocations: 119.8 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005003/0.463, allocations: 69.95 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.4643, allocations: 0.7689 MB / 1.074 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004394/0.4648, allocations: 0.804 MB / 1.075 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002052/0.465, allocations: 51.27 kB / 1.075 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.15e-05/0.4651, allocations: 35.42 kB / 1.075 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of SimCode: time 4.91e-07/0.4651, allocations: 0 / 1.075 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of Templates: time 0.01017/0.4753, allocations: 4.402 MB / 1.079 GB, free: 14.94 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.makefile (rm -f Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; mkfifo Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe >> ../files/Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.sim & ./Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SupplyAirTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches