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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 4.025/4.025, allocations: 433.4 MB / 440.9 MB, free: 10.47 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.314e-05/3.326e-05, allocations: 0 / 0.5326 GB, free: 1.902 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5781/0.5782, allocations: 98.71 MB / 0.629 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1977/0.7759, allocations: 127.9 MB / 0.7539 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/0.7762, allocations: 79.95 kB / 0.7539 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.05409/0.8303, allocations: 15.13 MB / 0.7687 GB, free: 428 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.886e-06/0.8304, allocations: 4 kB / 0.7687 GB, free: 424 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.662e-05/0.8304, allocations: 27.94 kB / 0.7688 GB, free: 396 kB / 0.6355 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.002473/0.8329, allocations: 1.203 MB / 0.7699 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.833, allocations: 12.02 kB / 0.7699 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003406/0.8333, allocations: 150.2 kB / 0.7701 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/0.8346, allocations: 0.5957 MB / 0.7707 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.8347, allocations: 48 kB / 0.7707 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001742/0.8349, allocations: 76 kB / 0.7708 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002372/0.8373, allocations: 0.88 MB / 0.7716 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002378/0.8397, allocations: 0.8736 MB / 0.7725 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.4e-05/0.8397, allocations: 0 / 0.7725 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/0.8398, allocations: 4 kB / 0.7725 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.844e-05/0.8399, allocations: 32 kB / 0.7725 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007076/0.847, allocations: 2.982 MB / 0.7754 GB, free: 9.375 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001346/0.8484, allocations: 0.5045 MB / 0.7759 GB, free: 8.852 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000584/0.849, allocations: 270.5 kB / 0.7762 GB, free: 8.586 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.691e-05/0.849, allocations: 8.562 kB / 0.7762 GB, free: 8.574 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008865/0.8499, allocations: 409.8 kB / 0.7766 GB, free: 8.145 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=69): time 4.684e-06/0.85, allocations: 0 / 0.7766 GB, free: 8.145 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69): time 0.001448/0.8514, allocations: 0.5842 MB / 0.7772 GB, free: 7.555 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001548/0.8516, allocations: 222.1 kB / 0.7774 GB, free: 7.285 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008832/0.8525, allocations: 489.8 kB / 0.7778 GB, free: 6.797 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.689e-05/0.8526, allocations: 25.7 kB / 0.7779 GB, free: 6.766 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005661/0.8532, allocations: 0.5342 MB / 0.7784 GB, free: 6.223 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.00026/0.8534, allocations: 216.8 kB / 0.7786 GB, free: 6.008 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-05/0.8535, allocations: 0 / 0.7786 GB, free: 6.008 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002457/0.8537, allocations: 374.8 kB / 0.7789 GB, free: 5.633 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006305/0.8544, allocations: 257.5 kB / 0.7792 GB, free: 5.383 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007089/0.8551, allocations: 344 kB / 0.7795 GB, free: 5.031 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006204/0.8558, allocations: 268.4 kB / 0.7798 GB, free: 4.77 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.975e-06/0.8558, allocations: 4 kB / 0.7798 GB, free: 4.766 MB / 0.6511 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001597/0.8574, allocations: 0.6752 MB / 0.7804 GB, free: 4.082 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.8574, allocations: 4 kB / 0.7804 GB, free: 4.078 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.8574, allocations: 8.016 kB / 0.7805 GB, free: 4.07 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.8575, allocations: 4 kB / 0.7805 GB, free: 4.066 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007467/0.8582, allocations: 131.8 kB / 0.7806 GB, free: 3.938 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.8583, allocations: 4 kB / 0.7806 GB, free: 3.934 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000637/0.8589, allocations: 103.6 kB / 0.7807 GB, free: 3.832 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.342e-05/0.859, allocations: 24 kB / 0.7807 GB, free: 3.809 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.0002193/0.8592, allocations: 134.3 kB / 0.7808 GB, free: 3.672 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.8594, allocations: 67.14 kB / 0.7809 GB, free: 3.605 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00143/0.8608, allocations: 0.5878 MB / 0.7815 GB, free: 3.016 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/0.8609, allocations: 8 kB / 0.7815 GB, free: 3.008 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.394e-06/0.8609, allocations: 0 / 0.7815 GB, free: 3.008 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/0.8609, allocations: 3.984 kB / 0.7815 GB, free: 3.004 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004389/0.8653, allocations: 2.274 MB / 0.7837 GB, free: 0.6133 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.548e-05/0.8654, allocations: 8 kB / 0.7837 GB, free: 0.6055 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007028/0.8661, allocations: 135.7 kB / 0.7838 GB, free: 484 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.04e-05/0.8661, allocations: 12 kB / 0.7839 GB, free: 472 kB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.278e-05/0.8662, allocations: 8 kB / 0.7839 GB, free: 464 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.494e-05/0.8662, allocations: 11.98 kB / 0.7839 GB, free: 452 kB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.408e-05/0.8662, allocations: 11.94 kB / 0.7839 GB, free: 440 kB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/0.8682, allocations: 1.181 MB / 0.785 GB, free: 15.01 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002011/0.8684, allocations: 164 kB / 0.7852 GB, free: 14.83 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.8685, allocations: 11.98 kB / 0.7852 GB, free: 14.82 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006119/0.8692, allocations: 63.94 kB / 0.7853 GB, free: 14.76 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001788/0.8693, allocations: 68.25 kB / 0.7853 GB, free: 14.69 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.955e-05/0.8694, allocations: 24 kB / 0.7854 GB, free: 14.67 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0005886/0.87, allocations: 342.9 kB / 0.7857 GB, free: 14.34 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8.67e-07/0.87, allocations: 0 / 0.7857 GB, free: 14.34 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0008689/0.8709, allocations: 210.8 kB / 0.7859 GB, free: 14.13 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 () * 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.0002102/0.8712, allocations: 123 kB / 0.786 GB, free: 14 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001453/0.8726, allocations: 0.6161 MB / 0.7866 GB, free: 13.38 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.752e-06/0.8726, allocations: 0 / 0.7866 GB, free: 13.38 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0009032/0.8736, allocations: 374.3 kB / 0.787 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006826/0.8743, allocations: 78 kB / 0.787 GB, free: 12.94 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003353/0.8776, allocations: 1.353 MB / 0.7884 GB, free: 11.49 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/0.8787, allocations: 1.103 MB / 0.7894 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0006809/0.8794, allocations: 137 kB / 0.7896 GB, free: 10.22 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000244/0.8797, allocations: 51.44 kB / 0.7896 GB, free: 10.17 MB / 0.6667 GB Notification: Performance of SimCode: time 1.833e-06/0.8797, allocations: 0 / 0.7896 GB, free: 10.17 MB / 0.6667 GB Notification: Performance of Templates: time 0.01923/0.899, allocations: 5.378 MB / 0.7949 GB, free: 4.859 MB / 0.6667 GB