Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV") translateModel(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.625/1.625, allocations: 297.4 MB / 312.6 MB, free: 2.93 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 188.9 kB / 382.3 MB, free: 14.82 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 225.7 MB / 0.6617 GB, free: 7.242 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007988/0.0007987, allocations: 98.91 kB / 0.7789 GB, free: 46.88 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003414/0.0003414, allocations: 13.73 kB / 0.9058 GB, free: 4.906 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5579/0.5583, allocations: 119.2 MB / 1.022 GB, free: 58.05 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV): time 0.002869/0.5612, allocations: 2.668 MB / 1.025 GB, free: 56.53 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.5624, allocations: 0.782 MB / 1.026 GB, free: 55.96 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002465/0.5627, allocations: 15.81 kB / 1.026 GB, free: 55.96 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002163/0.5629, allocations: 72.48 kB / 1.026 GB, free: 55.91 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001879/0.5631, allocations: 60.72 kB / 1.026 GB, free: 55.86 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000375/0.5635, allocations: 230.9 kB / 1.026 GB, free: 55.7 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0005301/0.564, allocations: 0.6636 MB / 1.027 GB, free: 55.36 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004791/0.5645, allocations: 385.1 kB / 1.027 GB, free: 55.2 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001939/0.5647, allocations: 172.2 kB / 1.027 GB, free: 55.11 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001843/0.5649, allocations: 214.9 kB / 1.027 GB, free: 54.98 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.928e-05/0.565, allocations: 16.72 kB / 1.027 GB, free: 54.98 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 3.87e-05/0.565, allocations: 16.59 kB / 1.027 GB, free: 54.98 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 7.094e-05/0.5651, allocations: 83.88 kB / 1.027 GB, free: 54.93 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001459/0.5652, allocations: 263.7 kB / 1.028 GB, free: 54.73 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005805/0.5658, allocations: 0.8604 MB / 1.029 GB, free: 54.48 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.5658, allocations: 2.875 kB / 1.029 GB, free: 54.48 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.824e-06/0.5659, allocations: 2.25 kB / 1.029 GB, free: 54.48 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.387e-06/0.5659, allocations: 0 / 1.029 GB, free: 54.48 MB / 0.698 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.001174/0.5671, allocations: 0.8611 MB / 1.029 GB, free: 53.88 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.5671, allocations: 11.11 kB / 1.029 GB, free: 53.88 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.5672, allocations: 74.81 kB / 1.03 GB, free: 53.84 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000511/0.5677, allocations: 499.6 kB / 1.03 GB, free: 53.46 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.072e-05/0.5678, allocations: 42.47 kB / 1.03 GB, free: 53.44 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.534e-05/0.5678, allocations: 51.92 kB / 1.03 GB, free: 53.43 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008967/0.5687, allocations: 0.5594 MB / 1.031 GB, free: 53.18 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.5688, allocations: 3.938 kB / 1.031 GB, free: 53.18 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.049e-05/0.5688, allocations: 26.44 kB / 1.031 GB, free: 53.16 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.5688, allocations: 11.38 kB / 1.031 GB, free: 53.16 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008688/0.5697, allocations: 451.7 kB / 1.031 GB, free: 53.01 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002153/0.5719, allocations: 1.877 MB / 1.033 GB, free: 51.87 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/0.5731, allocations: 0.5537 MB / 1.033 GB, free: 51.71 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000359/0.5735, allocations: 219.1 kB / 1.034 GB, free: 51.63 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.5735, allocations: 3.812 kB / 1.034 GB, free: 51.63 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.5735, allocations: 46.44 kB / 1.034 GB, free: 51.58 MB / 0.698 GB Notification: Performance of pre-optimization done (n=32): time 2.124e-06/0.5735, allocations: 0 / 1.034 GB, free: 51.58 MB / 0.698 GB Notification: Performance of matching and sorting (n=32): time 0.001045/0.5746, allocations: 0.5321 MB / 1.034 GB, free: 51.38 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.5746, allocations: 108.6 kB / 1.034 GB, free: 51.26 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004953/0.5751, allocations: 0.5039 MB / 1.035 GB, free: 51.01 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.5752, allocations: 32.61 kB / 1.035 GB, free: 50.98 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.5753, allocations: 311.9 kB / 1.035 GB, free: 50.72 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.148e-05/0.5754, allocations: 110.9 kB / 1.035 GB, free: 50.64 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.632e-05/0.5754, allocations: 8 kB / 1.035 GB, free: 50.63 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.665e-05/0.5755, allocations: 359.4 kB / 1.036 GB, free: 50.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003276/0.5758, allocations: 162.8 kB / 1.036 GB, free: 50.24 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003597/0.5762, allocations: 262.1 kB / 1.036 GB, free: 50.07 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000612/0.5768, allocations: 389.9 kB / 1.036 GB, free: 49.88 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.5768, allocations: 9.188 kB / 1.036 GB, free: 49.87 MB / 0.698 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007725/0.5776, allocations: 486.9 kB / 1.037 GB, free: 49.68 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.766e-05/0.5777, allocations: 148.3 kB / 1.037 GB, free: 49.51 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.5777, allocations: 2.312 kB / 1.037 GB, free: 49.51 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.5777, allocations: 6.469 kB / 1.037 GB, free: 49.51 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003354/0.578, allocations: 95.78 kB / 1.037 GB, free: 49.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.5781, allocations: 8.062 kB / 1.037 GB, free: 49.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002895/0.5784, allocations: 87.38 kB / 1.037 GB, free: 49.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.589e-05/0.5784, allocations: 18.58 kB / 1.037 GB, free: 49.46 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.819e-06/0.5784, allocations: 3.406 kB / 1.037 GB, free: 49.46 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005674/0.579, allocations: 342.6 kB / 1.038 GB, free: 49.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.579, allocations: 3.469 kB / 1.038 GB, free: 49.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.699e-06/0.579, allocations: 2.812 kB / 1.038 GB, free: 49.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002809/0.5793, allocations: 78.02 kB / 1.038 GB, free: 49.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.5793, allocations: 10.03 kB / 1.038 GB, free: 49.31 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002383/0.5795, allocations: 72.33 kB / 1.038 GB, free: 49.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.462e-05/0.5796, allocations: 14.91 kB / 1.038 GB, free: 49.28 MB / 0.698 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,$PRE.vavBoxCon.hysWitHol.y,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.000211/0.5798, allocations: 267.2 kB / 1.038 GB, free: 49.04 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.612e-05/0.5799, allocations: 58.05 kB / 1.038 GB, free: 49.01 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008541/0.5807, allocations: 430.4 kB / 1.038 GB, free: 48.84 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.5808, allocations: 7.688 kB / 1.038 GB, free: 48.84 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.5808, allocations: 4 kB / 1.038 GB, free: 48.84 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.842e-06/0.5808, allocations: 3.938 kB / 1.038 GB, free: 48.84 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006059/0.5814, allocations: 0.5499 MB / 1.039 GB, free: 48.49 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.5814, allocations: 0.6875 kB / 1.039 GB, free: 48.49 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003184/0.5817, allocations: 72.8 kB / 1.039 GB, free: 48.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.5817, allocations: 3.688 kB / 1.039 GB, free: 48.48 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.701e-05/0.5818, allocations: 9.5 kB / 1.039 GB, free: 48.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.634e-06/0.5818, allocations: 11.75 kB / 1.039 GB, free: 48.47 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.5818, allocations: 0 / 1.039 GB, free: 48.47 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.5829, allocations: 0.6898 MB / 1.04 GB, free: 48.13 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.458e-05/0.583, allocations: 135.9 kB / 1.04 GB, free: 48 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.333e-05/0.583, allocations: 10.41 kB / 1.04 GB, free: 47.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002596/0.5833, allocations: 53.45 kB / 1.04 GB, free: 47.98 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.359e-05/0.5834, allocations: 27.62 kB / 1.04 GB, free: 47.97 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.196e-05/0.5834, allocations: 7.188 kB / 1.04 GB, free: 47.97 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003561/0.5838, allocations: 367.4 kB / 1.04 GB, free: 47.79 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5838, allocations: 0 / 1.04 GB, free: 47.79 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004691/0.5843, allocations: 176.5 kB / 1.041 GB, free: 47.74 MB / 0.698 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.0001216/0.5844, allocations: 116.9 kB / 1.041 GB, free: 47.64 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009974/0.5854, allocations: 0.5566 MB / 1.041 GB, free: 47.47 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.5854, allocations: 0 / 1.041 GB, free: 47.47 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003311/0.5857, allocations: 184.8 kB / 1.041 GB, free: 47.42 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006034/0.5863, allocations: 96.95 kB / 1.041 GB, free: 47.39 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.5876, allocations: 1.135 MB / 1.043 GB, free: 46.64 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.5879, allocations: 0.8603 MB / 1.043 GB, free: 45.93 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002276/0.5881, allocations: 65.27 kB / 1.043 GB, free: 45.93 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.5883, allocations: 38.91 kB / 1.043 GB, free: 45.92 MB / 0.698 GB Notification: Performance of SimCode: time 2.91e-07/0.5883, allocations: 0 / 1.043 GB, free: 45.92 MB / 0.698 GB Notification: Performance of Templates: time 0.008382/0.5966, allocations: 4.716 MB / 1.048 GB, free: 45.67 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.makefile (rm -f Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.sim & ./Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe 2>&1)