Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01383/0.01383, allocations: 87.11 kB / 15.04 MB, free: 6.055 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001253/0.001253, allocations: 172 kB / 15.92 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.339/2.339, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.621/2.621, allocations: 252.8 MB / 0.511 GB, free: 8.352 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005023/0.0005024, allocations: 15.28 kB / 0.6244 GB, free: 21.07 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2781, allocations: 106.2 MB / 0.7281 GB, free: 8.066 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow): time 0.007171/0.2854, allocations: 3.769 MB / 0.7318 GB, free: 4.273 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.003813/0.2892, allocations: 1.182 MB / 0.733 GB, free: 3.086 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001129/0.2904, allocations: 16 kB / 0.733 GB, free: 3.07 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0004306/0.2909, allocations: 98.86 kB / 0.7331 GB, free: 2.973 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.000977/0.2919, allocations: 119.5 kB / 0.7332 GB, free: 2.855 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001565/0.2935, allocations: 319.7 kB / 0.7335 GB, free: 2.543 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002418/0.296, allocations: 0.7573 MB / 0.7342 GB, free: 1.781 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002151/0.2982, allocations: 0.6531 MB / 0.7349 GB, free: 1.113 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008058/0.2991, allocations: 298.3 kB / 0.7351 GB, free: 0.8203 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000657/0.2998, allocations: 365.5 kB / 0.7355 GB, free: 472 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002736/0.3001, allocations: 36 kB / 0.7355 GB, free: 436 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001343/0.3002, allocations: 32 kB / 0.7356 GB, free: 404 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002104/0.3005, allocations: 167.1 kB / 0.7357 GB, free: 236 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003005/0.3008, allocations: 209 kB / 0.7359 GB, free: 20 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002606/0.3034, allocations: 1.554 MB / 0.7374 GB, free: 14.46 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.3035, allocations: 0 / 0.7374 GB, free: 14.46 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.196e-06/0.3035, allocations: 0 / 0.7374 GB, free: 14.46 MB / 0.573 GB Notification: Performance of Transformations before backend: time 5.028e-05/0.3035, allocations: 3.938 kB / 0.7374 GB, free: 14.46 MB / 0.573 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.003936/0.3075, allocations: 1.269 MB / 0.7387 GB, free: 13.14 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.3076, allocations: 8.031 kB / 0.7387 GB, free: 13.13 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005859/0.3081, allocations: 198.8 kB / 0.7389 GB, free: 12.93 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003939/0.3086, allocations: 150.2 kB / 0.739 GB, free: 12.78 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001834/0.3104, allocations: 0.645 MB / 0.7396 GB, free: 12.09 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001843/0.3106, allocations: 118.7 kB / 0.7398 GB, free: 11.97 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003893/0.3111, allocations: 132 kB / 0.7399 GB, free: 11.84 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003907/0.315, allocations: 1.079 MB / 0.7409 GB, free: 10.74 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.957e-05/0.3151, allocations: 0 / 0.7409 GB, free: 10.74 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001777/0.3153, allocations: 56 kB / 0.741 GB, free: 10.69 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.855e-05/0.3153, allocations: 32 kB / 0.741 GB, free: 10.66 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004063/0.3194, allocations: 0.9555 MB / 0.742 GB, free: 9.695 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00957/0.329, allocations: 3.086 MB / 0.745 GB, free: 6.547 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002311/0.3314, allocations: 0.5661 MB / 0.7455 GB, free: 5.965 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.628e-05/0.3315, allocations: 13.28 kB / 0.7455 GB, free: 5.953 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001308/0.3329, allocations: 397.8 kB / 0.7459 GB, free: 5.539 MB / 0.573 GB Notification: Performance of pre-optimization done (n=74): time 4.078e-06/0.3329, allocations: 4 kB / 0.7459 GB, free: 5.535 MB / 0.573 GB Notification: Performance of matching and sorting (n=74): time 0.003183/0.3361, allocations: 0.8258 MB / 0.7467 GB, free: 4.707 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/0.3363, allocations: 166.8 kB / 0.7469 GB, free: 4.508 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001716/0.338, allocations: 0.8133 MB / 0.7477 GB, free: 3.68 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001806/0.3383, allocations: 45.7 kB / 0.7477 GB, free: 3.629 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007053/0.339, allocations: 0.5535 MB / 0.7483 GB, free: 3.066 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004076/0.3394, allocations: 248.5 kB / 0.7485 GB, free: 2.82 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.426e-05/0.3395, allocations: 20 kB / 0.7485 GB, free: 2.801 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001868/0.3397, allocations: 341.9 kB / 0.7488 GB, free: 2.461 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001059/0.3408, allocations: 265.8 kB / 0.7491 GB, free: 2.199 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00133/0.3422, allocations: 496.6 kB / 0.7496 GB, free: 1.621 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/0.3434, allocations: 306.8 kB / 0.7499 GB, free: 1.324 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/0.3434, allocations: 0 / 0.7499 GB, free: 1.324 MB / 0.573 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003/0.3464, allocations: 0.8638 MB / 0.7507 GB, free: 464 kB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 4.335e-05/0.3465, allocations: 12 kB / 0.7507 GB, free: 452 kB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.273e-05/0.3466, allocations: 8 kB / 0.7507 GB, free: 444 kB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.648e-05/0.3466, allocations: 15.95 kB / 0.7507 GB, free: 428 kB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/0.348, allocations: 171.7 kB / 0.7509 GB, free: 256 kB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.742e-05/0.3481, allocations: 19.92 kB / 0.7509 GB, free: 236 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/0.3494, allocations: 174.6 kB / 0.7511 GB, free: 60 kB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/0.3496, allocations: 36 kB / 0.7511 GB, free: 24 kB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 34 ($whenCondition1,actAirSet_RehBox1.conInt4.y,actAirSet_RehBox1.conInt3.y,actAirSet_RehBox1.conInt2.y,actAirSet_RehBox1.conInt1.y,actAirSet_RehBox1.conInt.y,actAirSet_RehBox.conInt4.y,actAirSet_RehBox.conInt3.y,actAirSet_RehBox.conInt2.y,actAirSet_RehBox.conInt1.y,actAirSet_RehBox.conInt.y,actAirSet_RehBox.not1.y,$PRE.actAirSet_RehBox.hys.y,actAirSet_RehBox.hys.y,actAirSet_RehBox1.uWin,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.greThr1.y,actAirSet_RehBox1.gre.y,actAirSet_RehBox.intEqu4.y,actAirSet_RehBox.intEqu3.y,actAirSet_RehBox.intEqu2.y,actAirSet_RehBox.intEqu1.y,actAirSet_RehBox.swi3.u2,actAirSet_RehBox.greThr1.y,actAirSet_RehBox.gre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 119 * 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.0008377/0.3505, allocations: 281.6 kB / 0.7514 GB, free: 15.74 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002658/0.3507, allocations: 94.78 kB / 0.7515 GB, free: 15.64 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002351/0.3531, allocations: 0.6369 MB / 0.7521 GB, free: 15 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.114e-05/0.3532, allocations: 8 kB / 0.7521 GB, free: 14.99 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-05/0.3532, allocations: 7.891 kB / 0.7521 GB, free: 14.98 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.59e-05/0.3533, allocations: 3.984 kB / 0.7521 GB, free: 14.98 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006336/0.3596, allocations: 2.379 MB / 0.7545 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.717e-05/0.3597, allocations: 8 kB / 0.7545 GB, free: 12.44 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/0.3608, allocations: 143.8 kB / 0.7546 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-05/0.3609, allocations: 8 kB / 0.7546 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.623e-05/0.3609, allocations: 27.98 kB / 0.7546 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.936e-05/0.361, allocations: 16.28 kB / 0.7546 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-05/0.361, allocations: 12 kB / 0.7547 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002884/0.3639, allocations: 1.314 MB / 0.7559 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003421/0.3643, allocations: 187.8 kB / 0.7561 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001856/0.3645, allocations: 24 kB / 0.7561 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008699/0.3654, allocations: 55.95 kB / 0.7562 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000331/0.3657, allocations: 96.16 kB / 0.7563 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.583e-05/0.3658, allocations: 35.94 kB / 0.7563 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001113/0.367, allocations: 0.5186 MB / 0.7568 GB, free: 9.703 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.81e-07/0.367, allocations: 0 / 0.7568 GB, free: 9.703 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001273/0.3683, allocations: 231 kB / 0.757 GB, free: 9.477 MB / 0.5886 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.hys.y,actAirSet_RehBox1.uWin,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.004312/0.3726, allocations: 3.958 MB / 0.7609 GB, free: 5.293 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002525/0.3752, allocations: 0.6861 MB / 0.7616 GB, free: 4.602 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.296e-05/0.3753, allocations: 4 kB / 0.7616 GB, free: 4.598 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001637/0.3769, allocations: 392.3 kB / 0.762 GB, free: 4.215 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.378, allocations: 95.23 kB / 0.7621 GB, free: 4.121 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0189/0.3969, allocations: 9.262 MB / 0.7711 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000993/0.3979, allocations: 1.085 MB / 0.7722 GB, free: 9.352 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0008679/0.3989, allocations: 119 kB / 0.7723 GB, free: 9.23 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009924/0.3999, allocations: 423.3 kB / 0.7727 GB, free: 8.82 MB / 0.6042 GB Notification: Performance of SimCode: time 1.803e-06/0.3999, allocations: 0 / 0.7727 GB, free: 8.82 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06081/0.4607, allocations: 15 MB / 0.7873 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000504/0.4613, allocations: 243.7 kB / 0.7876 GB, free: 9.793 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.258/3.719, allocations: 3.938 kB / 0.7876 GB, free: 9.789 MB / 0.6198 GB