Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV") translateModel(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.63/1.63, allocations: 306.1 MB / 321.4 MB, free: 10.75 MB / 250.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.001175/0.001175, allocations: 171.5 kB / 393.1 MB, free: 4.109 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.6743 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008128/0.0008129, allocations: 97.58 kB / 0.7935 GB, free: 39.99 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003044/0.0003045, allocations: 8 kB / 0.9224 GB, free: 8.684 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.515/0.5153, allocations: 121.3 MB / 1.041 GB, free: 58 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV): time 0.002757/0.5181, allocations: 2.648 MB / 1.043 GB, free: 56.14 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001116/0.5192, allocations: 0.7637 MB / 1.044 GB, free: 55.58 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002426/0.5195, allocations: 14.94 kB / 1.044 GB, free: 55.57 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001776/0.5197, allocations: 72.7 kB / 1.044 GB, free: 55.52 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001741/0.5199, allocations: 58.94 kB / 1.044 GB, free: 55.48 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003433/0.5202, allocations: 223.8 kB / 1.045 GB, free: 55.32 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004652/0.5207, allocations: 0.6473 MB / 1.045 GB, free: 55 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004518/0.5211, allocations: 384.4 kB / 1.046 GB, free: 54.83 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000165/0.5213, allocations: 164 kB / 1.046 GB, free: 54.74 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001682/0.5215, allocations: 197.4 kB / 1.046 GB, free: 54.63 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.878e-05/0.5216, allocations: 16.56 kB / 1.046 GB, free: 54.63 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 3.802e-05/0.5216, allocations: 16.75 kB / 1.046 GB, free: 54.63 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 6.459e-05/0.5217, allocations: 78.12 kB / 1.046 GB, free: 54.58 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.5218, allocations: 260 kB / 1.046 GB, free: 54.38 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005689/0.5224, allocations: 0.8574 MB / 1.047 GB, free: 54.14 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.5224, allocations: 1.156 kB / 1.047 GB, free: 54.14 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.264e-06/0.5224, allocations: 2.469 kB / 1.047 GB, free: 54.14 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.5224, allocations: 0 / 1.047 GB, free: 54.14 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.001136/0.5236, allocations: 0.8319 MB / 1.048 GB, free: 53.56 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.5236, allocations: 11.12 kB / 1.048 GB, free: 53.56 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.354e-05/0.5237, allocations: 69.88 kB / 1.048 GB, free: 53.52 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004625/0.5242, allocations: 473.6 kB / 1.048 GB, free: 53.15 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.062e-05/0.5242, allocations: 39.09 kB / 1.048 GB, free: 53.13 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.669e-05/0.5243, allocations: 51.31 kB / 1.049 GB, free: 53.11 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009325/0.5252, allocations: 0.5593 MB / 1.049 GB, free: 52.87 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.5253, allocations: 3.938 kB / 1.049 GB, free: 52.86 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.037e-05/0.5253, allocations: 22.22 kB / 1.049 GB, free: 52.85 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.5253, allocations: 11.12 kB / 1.049 GB, free: 52.85 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008359/0.5262, allocations: 454.1 kB / 1.05 GB, free: 52.71 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002126/0.5283, allocations: 1.86 MB / 1.051 GB, free: 51.57 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/0.5296, allocations: 0.5556 MB / 1.052 GB, free: 51.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003732/0.5299, allocations: 215.5 kB / 1.052 GB, free: 51.32 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.864e-05/0.53, allocations: 13.38 kB / 1.052 GB, free: 51.32 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.53, allocations: 35.97 kB / 1.052 GB, free: 51.28 MB / 0.698 GB Notification: Performance of pre-optimization done (n=32): time 1.573e-06/0.53, allocations: 1.125 kB / 1.052 GB, free: 51.28 MB / 0.698 GB Notification: Performance of matching and sorting (n=32): time 0.001062/0.5311, allocations: 0.522 MB / 1.053 GB, free: 51.08 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.5311, allocations: 108.3 kB / 1.053 GB, free: 50.96 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004778/0.5316, allocations: 0.494 MB / 1.053 GB, free: 50.71 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.5317, allocations: 29.7 kB / 1.053 GB, free: 50.68 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.5318, allocations: 302.7 kB / 1.054 GB, free: 50.43 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.803e-05/0.5319, allocations: 110.4 kB / 1.054 GB, free: 50.34 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.634e-05/0.5319, allocations: 5.969 kB / 1.054 GB, free: 50.34 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.233e-05/0.532, allocations: 357.8 kB / 1.054 GB, free: 50.01 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003356/0.5323, allocations: 160.6 kB / 1.054 GB, free: 49.96 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00038/0.5327, allocations: 266.6 kB / 1.054 GB, free: 49.79 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006473/0.5334, allocations: 388 kB / 1.055 GB, free: 49.59 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.5334, allocations: 3.938 kB / 1.055 GB, free: 49.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008683/0.5343, allocations: 489.2 kB / 1.055 GB, free: 49.39 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.891e-05/0.5343, allocations: 149.5 kB / 1.055 GB, free: 49.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.5343, allocations: 6.656 kB / 1.055 GB, free: 49.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.5344, allocations: 4.812 kB / 1.055 GB, free: 49.22 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003513/0.5347, allocations: 87.02 kB / 1.056 GB, free: 49.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.5347, allocations: 7.531 kB / 1.056 GB, free: 49.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00031/0.535, allocations: 89.14 kB / 1.056 GB, free: 49.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.877e-05/0.5351, allocations: 17.39 kB / 1.056 GB, free: 49.18 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.063e-06/0.5351, allocations: 4.656 kB / 1.056 GB, free: 49.18 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005618/0.5357, allocations: 336.8 kB / 1.056 GB, free: 49.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.095e-06/0.5357, allocations: 3.719 kB / 1.056 GB, free: 49.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.508e-06/0.5357, allocations: 7.188 kB / 1.056 GB, free: 49.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002832/0.536, allocations: 79.7 kB / 1.056 GB, free: 49.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.401e-06/0.536, allocations: 7.109 kB / 1.056 GB, free: 49.03 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002334/0.5362, allocations: 67.84 kB / 1.056 GB, free: 49 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.5363, allocations: 12.81 kB / 1.056 GB, free: 49 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.0002083/0.5365, allocations: 272 kB / 1.056 GB, free: 48.76 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.232e-05/0.5366, allocations: 48.66 kB / 1.056 GB, free: 48.73 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008034/0.5374, allocations: 429.9 kB / 1.057 GB, free: 48.56 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.5374, allocations: 7.875 kB / 1.057 GB, free: 48.56 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.5374, allocations: 0 / 1.057 GB, free: 48.56 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.5374, allocations: 3.797 kB / 1.057 GB, free: 48.56 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004967/0.5379, allocations: 0.5487 MB / 1.057 GB, free: 48.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.5379, allocations: 0.8438 kB / 1.057 GB, free: 48.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003105/0.5382, allocations: 77.36 kB / 1.057 GB, free: 48.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.5383, allocations: 4 kB / 1.057 GB, free: 48.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/0.5383, allocations: 7.859 kB / 1.057 GB, free: 48.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.5383, allocations: 6.969 kB / 1.057 GB, free: 48.19 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5383, allocations: 0 / 1.057 GB, free: 48.19 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.5393, allocations: 0.6856 MB / 1.058 GB, free: 47.86 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.236e-05/0.5394, allocations: 129.7 kB / 1.058 GB, free: 47.73 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.381e-05/0.5395, allocations: 11.06 kB / 1.058 GB, free: 47.72 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002582/0.5398, allocations: 51.59 kB / 1.058 GB, free: 47.71 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.185e-05/0.5398, allocations: 18.36 kB / 1.058 GB, free: 47.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.321e-05/0.5399, allocations: 15.09 kB / 1.058 GB, free: 47.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003215/0.5402, allocations: 346.2 kB / 1.059 GB, free: 47.54 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5402, allocations: 4 kB / 1.059 GB, free: 47.53 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004837/0.5407, allocations: 171.8 kB / 1.059 GB, free: 47.48 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.0001087/0.5408, allocations: 122.7 kB / 1.059 GB, free: 47.38 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001005/0.5418, allocations: 0.5484 MB / 1.06 GB, free: 47.21 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.5418, allocations: 3.219 kB / 1.06 GB, free: 47.21 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003385/0.5422, allocations: 194.3 kB / 1.06 GB, free: 47.15 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000598/0.5428, allocations: 97 kB / 1.06 GB, free: 47.12 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.5441, allocations: 1.111 MB / 1.061 GB, free: 46.39 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.5443, allocations: 0.8522 MB / 1.062 GB, free: 45.68 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002578/0.5446, allocations: 58.25 kB / 1.062 GB, free: 45.68 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.5447, allocations: 38.55 kB / 1.062 GB, free: 45.67 MB / 0.698 GB Notification: Performance of SimCode: time 3.61e-07/0.5447, allocations: 0 / 1.062 GB, free: 45.67 MB / 0.698 GB Notification: Performance of Templates: time 0.008244/0.5529, allocations: 4.674 MB / 1.066 GB, free: 45.4 MB / 0.698 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 -lv LOG_STATS > Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe 2>&1)