Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 3.811/3.811, allocations: 432.7 MB / 445.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.202e-05/3.217e-05, allocations: 8.938 kB / 0.5384 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1767, allocations: 98.73 MB / 0.6348 GB, free: 1.863 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.195/0.3717, allocations: 128.6 MB / 0.7603 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/0.372, allocations: 79.94 kB / 0.7604 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.05785/0.4298, allocations: 15.24 MB / 0.7753 GB, free: 1.781 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.278e-06/0.4299, allocations: 0 / 0.7753 GB, free: 1.781 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.093e-05/0.43, allocations: 32 kB / 0.7753 GB, free: 1.75 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.002416/0.4324, allocations: 1.203 MB / 0.7765 GB, free: 0.4961 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.4325, allocations: 12.03 kB / 0.7765 GB, free: 496 kB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002978/0.4328, allocations: 142.2 kB / 0.7766 GB, free: 352 kB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4292/0.862, allocations: 0.5966 MB / 0.7772 GB, free: 131.7 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001465/0.8622, allocations: 107 kB / 0.7773 GB, free: 131.7 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002258/0.8624, allocations: 126.9 kB / 0.7774 GB, free: 131.7 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00254/0.865, allocations: 1.067 MB / 0.7785 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.507e-05/0.8651, allocations: 0.7969 kB / 0.7785 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001433/0.8652, allocations: 53.25 kB / 0.7785 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.512e-05/0.8653, allocations: 32.44 kB / 0.7786 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002254/0.8675, allocations: 0.9465 MB / 0.7795 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007436/0.875, allocations: 3.337 MB / 0.7828 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/0.8764, allocations: 0.5443 MB / 0.7833 GB, free: 131 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005905/0.877, allocations: 282.2 kB / 0.7836 GB, free: 131 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.904e-05/0.8771, allocations: 8.391 kB / 0.7836 GB, free: 131 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008452/0.878, allocations: 433.3 kB / 0.784 GB, free: 130.9 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=69): time 3.922e-06/0.878, allocations: 0 / 0.784 GB, free: 130.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69): time 0.001546/0.8796, allocations: 0.6646 MB / 0.7846 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.149e-05/0.8796, allocations: 220.3 kB / 0.7848 GB, free: 130.5 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001534/0.8812, allocations: 0.8727 MB / 0.7857 GB, free: 130.4 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.099e-05/0.8813, allocations: 37.89 kB / 0.7857 GB, free: 130.3 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004833/0.8818, allocations: 0.5004 MB / 0.7862 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002211/0.882, allocations: 227 kB / 0.7864 GB, free: 130 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.646e-05/0.8821, allocations: 14.31 kB / 0.7864 GB, free: 130 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.004e-05/0.8822, allocations: 332.5 kB / 0.7868 GB, free: 129.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007262/0.8829, allocations: 273.9 kB / 0.787 GB, free: 129.7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008297/0.8838, allocations: 359.6 kB / 0.7874 GB, free: 129.7 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007507/0.8845, allocations: 284.3 kB / 0.7876 GB, free: 129.7 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.393e-06/0.8845, allocations: 0 / 0.7876 GB, free: 129.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001698/0.8863, allocations: 0.7659 MB / 0.7884 GB, free: 129.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.8863, allocations: 7.219 kB / 0.7884 GB, free: 129.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.8863, allocations: 2.219 kB / 0.7884 GB, free: 129.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.8863, allocations: 5.594 kB / 0.7884 GB, free: 129.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007414/0.8871, allocations: 130 kB / 0.7885 GB, free: 129.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/0.8871, allocations: 4.125 kB / 0.7885 GB, free: 129.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007293/0.8879, allocations: 174.5 kB / 0.7887 GB, free: 129.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.128e-05/0.888, allocations: 27.3 kB / 0.7887 GB, free: 129.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.0001762/0.8881, allocations: 148.5 kB / 0.7889 GB, free: 129.4 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/0.8883, allocations: 107.5 kB / 0.789 GB, free: 129.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001531/0.8899, allocations: 0.6771 MB / 0.7896 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.8899, allocations: 7.562 kB / 0.7896 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.004e-06/0.8899, allocations: 5.734 kB / 0.7896 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/0.8899, allocations: 8.25 kB / 0.7896 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004342/0.8943, allocations: 2.509 MB / 0.7921 GB, free: 128.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/0.8943, allocations: 6.406 kB / 0.7921 GB, free: 128.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007178/0.8951, allocations: 130.6 kB / 0.7922 GB, free: 128.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.009e-05/0.8951, allocations: 8.688 kB / 0.7922 GB, free: 128.5 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.744e-05/0.8952, allocations: 25.06 kB / 0.7923 GB, free: 128.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.637e-05/0.8952, allocations: 19.81 kB / 0.7923 GB, free: 128.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.849e-06/0.8952, allocations: 10.78 kB / 0.7923 GB, free: 128.5 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/0.8969, allocations: 1.265 MB / 0.7935 GB, free: 127.7 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002863/0.8972, allocations: 213.9 kB / 0.7937 GB, free: 127.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001511/0.8974, allocations: 20.12 kB / 0.7937 GB, free: 127.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006704/0.8981, allocations: 74.77 kB / 0.7938 GB, free: 127.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001865/0.8983, allocations: 72.62 kB / 0.7939 GB, free: 127.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.142e-05/0.8984, allocations: 26.47 kB / 0.7939 GB, free: 127.5 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.00116/0.8996, allocations: 0.6541 MB / 0.7945 GB, free: 127.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.89e-07/0.8996, allocations: 1.344 kB / 0.7946 GB, free: 127.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000847/0.9004, allocations: 191 kB / 0.7947 GB, free: 127.3 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.0001733/0.9006, allocations: 137 kB / 0.7949 GB, free: 127.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001496/0.9021, allocations: 0.6563 MB / 0.7955 GB, free: 126.9 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.184e-06/0.9021, allocations: 1.312 kB / 0.7955 GB, free: 126.9 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0009/0.9031, allocations: 392.5 kB / 0.7959 GB, free: 126.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007845/0.9039, allocations: 123.2 kB / 0.796 GB, free: 126.7 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003131/0.907, allocations: 1.422 MB / 0.7974 GB, free: 125.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008238/0.9079, allocations: 1.108 MB / 0.7985 GB, free: 125.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0007179/0.9086, allocations: 169.5 kB / 0.7986 GB, free: 125.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002925/0.9089, allocations: 72.5 kB / 0.7987 GB, free: 125.2 MB / 0.6511 GB Notification: Performance of SimCode: time 1.684e-06/0.9089, allocations: 0 / 0.7987 GB, free: 125.2 MB / 0.6511 GB Notification: Performance of Templates: time 0.02373/0.9326, allocations: 7.566 MB / 0.8061 GB, free: 124.7 MB / 0.6511 GB