Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.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_9_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_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001404/0.001404, 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.001823/0.001823, allocations: 173 kB / 16.92 MB, free: 6.652 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.565/1.565, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.678/2.678, allocations: 390.9 MB / 0.667 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004159/0.0004158, allocations: 15.94 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9538/0.9542, allocations: 142.4 MB / 0.9557 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV): time 0.00336/0.9577, allocations: 2.843 MB / 0.9585 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00173/0.9594, allocations: 0.7958 MB / 0.9593 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003794/0.9598, allocations: 13.53 kB / 0.9593 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000254/0.9601, allocations: 72.91 kB / 0.9593 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001933/0.9603, allocations: 57.52 kB / 0.9594 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004693/0.9608, allocations: 230.9 kB / 0.9596 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005989/0.9614, allocations: 0.6561 MB / 0.9603 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005605/0.962, allocations: 393.7 kB / 0.9606 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002352/0.9622, allocations: 161.9 kB / 0.9608 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002132/0.9624, allocations: 189.3 kB / 0.961 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.86e-05/0.9625, allocations: 15.41 kB / 0.961 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.673e-05/0.9625, allocations: 15.72 kB / 0.961 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.166e-05/0.9626, allocations: 93.11 kB / 0.9611 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001874/0.9628, allocations: 251.8 kB / 0.9613 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005382/0.9634, allocations: 0.7421 MB / 0.9621 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.9634, allocations: 0 / 0.9621 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.395e-06/0.9634, allocations: 1.375 kB / 0.9621 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.9634, allocations: 0 / 0.9621 GB, free: 2.723 MB / 0.7169 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.001434/0.9649, allocations: 0.8391 MB / 0.9629 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.9649, allocations: 9.438 kB / 0.9629 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.965, allocations: 70.38 kB / 0.963 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005626/0.9656, allocations: 469.7 kB / 0.9634 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.859e-05/0.9657, allocations: 38.78 kB / 0.9634 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.711e-05/0.9658, allocations: 51.34 kB / 0.9635 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.9669, allocations: 0.5638 MB / 0.964 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.9669, allocations: 3.938 kB / 0.964 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.072e-05/0.9669, allocations: 25.83 kB / 0.9641 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/0.967, allocations: 16.09 kB / 0.9641 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009825/0.968, allocations: 459.4 kB / 0.9645 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00272/0.9707, allocations: 1.857 MB / 0.9663 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/0.9723, allocations: 0.5417 MB / 0.9669 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004898/0.9728, allocations: 227.3 kB / 0.9671 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.086e-05/0.9728, allocations: 16.14 kB / 0.9671 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.28e-05/0.9729, allocations: 40.3 kB / 0.9671 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=32): time 2.365e-06/0.9729, allocations: 0 / 0.9671 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=32): time 0.001425/0.9743, allocations: 0.5256 MB / 0.9676 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.613e-05/0.9744, allocations: 110.1 kB / 0.9678 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007705/0.9752, allocations: 0.4984 MB / 0.9682 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.698e-05/0.9753, allocations: 36.89 kB / 0.9683 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000287/0.9756, allocations: 292.4 kB / 0.9686 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.9757, allocations: 112.2 kB / 0.9687 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.689e-05/0.9757, allocations: 37.67 kB / 0.9687 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001859/0.9759, allocations: 358.1 kB / 0.969 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004268/0.9764, allocations: 168.6 kB / 0.9692 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005116/0.9769, allocations: 261.9 kB / 0.9694 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008954/0.9778, allocations: 392.2 kB / 0.9698 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.9778, allocations: 0.9688 kB / 0.9698 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001106/0.9789, allocations: 483.6 kB / 0.9703 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001142/0.979, allocations: 146.8 kB / 0.9704 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.9791, allocations: 2.062 kB / 0.9704 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.9791, allocations: 7.531 kB / 0.9704 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003912/0.9795, allocations: 93.16 kB / 0.9705 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.9795, allocations: 7.875 kB / 0.9705 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003901/0.9799, allocations: 83.83 kB / 0.9706 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-05/0.9799, allocations: 13.34 kB / 0.9706 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.935e-06/0.98, allocations: 10.47 kB / 0.9706 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006875/0.9807, allocations: 346.7 kB / 0.971 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/0.9807, allocations: 5.328 kB / 0.971 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.773e-06/0.9807, allocations: 4.438 kB / 0.971 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002923/0.981, allocations: 78.58 kB / 0.971 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.981, allocations: 12.03 kB / 0.9711 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002978/0.9813, allocations: 71.44 kB / 0.9711 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.409e-05/0.9813, allocations: 9.719 kB / 0.9711 GB, free: 12.43 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 5 (vavBoxCon.conCoo.con1.y,vavBoxCon.conHea.con1.y,vavBoxCon.hysWitHol.y,$PRE.vavBoxCon.hysWitHol.y,vavBoxCon.greThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0003646/0.9817, allocations: 268.7 kB / 0.9714 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.9818, allocations: 51.52 kB / 0.9714 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001028/0.9829, allocations: 421.5 kB / 0.9718 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.9829, allocations: 11 kB / 0.9719 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.9829, allocations: 1.438 kB / 0.9719 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.9829, allocations: 7.922 kB / 0.9719 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007246/0.9836, allocations: 0.5546 MB / 0.9724 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.9836, allocations: 0 / 0.9724 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003361/0.984, allocations: 77.86 kB / 0.9725 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.984, allocations: 1.125 kB / 0.9725 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.174e-05/0.984, allocations: 9.797 kB / 0.9725 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.984, allocations: 9.719 kB / 0.9725 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.9841, allocations: 0 / 0.9725 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.9855, allocations: 0.6836 MB / 0.9732 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.9856, allocations: 134.4 kB / 0.9733 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.79e-05/0.9857, allocations: 6 kB / 0.9733 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003083/0.986, allocations: 52.67 kB / 0.9734 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.058e-05/0.9861, allocations: 23.52 kB / 0.9734 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.881e-05/0.9861, allocations: 15.59 kB / 0.9734 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004933/0.9866, allocations: 349.7 kB / 0.9737 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9866, allocations: 0 / 0.9737 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006521/0.9873, allocations: 170.6 kB / 0.9739 GB, free: 10.58 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (vavBoxCon.conHea.I.y,vavBoxCon.conCoo.I.y) * Number of discrete variables: 1 (vavBoxCon.hysWitHol.y) * Number of discrete states: 1 (vavBoxCon.hysWitHol.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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.0001818/0.9875, allocations: 120.5 kB / 0.974 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001354/0.9888, allocations: 0.5469 MB / 0.9745 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.9888, allocations: 0.8125 kB / 0.9745 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004207/0.9893, allocations: 189.7 kB / 0.9747 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007107/0.99, allocations: 95.48 kB / 0.9748 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.9919, allocations: 1.138 MB / 0.9759 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000629/0.9926, allocations: 0.8534 MB / 0.9768 GB, free: 8.516 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001948/0.9928, allocations: 46.05 kB / 0.9768 GB, free: 8.5 MB / 0.7325 GB Notification: Performance of SimCode: time 7.22e-07/0.9928, allocations: 0 / 0.9768 GB, free: 8.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.01129/1.004, allocations: 6.183 MB / 0.9828 GB, free: 3.082 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.makefile (rm -f Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.sim & ./Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_RoomVAV.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches