Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vavBoxCon.TRooHeaSet|vavBoxCon.TRooCooSet|vavBoxCon.TRoo|vavBoxCon.conHea.y|vavBoxCon.conCoo.y|vavBoxCon.yDam|vavBoxCon.yVal",fileNamePrefix="Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV") translateModel(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vavBoxCon.TRooHeaSet|vavBoxCon.TRooCooSet|vavBoxCon.TRoo|vavBoxCon.conHea.y|vavBoxCon.conCoo.y|vavBoxCon.yDam|vavBoxCon.yVal",fileNamePrefix="Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.441/2.441, allocations: 393.5 MB / 408.4 MB, free: 10.98 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 179 kB / 0.4902 GB, free: 2.242 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.772/1.772, allocations: 223.1 MB / 0.7992 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 101.9 kB / 0.9396 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000509/0.0005096, allocations: 6.969 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4668/0.4674, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2542/0.7216, allocations: 154.7 MB / 1.38 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003855/0.7221, allocations: 95.86 kB / 1.38 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.0256/0.7478, allocations: 8.772 MB / 1.389 GB, free: 5.996 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.277e-06/0.7479, allocations: 0 / 1.389 GB, free: 5.996 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.548e-05/0.748, allocations: 12 kB / 1.389 GB, free: 5.984 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.002378/0.7504, allocations: 0.8468 MB / 1.39 GB, free: 5.09 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.843e-05/0.7505, allocations: 8.562 kB / 1.39 GB, free: 5.082 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000367/0.7509, allocations: 75.09 kB / 1.39 GB, free: 5.008 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.7519, allocations: 432.8 kB / 1.39 GB, free: 4.543 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.424e-05/0.752, allocations: 45.31 kB / 1.39 GB, free: 4.496 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/0.7522, allocations: 52 kB / 1.39 GB, free: 4.445 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/0.7535, allocations: 0.5576 MB / 1.391 GB, free: 3.875 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.7535, allocations: 0 / 1.391 GB, free: 3.875 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.425e-05/0.7536, allocations: 24 kB / 1.391 GB, free: 3.852 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.714e-05/0.7536, allocations: 12 kB / 1.391 GB, free: 3.84 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/0.7548, allocations: 455.7 kB / 1.391 GB, free: 3.391 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003472/0.7583, allocations: 1.753 MB / 1.393 GB, free: 1.574 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001653/0.76, allocations: 0.571 MB / 1.394 GB, free: 0.9961 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.417e-05/0.76, allocations: 4 kB / 1.394 GB, free: 0.9922 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000667/0.7607, allocations: 293.8 kB / 1.394 GB, free: 0.6836 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=37): time 2.535e-06/0.7607, allocations: 0 / 1.394 GB, free: 0.6836 MB / 0.8855 GB Notification: Performance of matching and sorting (n=37): time 0.001471/0.7622, allocations: 0.5716 MB / 1.394 GB, free: 108 kB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001406/0.7623, allocations: 158.2 kB / 1.395 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006914/0.763, allocations: 457.4 kB / 1.395 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 6.23e-05/0.7631, allocations: 37.7 kB / 1.395 GB, free: 15.42 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002671/0.7634, allocations: 280.4 kB / 1.395 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001305/0.7635, allocations: 126.2 kB / 1.395 GB, free: 15.01 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.906e-05/0.7636, allocations: 4 kB / 1.395 GB, free: 15.01 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001972/0.7638, allocations: 362.8 kB / 1.396 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004264/0.7642, allocations: 163.9 kB / 1.396 GB, free: 14.48 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004698/0.7647, allocations: 240.8 kB / 1.396 GB, free: 14.21 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000426/0.7651, allocations: 177.5 kB / 1.396 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.7651, allocations: 0 / 1.396 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001001/0.7661, allocations: 467.3 kB / 1.397 GB, free: 13.58 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.000202/0.7664, allocations: 368 kB / 1.397 GB, free: 13.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.7664, allocations: 0 / 1.397 GB, free: 13.2 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.788e-05/0.7664, allocations: 4 kB / 1.397 GB, free: 13.19 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003818/0.7668, allocations: 95.81 kB / 1.397 GB, free: 13.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.61e-05/0.7668, allocations: 7.938 kB / 1.397 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004036/0.7672, allocations: 87.48 kB / 1.397 GB, free: 13 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.571e-05/0.7673, allocations: 12 kB / 1.397 GB, free: 12.99 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.7673, allocations: 4 kB / 1.397 GB, free: 12.99 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006739/0.768, allocations: 323.8 kB / 1.398 GB, free: 12.67 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.768, allocations: 3.953 kB / 1.398 GB, free: 12.67 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.673e-06/0.768, allocations: 4 kB / 1.398 GB, free: 12.66 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002888/0.7683, allocations: 75.89 kB / 1.398 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.7683, allocations: 96 / 1.398 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000333/0.7687, allocations: 75.59 kB / 1.398 GB, free: 12.52 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.7687, allocations: 11.94 kB / 1.398 GB, free: 12.5 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,$PRE.vavBoxCon.hysWitHol.y,vavBoxCon.hysWitHol.y,vavBoxCon.assMes.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0003552/0.7691, allocations: 269.1 kB / 1.398 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.701e-05/0.7692, allocations: 55.33 kB / 1.398 GB, free: 12.18 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009665/0.7701, allocations: 450 kB / 1.399 GB, free: 11.73 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.7701, allocations: 4 kB / 1.399 GB, free: 11.72 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.7702, allocations: 0 / 1.399 GB, free: 11.72 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.7702, allocations: 7.984 kB / 1.399 GB, free: 11.71 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001681/0.7719, allocations: 1.142 MB / 1.4 GB, free: 10.51 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.7719, allocations: 3.953 kB / 1.4 GB, free: 10.51 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003568/0.7722, allocations: 83.92 kB / 1.4 GB, free: 10.43 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.7723, allocations: 4 kB / 1.4 GB, free: 10.42 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.818e-05/0.7723, allocations: 4 kB / 1.4 GB, free: 10.42 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.7723, allocations: 8.047 kB / 1.4 GB, free: 10.41 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.7723, allocations: 4 kB / 1.4 GB, free: 10.41 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/0.7737, allocations: 0.7467 MB / 1.401 GB, free: 9.633 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.7738, allocations: 144.3 kB / 1.401 GB, free: 9.473 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.889e-05/0.7739, allocations: 8 kB / 1.401 GB, free: 9.465 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003006/0.7742, allocations: 56.02 kB / 1.401 GB, free: 9.41 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.699e-05/0.7743, allocations: 27.95 kB / 1.401 GB, free: 9.383 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/0.7743, allocations: 8 kB / 1.401 GB, free: 9.375 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0004503/0.7748, allocations: 366.9 kB / 1.401 GB, free: 9.02 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7748, allocations: 0 / 1.401 GB, free: 9.02 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0007553/0.7755, allocations: 167.4 kB / 1.401 GB, free: 8.855 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vavBoxCon.conHea.I.y,vavBoxCon.conCoo.I.y) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,vavBoxCon.hysWitHol.y,vavBoxCon.assMes.u) * Number of discrete states: 1 (vavBoxCon.hysWitHol.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.0002175/0.7758, allocations: 123.2 kB / 1.401 GB, free: 8.727 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001215/0.777, allocations: 0.5632 MB / 1.402 GB, free: 8.164 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 5.912e-06/0.777, allocations: 0 / 1.402 GB, free: 8.164 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0004123/0.7774, allocations: 211.8 kB / 1.402 GB, free: 7.957 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005612/0.778, allocations: 107.9 kB / 1.402 GB, free: 7.855 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.7797, allocations: 1.052 MB / 1.403 GB, free: 6.766 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004714/0.7802, allocations: 0.8705 MB / 1.404 GB, free: 5.867 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002367/0.7804, allocations: 56.25 kB / 1.404 GB, free: 5.809 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.7805, allocations: 43.42 kB / 1.404 GB, free: 5.766 MB / 0.9011 GB Notification: Performance of SimCode: time 2.41e-07/0.7805, allocations: 0 / 1.404 GB, free: 5.766 MB / 0.9011 GB Notification: Performance of Templates: time 0.0101/0.7907, allocations: 4.774 MB / 1.409 GB, free: 1.039 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.makefile (rm -f Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.sim & ./Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_RoomVAV.csv","../files/Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches