Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01229/0.01229, allocations: 110.8 kB / 15.05 MB, free: 5.965 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001765/0.001765, allocations: 184.8 kB / 15.95 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.899/1.899, allocations: 194.6 MB / 211.3 MB, free: 11.09 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.107/2.107, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004656/0.0004658, allocations: 8 kB / 0.587 GB, free: 2.113 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.545/0.5455, allocations: 98.71 MB / 0.6834 GB, free: 16.83 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1886/0.7341, allocations: 128.7 MB / 0.809 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/0.7344, allocations: 75.94 kB / 0.8091 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.05914/0.7935, allocations: 15.24 MB / 0.824 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.392e-06/0.7936, allocations: 0 / 0.824 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.961e-05/0.7937, allocations: 32 kB / 0.824 GB, free: 14.23 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.002555/0.7962, allocations: 1.284 MB / 0.8253 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.7963, allocations: 8.031 kB / 0.8253 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003074/0.7966, allocations: 138.3 kB / 0.8254 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/0.7978, allocations: 0.6034 MB / 0.826 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001442/0.798, allocations: 114.6 kB / 0.8261 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002128/0.7982, allocations: 128 kB / 0.8263 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002839/0.801, allocations: 1.109 MB / 0.8273 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.277e-05/0.8011, allocations: 0 / 0.8273 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000144/0.8012, allocations: 56 kB / 0.8274 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.603e-05/0.8013, allocations: 32 kB / 0.8274 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002686/0.804, allocations: 1.018 MB / 0.8284 GB, free: 9.625 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007514/0.8115, allocations: 3.343 MB / 0.8317 GB, free: 6.223 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001625/0.8132, allocations: 0.561 MB / 0.8322 GB, free: 5.641 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.763e-05/0.8133, allocations: 8.562 kB / 0.8322 GB, free: 5.633 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001042/0.8143, allocations: 466.2 kB / 0.8327 GB, free: 5.145 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=69): time 4.223e-06/0.8143, allocations: 0 / 0.8327 GB, free: 5.145 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69): time 0.002617/0.817, allocations: 0.9898 MB / 0.8336 GB, free: 4.148 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001599/0.8172, allocations: 218.1 kB / 0.8339 GB, free: 3.887 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001622/0.8188, allocations: 0.884 MB / 0.8347 GB, free: 2.984 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.785e-05/0.8189, allocations: 37.7 kB / 0.8348 GB, free: 2.941 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005678/0.8195, allocations: 0.5079 MB / 0.8352 GB, free: 2.426 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002534/0.8197, allocations: 220.8 kB / 0.8355 GB, free: 2.207 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.655e-05/0.8198, allocations: 20 kB / 0.8355 GB, free: 2.188 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001766/0.82, allocations: 337.9 kB / 0.8358 GB, free: 1.852 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008145/0.8208, allocations: 293.9 kB / 0.8361 GB, free: 1.562 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008965/0.8217, allocations: 392 kB / 0.8365 GB, free: 1.16 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007974/0.8225, allocations: 306.9 kB / 0.8367 GB, free: 0.8633 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.884e-06/0.8226, allocations: 4 kB / 0.8368 GB, free: 0.8594 MB / 0.6511 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002071/0.8246, allocations: 0.8204 MB / 0.8376 GB, free: 32 kB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.8247, allocations: 4 kB / 0.8376 GB, free: 28 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.016e-06/0.8247, allocations: 4.031 kB / 0.8376 GB, free: 24 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.8247, allocations: 4 kB / 0.8376 GB, free: 20 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007297/0.8255, allocations: 135.8 kB / 0.8377 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/0.8255, allocations: 4 kB / 0.8377 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007332/0.8262, allocations: 174.7 kB / 0.8379 GB, free: 15.71 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.351e-05/0.8263, allocations: 24 kB / 0.8379 GB, free: 15.69 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition1,actAirSet_RehBox.not1.y,actAirSet_RehBox.uWin,actAirSet_RehBox.greThr.y,actAirSet_RehBox1.not1.y,actAirSet_RehBox1.greThr.y,$PRE.winSta.pulseStart,winSta.pulseStart,actAirSet_RehBox1.intEqu4.y,actAirSet_RehBox1.intEqu3.y,actAirSet_RehBox1.intEqu2.y,actAirSet_RehBox1.intEqu1.y,actAirSet_RehBox1.swi3.u2,actAirSet_RehBox1.and1.u1,actAirSet_RehBox1.and1.u2,actAirSet_RehBox.intEqu4.y,actAirSet_RehBox.intEqu3.y,actAirSet_RehBox.intEqu2.y,actAirSet_RehBox.intEqu1.y,actAirSet_RehBox.swi3.u2,actAirSet_RehBox.and1.u1,actAirSet_RehBox.and1.u2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 88 * 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.0006522/0.827, allocations: 283.8 kB / 0.8382 GB, free: 15.4 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001862/0.8272, allocations: 102.7 kB / 0.8383 GB, free: 15.3 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001863/0.8291, allocations: 0.7203 MB / 0.839 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.8291, allocations: 8.422 kB / 0.839 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.1e-06/0.8291, allocations: 0 / 0.839 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.8291, allocations: 7.984 kB / 0.839 GB, free: 14.56 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004922/0.8341, allocations: 2.575 MB / 0.8415 GB, free: 11.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.491e-05/0.8341, allocations: 4 kB / 0.8415 GB, free: 11.85 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006599/0.8348, allocations: 135.7 kB / 0.8416 GB, free: 11.72 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.022e-05/0.8348, allocations: 16.61 kB / 0.8416 GB, free: 11.7 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.637e-05/0.8349, allocations: 20 kB / 0.8417 GB, free: 11.68 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.688e-05/0.8349, allocations: 15.98 kB / 0.8417 GB, free: 11.67 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.02e-05/0.835, allocations: 11.94 kB / 0.8417 GB, free: 11.66 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002312/0.8373, allocations: 1.323 MB / 0.843 GB, free: 10.11 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003029/0.8376, allocations: 207.6 kB / 0.8432 GB, free: 9.887 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000147/0.8378, allocations: 23.98 kB / 0.8432 GB, free: 9.863 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006484/0.8384, allocations: 75.94 kB / 0.8433 GB, free: 9.789 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/0.8386, allocations: 64.25 kB / 0.8433 GB, free: 9.727 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.904e-05/0.8387, allocations: 24 kB / 0.8434 GB, free: 9.703 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001245/0.8399, allocations: 0.6658 MB / 0.844 GB, free: 9.027 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7.92e-07/0.84, allocations: 7.938 kB / 0.844 GB, free: 9.02 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0008353/0.8408, allocations: 199.5 kB / 0.8442 GB, free: 8.824 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,actAirSet_RehBox.uWin,actAirSet_RehBox.greThr.y,actAirSet_RehBox1.greThr.y,winSta.pulseStart,actAirSet_RehBox1.not1.y,actAirSet_RehBox.not1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 72 * 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.0002069/0.841, allocations: 127.1 kB / 0.8443 GB, free: 8.688 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001836/0.8429, allocations: 0.7163 MB / 0.845 GB, free: 7.969 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.182e-06/0.8429, allocations: 3.938 kB / 0.845 GB, free: 7.965 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.00108/0.844, allocations: 415.2 kB / 0.8454 GB, free: 7.559 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008207/0.8448, allocations: 116.6 kB / 0.8455 GB, free: 7.441 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004283/0.8491, allocations: 2.201 MB / 0.8477 GB, free: 5.141 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009892/0.8501, allocations: 1.104 MB / 0.8488 GB, free: 4.012 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0007336/0.8509, allocations: 171.2 kB / 0.8489 GB, free: 3.84 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002901/0.8512, allocations: 75.42 kB / 0.849 GB, free: 3.766 MB / 0.6667 GB Notification: Performance of SimCode: time 1.579e-06/0.8512, allocations: 0 / 0.849 GB, free: 3.766 MB / 0.6667 GB Notification: Performance of Templates: time 0.02565/0.8769, allocations: 7.551 MB / 0.8564 GB, free: 12.29 MB / 0.6823 GB