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.004168/0.004172, allocations: 231.2 kB / 15.82 MB, free: 6.293 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.001119/0.00112, allocations: 175.3 kB / 16.7 MB, free: 5.453 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 3.932/3.932, allocations: 389.1 MB / 406.5 MB, free: 11.82 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.054/4.054, allocations: 472.3 MB / 0.9024 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004721/0.0004722, allocations: 15.98 kB / 1.008 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.175, allocations: 98.72 MB / 1.105 GB, free: 41.99 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8091/0.9842, allocations: 128.7 MB / 1.23 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/0.9845, allocations: 81.83 kB / 1.23 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.05552/1.04, allocations: 15.25 MB / 1.245 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.996e-06/1.04, allocations: 0 / 1.245 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.178e-05/1.04, allocations: 28 kB / 1.245 GB, free: 14.38 MB / 0.6198 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.003258/1.044, allocations: 1.291 MB / 1.247 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/1.044, allocations: 8.031 kB / 1.247 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004313/1.044, allocations: 143.1 kB / 1.247 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/1.045, allocations: 0.5954 MB / 1.247 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/1.045, allocations: 112.6 kB / 1.247 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002341/1.046, allocations: 128.4 kB / 1.248 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003172/1.049, allocations: 1.124 MB / 1.249 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.647e-05/1.049, allocations: 2.531 kB / 1.249 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001553/1.049, allocations: 55.97 kB / 1.249 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.93e-05/1.049, allocations: 32 kB / 1.249 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002898/1.052, allocations: 1.015 MB / 1.25 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007944/1.06, allocations: 3.343 MB / 1.253 GB, free: 8.379 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001661/1.062, allocations: 0.5609 MB / 1.254 GB, free: 7.992 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008204/1.063, allocations: 312.4 kB / 1.254 GB, free: 7.805 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.32e-05/1.063, allocations: 16.69 kB / 1.254 GB, free: 7.789 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001065/1.064, allocations: 459.6 kB / 1.254 GB, free: 7.438 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=69): time 3.677e-06/1.064, allocations: 224 / 1.254 GB, free: 7.438 MB / 0.6198 GB Notification: Performance of matching and sorting (n=69): time 0.002818/1.067, allocations: 0.9845 MB / 1.255 GB, free: 6.742 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.863e-05/1.067, allocations: 222 kB / 1.255 GB, free: 6.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001722/1.068, allocations: 0.9955 MB / 1.256 GB, free: 5.738 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001924/1.069, allocations: 37.45 kB / 1.256 GB, free: 5.703 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004755/1.069, allocations: 0.5076 MB / 1.257 GB, free: 5.398 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002294/1.069, allocations: 223.4 kB / 1.257 GB, free: 5.207 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.281e-05/1.069, allocations: 15.5 kB / 1.257 GB, free: 5.203 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001405/1.07, allocations: 342.6 kB / 1.258 GB, free: 4.875 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009191/1.07, allocations: 298.3 kB / 1.258 GB, free: 4.695 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009327/1.071, allocations: 389.9 kB / 1.258 GB, free: 4.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008579/1.072, allocations: 311.8 kB / 1.258 GB, free: 4.258 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/1.072, allocations: 4 kB / 1.258 GB, free: 4.254 MB / 0.6198 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002202/1.075, allocations: 0.8182 MB / 1.259 GB, free: 3.672 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/1.075, allocations: 8 kB / 1.259 GB, free: 3.664 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/1.075, allocations: 0 / 1.259 GB, free: 3.664 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/1.075, allocations: 4 kB / 1.259 GB, free: 3.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/1.076, allocations: 133.5 kB / 1.259 GB, free: 3.539 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.651e-05/1.076, allocations: 7.562 kB / 1.259 GB, free: 3.535 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/1.077, allocations: 171.6 kB / 1.26 GB, free: 3.383 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.729e-05/1.077, allocations: 27.42 kB / 1.26 GB, free: 3.363 MB / 0.6198 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.0007413/1.078, allocations: 277.6 kB / 1.26 GB, free: 3.164 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002214/1.078, allocations: 106.6 kB / 1.26 GB, free: 3.059 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001969/1.08, allocations: 0.7186 MB / 1.261 GB, free: 2.582 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/1.08, allocations: 8 kB / 1.261 GB, free: 2.574 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/1.08, allocations: 0 / 1.261 GB, free: 2.574 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/1.08, allocations: 3.984 kB / 1.261 GB, free: 2.57 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005003/1.085, allocations: 2.581 MB / 1.263 GB, free: 16.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/1.085, allocations: 4 kB / 1.263 GB, free: 16.58 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009489/1.086, allocations: 141.4 kB / 1.263 GB, free: 16.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.516e-05/1.086, allocations: 8 kB / 1.263 GB, free: 16.45 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.826e-05/1.086, allocations: 18.81 kB / 1.263 GB, free: 16.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-05/1.086, allocations: 11.98 kB / 1.263 GB, free: 16.42 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/1.086, allocations: 11.94 kB / 1.263 GB, free: 16.41 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002212/1.088, allocations: 1.025 MB / 1.264 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003486/1.089, allocations: 215.4 kB / 1.265 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000192/1.089, allocations: 17.19 kB / 1.265 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00088/1.09, allocations: 79.44 kB / 1.265 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001965/1.09, allocations: 68.81 kB / 1.265 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-05/1.09, allocations: 33.2 kB / 1.265 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001321/1.092, allocations: 0.6681 MB / 1.265 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.9e-07/1.092, allocations: 0 / 1.265 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009683/1.093, allocations: 190 kB / 1.266 GB, free: 14.53 MB / 0.6355 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.000252/1.093, allocations: 135.7 kB / 1.266 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002222/1.095, allocations: 0.7129 MB / 1.266 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/1.095, allocations: 0 / 1.266 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001312/1.096, allocations: 416.4 kB / 1.267 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/1.098, allocations: 146.3 kB / 1.267 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005289/1.103, allocations: 2.187 MB / 1.269 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009482/1.104, allocations: 1.109 MB / 1.27 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0009634/1.105, allocations: 174.2 kB / 1.27 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003552/1.105, allocations: 71.38 kB / 1.27 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of SimCode: time 1.502e-06/1.105, allocations: 0 / 1.27 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of Templates: time 0.02723/1.133, allocations: 7.579 MB / 1.278 GB, free: 2.965 MB / 0.6355 GB