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.01125/0.01125, allocations: 108.5 kB / 15.06 MB, free: 5.555 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.001207/0.001207, allocations: 181.3 kB / 15.95 MB, free: 5.52 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.255/2.255, allocations: 194.6 MB / 211.3 MB, free: 11.02 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.317/2.317, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000751/0.0007515, allocations: 12 kB / 0.5871 GB, free: 2.059 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7354/0.7362, allocations: 98.71 MB / 0.6835 GB, free: 16.72 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow): time 0.02517/0.7615, allocations: 3.591 MB / 0.687 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0124/0.7739, allocations: 1.128 MB / 0.6881 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001332/0.7753, allocations: 21.84 kB / 0.6881 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005866/0.7759, allocations: 107.9 kB / 0.6882 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001398/0.786, allocations: 122.1 kB / 0.6883 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001842/0.7879, allocations: 306.9 kB / 0.6886 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.009677/0.7976, allocations: 0.7312 MB / 0.6893 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00222/0.7999, allocations: 0.6338 MB / 0.69 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001113/0.8096, allocations: 275.6 kB / 0.6902 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007386/0.8104, allocations: 367 kB / 0.6906 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0003012/0.8107, allocations: 30.91 kB / 0.6906 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001846/0.8109, allocations: 30.12 kB / 0.6906 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.000338/0.8113, allocations: 179.7 kB / 0.6908 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003307/0.8116, allocations: 207.4 kB / 0.691 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.003773/0.8154, allocations: 1.522 MB / 0.6925 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.8155, allocations: 0 / 0.6925 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of FrontEnd: time 4.628e-06/0.8155, allocations: 4 kB / 0.6925 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.804e-05/0.8156, allocations: 3.938 kB / 0.6925 GB, free: 11.31 MB / 0.5261 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.004568/0.8202, allocations: 1.262 MB / 0.6937 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.223e-05/0.8203, allocations: 9.75 kB / 0.6937 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005493/0.8208, allocations: 194.5 kB / 0.6939 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004711/0.8213, allocations: 148.2 kB / 0.6941 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0018/0.8231, allocations: 0.6504 MB / 0.6947 GB, free: 9.828 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002034/0.8234, allocations: 104.3 kB / 0.6948 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003619/0.8237, allocations: 130.8 kB / 0.6949 GB, free: 9.738 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004701/0.8285, allocations: 1.099 MB / 0.696 GB, free: 9.121 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.83e-05/0.8286, allocations: 1.438 kB / 0.696 GB, free: 9.121 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002349/0.8288, allocations: 55.03 kB / 0.696 GB, free: 9.078 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-05/0.8289, allocations: 31.97 kB / 0.6961 GB, free: 9.078 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004505/0.8334, allocations: 1.016 MB / 0.6971 GB, free: 8.578 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01079/0.8442, allocations: 3.113 MB / 0.7001 GB, free: 6.387 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00246/0.8467, allocations: 0.5353 MB / 0.7006 GB, free: 6.113 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.345e-05/0.8469, allocations: 12.55 kB / 0.7006 GB, free: 6.109 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001427/0.8483, allocations: 422.5 kB / 0.701 GB, free: 5.824 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=69): time 3.557e-06/0.8483, allocations: 3.938 kB / 0.7011 GB, free: 5.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=69): time 0.002897/0.8512, allocations: 0.9311 MB / 0.702 GB, free: 5.352 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.07e-05/0.8513, allocations: 162.1 kB / 0.7021 GB, free: 5.164 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001488/0.8528, allocations: 0.8253 MB / 0.7029 GB, free: 4.676 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.00011/0.853, allocations: 40.95 kB / 0.703 GB, free: 4.633 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004707/0.8535, allocations: 0.5527 MB / 0.7035 GB, free: 4.141 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002255/0.8537, allocations: 226.6 kB / 0.7037 GB, free: 3.945 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.952e-05/0.8538, allocations: 20.06 kB / 0.7037 GB, free: 3.93 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.047e-05/0.8539, allocations: 342.3 kB / 0.7041 GB, free: 3.598 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009739/0.8549, allocations: 301 kB / 0.7044 GB, free: 3.453 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001048/0.8559, allocations: 0.5054 MB / 0.7048 GB, free: 3.035 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.857, allocations: 350.5 kB / 0.7052 GB, free: 2.859 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.857, allocations: 1.188 kB / 0.7052 GB, free: 2.859 MB / 0.5261 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002635/0.8596, allocations: 0.9222 MB / 0.7061 GB, free: 2.398 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.086e-05/0.8597, allocations: 6.844 kB / 0.7061 GB, free: 2.398 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-05/0.8597, allocations: 10.19 kB / 0.7061 GB, free: 2.395 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.343e-05/0.8598, allocations: 11.38 kB / 0.7061 GB, free: 2.395 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.861, allocations: 175.5 kB / 0.7063 GB, free: 2.352 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.617e-05/0.861, allocations: 14.06 kB / 0.7063 GB, free: 2.348 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/0.8622, allocations: 185.2 kB / 0.7065 GB, free: 2.242 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-05/0.8623, allocations: 29.97 kB / 0.7065 GB, free: 2.238 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 32 ($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.greThr.y,actAirSet_RehBox.not1.y,actAirSet_RehBox1.uWin,actAirSet_RehBox1.greThr.y,actAirSet_RehBox1.not1.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 (112): * Single equations (assignments): 112 * 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.0007162/0.863, allocations: 301.2 kB / 0.7068 GB, free: 2.004 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001986/0.8632, allocations: 89.78 kB / 0.7069 GB, free: 1.957 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002062/0.8653, allocations: 0.6926 MB / 0.7075 GB, free: 1.551 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.8653, allocations: 6.938 kB / 0.7075 GB, free: 1.551 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.8654, allocations: 1.875 kB / 0.7076 GB, free: 1.551 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.8654, allocations: 3.984 kB / 0.7076 GB, free: 1.547 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005067/0.8705, allocations: 2.43 MB / 0.7099 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/0.8705, allocations: 5.438 kB / 0.7099 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000968/0.8715, allocations: 136.8 kB / 0.7101 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.067e-05/0.8715, allocations: 17.09 kB / 0.7101 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.561e-05/0.8716, allocations: 21.66 kB / 0.7101 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.481e-05/0.8716, allocations: 13.78 kB / 0.7101 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.118e-05/0.8717, allocations: 9.938 kB / 0.7101 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002714/0.8744, allocations: 1.257 MB / 0.7114 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002808/0.8747, allocations: 185.7 kB / 0.7115 GB, free: 14.44 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001559/0.8748, allocations: 22.77 kB / 0.7115 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008088/0.8757, allocations: 71.12 kB / 0.7116 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002122/0.8759, allocations: 72.61 kB / 0.7117 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.665e-05/0.876, allocations: 40.2 kB / 0.7117 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001116/0.8771, allocations: 0.5251 MB / 0.7122 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.41e-07/0.8771, allocations: 0 / 0.7122 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001092/0.8782, allocations: 228 kB / 0.7125 GB, free: 13.96 MB / 0.5417 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.greThr.y,actAirSet_RehBox1.uWin,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.004212/0.8825, allocations: 3.487 MB / 0.7159 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004248/0.8868, allocations: 0.737 MB / 0.7166 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.01e-05/0.8869, allocations: 5.188 kB / 0.7166 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002424/0.8893, allocations: 402.8 kB / 0.717 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001636/0.891, allocations: 113.5 kB / 0.7171 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02932/0.9203, allocations: 9.455 MB / 0.7263 GB, free: 1.156 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001474/0.9219, allocations: 1.108 MB / 0.7274 GB, free: 24 kB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001517/0.9234, allocations: 170.9 kB / 0.7276 GB, free: 15.85 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001297/0.9247, allocations: 415.3 kB / 0.728 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of SimCode: time 9.157e-06/0.9248, allocations: 0 / 0.728 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1131/1.038, allocations: 15.28 MB / 0.7429 GB, free: 436 kB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003642/1.038, allocations: 232.6 kB / 0.7431 GB, free: 192 kB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.411/4.449, allocations: 3.594 kB / 0.7431 GB, free: 192 kB / 0.5573 GB