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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_SetPoints_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01079/0.01079, allocations: 106.2 kB / 15.05 MB, free: 5.98 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.001173/0.001173, allocations: 183.2 kB / 15.94 MB, free: 5.938 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 2.017/2.017, allocations: 194.6 MB / 211.3 MB, free: 11.27 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.418/2.418, allocations: 236.2 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006419/0.0006421, allocations: 12 kB / 0.5871 GB, free: 2.027 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7069/0.7076, allocations: 98.7 MB / 0.6835 GB, free: 16.76 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.279/0.9866, allocations: 128.7 MB / 0.8091 GB, free: 13.49 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/0.987, allocations: 79.89 kB / 0.8092 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0604/1.047, allocations: 15.25 MB / 0.8241 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.655e-06/1.047, allocations: 0 / 0.8241 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.886e-05/1.048, allocations: 28 kB / 0.8241 GB, free: 14.11 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.003809/1.051, allocations: 1.288 MB / 0.8254 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/1.051, allocations: 12.03 kB / 0.8254 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005894/1.052, allocations: 198.5 kB / 0.8256 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003762/1.052, allocations: 146.2 kB / 0.8257 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/1.054, allocations: 0.5956 MB / 0.8263 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001648/1.054, allocations: 106.7 kB / 0.8264 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003146/1.054, allocations: 128 kB / 0.8265 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003894/1.058, allocations: 1.109 MB / 0.8276 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.928e-05/1.058, allocations: 0 / 0.8276 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001735/1.059, allocations: 52 kB / 0.8277 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-05/1.059, allocations: 32 kB / 0.8277 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003799/1.062, allocations: 1.022 MB / 0.8287 GB, free: 9.297 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01013/1.073, allocations: 3.334 MB / 0.8319 GB, free: 5.898 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002214/1.075, allocations: 0.5627 MB / 0.8325 GB, free: 5.316 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001161/1.075, allocations: 16.81 kB / 0.8325 GB, free: 5.301 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001363/1.076, allocations: 469.9 kB / 0.833 GB, free: 4.809 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=69): time 3.827e-06/1.077, allocations: 0 / 0.833 GB, free: 4.809 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69): time 0.003588/1.08, allocations: 0.9818 MB / 0.8339 GB, free: 3.82 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001683/1.08, allocations: 226.1 kB / 0.8341 GB, free: 3.551 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00206/1.082, allocations: 0.8841 MB / 0.835 GB, free: 2.648 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001863/1.083, allocations: 37.7 kB / 0.835 GB, free: 2.605 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006524/1.083, allocations: 0.5079 MB / 0.8355 GB, free: 2.09 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003782/1.084, allocations: 220.8 kB / 0.8357 GB, free: 1.871 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.754e-05/1.084, allocations: 16 kB / 0.8358 GB, free: 1.855 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001562/1.084, allocations: 337.9 kB / 0.8361 GB, free: 1.52 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001117/1.085, allocations: 301.9 kB / 0.8364 GB, free: 1.223 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001231/1.086, allocations: 388 kB / 0.8367 GB, free: 0.8242 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/1.088, allocations: 314.2 kB / 0.837 GB, free: 0.5234 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-06/1.088, allocations: 0 / 0.837 GB, free: 0.5234 MB / 0.6511 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002966/1.091, allocations: 0.8243 MB / 0.8378 GB, free: 15.69 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.335e-05/1.091, allocations: 5.406 kB / 0.8378 GB, free: 15.69 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/1.091, allocations: 4 kB / 0.8378 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.994e-05/1.091, allocations: 4 kB / 0.8378 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/1.092, allocations: 135.8 kB / 0.838 GB, free: 15.55 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.036e-05/1.092, allocations: 0 / 0.838 GB, free: 15.55 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/1.093, allocations: 174.7 kB / 0.8381 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/1.093, allocations: 23.98 kB / 0.8382 GB, free: 15.35 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.0008072/1.094, allocations: 280.2 kB / 0.8384 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002882/1.095, allocations: 110.6 kB / 0.8385 GB, free: 14.96 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002458/1.097, allocations: 0.7165 MB / 0.8392 GB, free: 14.24 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.831e-05/1.097, allocations: 12 kB / 0.8393 GB, free: 14.23 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/1.097, allocations: 0 / 0.8393 GB, free: 14.23 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.722e-05/1.097, allocations: 7.984 kB / 0.8393 GB, free: 14.22 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006528/1.104, allocations: 2.576 MB / 0.8418 GB, free: 11.52 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.928e-05/1.104, allocations: 4 kB / 0.8418 GB, free: 11.51 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001153/1.105, allocations: 135.7 kB / 0.8419 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.593e-05/1.105, allocations: 12 kB / 0.8419 GB, free: 11.37 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001097/1.105, allocations: 16 kB / 0.8419 GB, free: 11.35 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.875e-05/1.105, allocations: 11.98 kB / 0.8419 GB, free: 11.34 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.268e-05/1.105, allocations: 11.94 kB / 0.842 GB, free: 11.33 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003108/1.108, allocations: 1.319 MB / 0.8432 GB, free: 9.785 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004118/1.109, allocations: 211.6 kB / 0.8434 GB, free: 9.559 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002423/1.109, allocations: 20 kB / 0.8435 GB, free: 9.539 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/1.11, allocations: 79.88 kB / 0.8435 GB, free: 9.461 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002709/1.11, allocations: 72.25 kB / 0.8436 GB, free: 9.391 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.901e-05/1.11, allocations: 27.98 kB / 0.8436 GB, free: 9.363 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001571/1.112, allocations: 0.6657 MB / 0.8443 GB, free: 8.688 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.91e-07/1.112, allocations: 0 / 0.8443 GB, free: 8.688 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0012/1.113, allocations: 199.5 kB / 0.8445 GB, free: 8.492 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.004057/1.117, allocations: 3.529 MB / 0.8479 GB, free: 4.766 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002565/1.12, allocations: 0.7163 MB / 0.8486 GB, free: 4.047 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/1.12, allocations: 0 / 0.8486 GB, free: 4.047 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001629/1.122, allocations: 419.5 kB / 0.849 GB, free: 3.641 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/1.123, allocations: 124.2 kB / 0.8491 GB, free: 3.516 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01737/1.14, allocations: 6.394 MB / 0.8554 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/1.141, allocations: 1.104 MB / 0.8565 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009472/1.142, allocations: 175.2 kB / 0.8566 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009759/1.143, allocations: 423.3 kB / 0.857 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of SimCode: time 9.62e-07/1.143, allocations: 0 / 0.857 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06734/1.211, allocations: 17.06 MB / 0.8737 GB, free: 10.32 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003255/1.211, allocations: 232.9 kB / 0.8739 GB, free: 10.08 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.116/4.327, allocations: 4.062 kB / 0.8739 GB, free: 10.07 MB / 0.698 GB