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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.219/4.219, allocations: 433.2 MB / 440.7 MB, free: 4.594 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.795e-05/2.808e-05, allocations: 2.906 kB / 0.5325 GB, free: 12.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.23, allocations: 98.74 MB / 0.6289 GB, free: 9.078 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2586/0.4887, allocations: 127.9 MB / 0.7539 GB, free: 8.992 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/0.4891, allocations: 71.95 kB / 0.7539 GB, free: 8.922 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.05875/0.5478, allocations: 15.12 MB / 0.7687 GB, free: 9.773 MB / 0.6511 GB Notification: Performance of FrontEnd: time 4.068e-06/0.5479, allocations: 0 / 0.7687 GB, free: 9.773 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.696e-05/0.548, allocations: 35.94 kB / 0.7687 GB, free: 9.738 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.003245/0.5513, allocations: 1.203 MB / 0.7699 GB, free: 8.484 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.5513, allocations: 8.031 kB / 0.7699 GB, free: 8.477 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005035/0.5518, allocations: 142.3 kB / 0.7701 GB, free: 8.336 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.5531, allocations: 0.5918 MB / 0.7706 GB, free: 7.699 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.983e-05/0.5532, allocations: 52 kB / 0.7707 GB, free: 7.648 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002052/0.5535, allocations: 76 kB / 0.7708 GB, free: 7.574 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002804/0.5563, allocations: 0.884 MB / 0.7716 GB, free: 6.688 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00275/0.5591, allocations: 0.8697 MB / 0.7725 GB, free: 5.797 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.886e-05/0.5592, allocations: 0 / 0.7725 GB, free: 5.797 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001245/0.5593, allocations: 0 / 0.7725 GB, free: 5.797 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-05/0.5594, allocations: 35.98 kB / 0.7725 GB, free: 5.762 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00891/0.5683, allocations: 2.985 MB / 0.7754 GB, free: 2.734 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001613/0.5699, allocations: 0.5013 MB / 0.7759 GB, free: 2.215 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006737/0.5707, allocations: 274.5 kB / 0.7762 GB, free: 1.945 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 9.457e-05/0.5708, allocations: 4.672 kB / 0.7762 GB, free: 1.938 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009458/0.5717, allocations: 409 kB / 0.7766 GB, free: 1.508 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=69): time 3.847e-06/0.5717, allocations: 4 kB / 0.7766 GB, free: 1.504 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69): time 0.001639/0.5734, allocations: 0.5919 MB / 0.7771 GB, free: 0.9062 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001332/0.5736, allocations: 218.2 kB / 0.7774 GB, free: 0.6406 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009409/0.5745, allocations: 493.9 kB / 0.7778 GB, free: 152 kB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.398e-05/0.5746, allocations: 25.7 kB / 0.7778 GB, free: 120 kB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.5255/1.1, allocations: 0.5266 MB / 0.7784 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003278/1.101, allocations: 215.8 kB / 0.7786 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.334e-05/1.101, allocations: 0 / 0.7786 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001673/1.101, allocations: 378 kB / 0.7789 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006762/1.101, allocations: 255.2 kB / 0.7792 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007438/1.102, allocations: 335.3 kB / 0.7795 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006528/1.103, allocations: 273.2 kB / 0.7798 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/1.103, allocations: 0 / 0.7798 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00167/1.105, allocations: 0.6705 MB / 0.7804 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/1.105, allocations: 8.641 kB / 0.7804 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/1.105, allocations: 0 / 0.7804 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.713e-05/1.105, allocations: 3.75 kB / 0.7804 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/1.106, allocations: 136 kB / 0.7805 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/1.106, allocations: 3 kB / 0.7805 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009707/1.107, allocations: 111.7 kB / 0.7807 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.26e-05/1.107, allocations: 24.95 kB / 0.7807 GB, free: 135.5 MB / 0.6511 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 () * 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.0002088/1.107, allocations: 122.8 kB / 0.7808 GB, free: 135.4 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001759/1.109, allocations: 0.5936 MB / 0.7814 GB, free: 135.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001834/1.109, allocations: 66.44 kB / 0.7814 GB, free: 135.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001669/1.111, allocations: 0.5907 MB / 0.782 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/1.111, allocations: 7.344 kB / 0.782 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/1.111, allocations: 1.438 kB / 0.782 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/1.111, allocations: 5.594 kB / 0.782 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004634/1.116, allocations: 2.279 MB / 0.7843 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.37e-05/1.116, allocations: 5.562 kB / 0.7843 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/1.117, allocations: 130.5 kB / 0.7844 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.987e-05/1.117, allocations: 11.59 kB / 0.7844 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.335e-05/1.117, allocations: 12.55 kB / 0.7844 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.538e-05/1.117, allocations: 14.5 kB / 0.7844 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.438e-05/1.117, allocations: 12.52 kB / 0.7844 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001889/1.119, allocations: 1.175 MB / 0.7856 GB, free: 133.8 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001935/1.119, allocations: 154.2 kB / 0.7857 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/1.119, allocations: 11.59 kB / 0.7857 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008154/1.12, allocations: 66.64 kB / 0.7858 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002355/1.12, allocations: 71.16 kB / 0.7859 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.09e-05/1.12, allocations: 25.5 kB / 0.7859 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005822/1.121, allocations: 340 kB / 0.7862 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.01e-07/1.121, allocations: 0 / 0.7862 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001122/1.122, allocations: 213.6 kB / 0.7864 GB, free: 133.5 MB / 0.6511 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 () * 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.002476/1.125, allocations: 3.387 MB / 0.7897 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001834/1.126, allocations: 0.6181 MB / 0.7903 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.317e-05/1.126, allocations: 1.094 kB / 0.7903 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001077/1.128, allocations: 367.2 kB / 0.7907 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009129/1.128, allocations: 88.05 kB / 0.7908 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004884/1.133, allocations: 1.5 MB / 0.7922 GB, free: 129.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/1.134, allocations: 1.111 MB / 0.7933 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0008917/1.135, allocations: 136.8 kB / 0.7935 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000901/1.136, allocations: 402.8 kB / 0.7938 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of SimCode: time 2.434e-06/1.136, allocations: 0 / 0.7938 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.123/1.259, allocations: 12.33 MB / 0.8059 GB, free: 128.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001617/1.26, allocations: 192.2 kB / 0.8061 GB, free: 128.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.88/4.139, allocations: 1.562 kB / 0.8061 GB, free: 128.2 MB / 0.6511 GB