Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.514/2.514, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002354/0.002354, allocations: 186.5 kB / 325.6 MB, free: 2.844 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.419/2.419, allocations: 205.4 MB / 0.5766 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001173/0.001173, allocations: 92.42 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000466/0.0004659, allocations: 10.09 kB / 0.7952 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2143, allocations: 106.3 MB / 0.8989 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2329/0.4473, allocations: 135.6 MB / 1.031 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003161/0.4477, allocations: 79.94 kB / 1.031 GB, free: 9.504 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06702/0.5147, allocations: 15.57 MB / 1.047 GB, free: 9.91 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.086e-06/0.5148, allocations: 3.938 kB / 1.047 GB, free: 9.906 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.218e-05/0.5149, allocations: 39.98 kB / 1.047 GB, free: 9.867 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: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.004103/0.519, allocations: 1.281 MB / 1.048 GB, free: 8.531 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.5191, allocations: 11.97 kB / 1.048 GB, free: 8.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005914/0.5197, allocations: 146.2 kB / 1.048 GB, free: 8.375 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00148/0.5212, allocations: 0.5684 MB / 1.049 GB, free: 7.766 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001797/0.5214, allocations: 110.7 kB / 1.049 GB, free: 7.656 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003411/0.5218, allocations: 132 kB / 1.049 GB, free: 7.527 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004045/0.5258, allocations: 1.094 MB / 1.05 GB, free: 6.41 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.54e-05/0.5259, allocations: 3.984 kB / 1.05 GB, free: 6.406 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001867/0.5261, allocations: 56 kB / 1.05 GB, free: 6.352 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.262e-05/0.5262, allocations: 32 kB / 1.05 GB, free: 6.32 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003696/0.5299, allocations: 0.9673 MB / 1.051 GB, free: 5.348 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009981/0.5399, allocations: 3.328 MB / 1.054 GB, free: 1.957 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002127/0.5421, allocations: 0.6016 MB / 1.055 GB, free: 1.34 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001031/0.5422, allocations: 8.656 kB / 1.055 GB, free: 1.332 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001258/0.5435, allocations: 431.5 kB / 1.055 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of pre-optimization done (n=74): time 3.377e-06/0.5435, allocations: 0 / 1.055 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of matching and sorting (n=74): time 0.594/1.138, allocations: 0.8801 MB / 1.056 GB, free: 143.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/1.138, allocations: 219 kB / 1.056 GB, free: 143.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001975/1.14, allocations: 0.8746 MB / 1.057 GB, free: 143.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002013/1.14, allocations: 44.64 kB / 1.057 GB, free: 143.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005589/1.141, allocations: 0.5024 MB / 1.058 GB, free: 143.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003018/1.141, allocations: 249.4 kB / 1.058 GB, free: 143.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.01e-05/1.141, allocations: 16.03 kB / 1.058 GB, free: 143.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.427e-05/1.141, allocations: 337.6 kB / 1.058 GB, free: 142.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009653/1.142, allocations: 269.7 kB / 1.059 GB, free: 142.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009748/1.143, allocations: 371 kB / 1.059 GB, free: 142.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008925/1.144, allocations: 269.6 kB / 1.059 GB, free: 142.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/1.144, allocations: 0 / 1.059 GB, free: 142.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002413/1.146, allocations: 0.7671 MB / 1.06 GB, free: 142.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.454e-05/1.146, allocations: 10.38 kB / 1.06 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/1.146, allocations: 2.469 kB / 1.06 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.191e-05/1.147, allocations: 2.969 kB / 1.06 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/1.148, allocations: 133.2 kB / 1.06 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.896e-05/1.148, allocations: 3.031 kB / 1.06 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/1.149, allocations: 186.6 kB / 1.06 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.588e-05/1.149, allocations: 25.61 kB / 1.06 GB, free: 142.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition1,actAirSet_RehBox.not1.y,actAirSet_RehBox.uWin,$PRE.actAirSet_RehBox.hys.y,actAirSet_RehBox.hys.y,actAirSet_RehBox1.not1.y,$PRE.actAirSet_RehBox1.hys.y,actAirSet_RehBox1.hys.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 (95): * Single equations (assignments): 95 * 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.0006741/1.15, allocations: 265.5 kB / 1.06 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002603/1.15, allocations: 106.6 kB / 1.061 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002056/1.152, allocations: 0.6673 MB / 1.061 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.639e-05/1.152, allocations: 12.12 kB / 1.061 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/1.152, allocations: 0 / 1.061 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-05/1.152, allocations: 12.25 kB / 1.061 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005913/1.158, allocations: 2.539 MB / 1.064 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.71e-05/1.158, allocations: 6.547 kB / 1.064 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/1.159, allocations: 137.5 kB / 1.064 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.132e-05/1.159, allocations: 11.72 kB / 1.064 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.462e-05/1.159, allocations: 24.3 kB / 1.064 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-05/1.159, allocations: 21.14 kB / 1.064 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.134e-05/1.159, allocations: 12.69 kB / 1.064 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002635/1.162, allocations: 1.367 MB / 1.065 GB, free: 140.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003963/1.163, allocations: 215 kB / 1.065 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002321/1.163, allocations: 32.38 kB / 1.066 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009761/1.164, allocations: 70.17 kB / 1.066 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003073/1.164, allocations: 93.33 kB / 1.066 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.399e-05/1.164, allocations: 28.84 kB / 1.066 GB, free: 140.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001606/1.166, allocations: 0.6515 MB / 1.066 GB, free: 140.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 9.32e-07/1.166, allocations: 0.9375 kB / 1.066 GB, free: 140.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001277/1.167, allocations: 199.4 kB / 1.067 GB, free: 140.4 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,actAirSet_RehBox.uWin,actAirSet_RehBox.hys.y,actAirSet_RehBox1.hys.y,winSta.pulseStart,actAirSet_RehBox1.not1.y,actAirSet_RehBox.not1.y) * Number of discrete states: 2 (actAirSet_RehBox1.hys.y,actAirSet_RehBox.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 77 * 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.0002925/1.167, allocations: 151.4 kB / 1.067 GB, free: 140.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002575/1.17, allocations: 0.6502 MB / 1.067 GB, free: 140.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.602e-05/1.17, allocations: 1.469 kB / 1.067 GB, free: 140.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001826/1.172, allocations: 445.8 kB / 1.068 GB, free: 140.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/1.173, allocations: 109.8 kB / 1.068 GB, free: 140.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005479/1.179, allocations: 2.157 MB / 1.07 GB, free: 139 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001297/1.18, allocations: 1.083 MB / 1.071 GB, free: 138.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009401/1.181, allocations: 111.3 kB / 1.071 GB, free: 138.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004316/1.182, allocations: 71.03 kB / 1.071 GB, free: 138.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.683e-06/1.182, allocations: 0 / 1.071 GB, free: 138.2 MB / 0.698 GB Notification: Performance of Templates: time 0.03041/1.212, allocations: 7.481 MB / 1.078 GB, free: 137.8 MB / 0.698 GB