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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.561/4.561, allocations: 432.6 MB / 445.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.681e-05/3.694e-05, allocations: 8.75 kB / 0.5384 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2253, allocations: 98.72 MB / 0.6348 GB, free: 1.848 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2487/0.474, allocations: 128.6 MB / 0.7603 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003038/0.4744, allocations: 83.94 kB / 0.7604 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.06/0.5344, allocations: 15.23 MB / 0.7753 GB, free: 1.754 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.943e-06/0.5345, allocations: 0 / 0.7753 GB, free: 1.754 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.368e-05/0.5346, allocations: 28 kB / 0.7753 GB, free: 1.727 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.002952/0.5375, allocations: 1.214 MB / 0.7765 GB, free: 472 kB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.5376, allocations: 8.031 kB / 0.7765 GB, free: 464 kB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003453/0.538, allocations: 194.5 kB / 0.7767 GB, free: 260 kB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000307/0.5383, allocations: 142.3 kB / 0.7768 GB, free: 116 kB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6186/1.157, allocations: 0.5874 MB / 0.7774 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001868/1.157, allocations: 107.8 kB / 0.7775 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003241/1.158, allocations: 128.5 kB / 0.7776 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003546/1.161, allocations: 1.065 MB / 0.7787 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.053e-05/1.161, allocations: 0 / 0.7787 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001686/1.161, allocations: 57.28 kB / 0.7787 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.451e-05/1.161, allocations: 31.75 kB / 0.7787 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003029/1.164, allocations: 0.9473 MB / 0.7797 GB, free: 131.5 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01075/1.175, allocations: 3.337 MB / 0.7829 GB, free: 131 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001866/1.177, allocations: 0.5394 MB / 0.7835 GB, free: 130.9 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007941/1.178, allocations: 282.3 kB / 0.7837 GB, free: 130.9 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 9.215e-05/1.178, allocations: 10.64 kB / 0.7837 GB, free: 130.9 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001007/1.179, allocations: 432.4 kB / 0.7842 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=69): time 4.177e-06/1.179, allocations: 1.219 kB / 0.7842 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69): time 0.001933/1.181, allocations: 0.6658 MB / 0.7848 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.992e-05/1.181, allocations: 219.4 kB / 0.785 GB, free: 130.5 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001955/1.183, allocations: 0.8712 MB / 0.7859 GB, free: 130.3 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001863/1.183, allocations: 35.92 kB / 0.7859 GB, free: 130.3 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005771/1.184, allocations: 0.5041 MB / 0.7864 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003098/1.184, allocations: 224.2 kB / 0.7866 GB, free: 130 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.541e-05/1.184, allocations: 13.62 kB / 0.7866 GB, free: 130 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001093/1.185, allocations: 336.6 kB / 0.7869 GB, free: 129.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008681/1.185, allocations: 270.1 kB / 0.7872 GB, free: 129.7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009749/1.186, allocations: 356.5 kB / 0.7875 GB, free: 129.6 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008517/1.187, allocations: 285 kB / 0.7878 GB, free: 129.6 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/1.187, allocations: 1.219 kB / 0.7878 GB, free: 129.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00208/1.189, allocations: 0.767 MB / 0.7886 GB, free: 129.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/1.19, allocations: 8.469 kB / 0.7886 GB, free: 129.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/1.19, allocations: 0.8438 kB / 0.7886 GB, free: 129.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.065e-05/1.19, allocations: 4.125 kB / 0.7886 GB, free: 129.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/1.191, allocations: 130.1 kB / 0.7887 GB, free: 129.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.736e-05/1.191, allocations: 4.125 kB / 0.7887 GB, free: 129.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/1.192, allocations: 179.3 kB / 0.7889 GB, free: 129.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.309e-05/1.192, allocations: 21.47 kB / 0.7889 GB, free: 129.4 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.0002419/1.192, allocations: 153.6 kB / 0.789 GB, free: 129.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002261/1.193, allocations: 107.6 kB / 0.7891 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001985/1.195, allocations: 0.6699 MB / 0.7898 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/1.195, allocations: 6.875 kB / 0.7898 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/1.195, allocations: 1.375 kB / 0.7898 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.88e-05/1.195, allocations: 5.312 kB / 0.7898 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005818/1.2, allocations: 2.525 MB / 0.7923 GB, free: 128.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/1.201, allocations: 7.984 kB / 0.7923 GB, free: 128.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001055/1.202, allocations: 127.3 kB / 0.7924 GB, free: 128.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.341e-05/1.202, allocations: 10.95 kB / 0.7924 GB, free: 128.4 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.643e-05/1.202, allocations: 19.53 kB / 0.7924 GB, free: 128.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.922e-05/1.202, allocations: 14.78 kB / 0.7924 GB, free: 128.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.758e-06/1.202, allocations: 5.656 kB / 0.7924 GB, free: 128.4 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00226/1.204, allocations: 1.271 MB / 0.7937 GB, free: 127.6 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003572/1.204, allocations: 212.1 kB / 0.7939 GB, free: 127.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001861/1.205, allocations: 25.09 kB / 0.7939 GB, free: 127.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009262/1.206, allocations: 77.91 kB / 0.794 GB, free: 127.4 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002174/1.206, allocations: 63.36 kB / 0.7941 GB, free: 127.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-05/1.206, allocations: 30.94 kB / 0.7941 GB, free: 127.4 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001435/1.207, allocations: 0.6529 MB / 0.7947 GB, free: 127.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.21e-07/1.207, allocations: 4 kB / 0.7947 GB, free: 127.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001154/1.209, allocations: 191.3 kB / 0.7949 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.002792/1.211, allocations: 3.485 MB / 0.7983 GB, free: 124.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001929/1.213, allocations: 0.6635 MB / 0.799 GB, free: 123.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 9.327e-06/1.213, allocations: 1.375 kB / 0.799 GB, free: 123.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001222/1.215, allocations: 383.8 kB / 0.7993 GB, free: 123.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/1.216, allocations: 123.7 kB / 0.7994 GB, free: 123.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005025/1.221, allocations: 1.592 MB / 0.801 GB, free: 122.8 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009877/1.222, allocations: 1.102 MB / 0.8021 GB, free: 122 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001052/1.223, allocations: 174.1 kB / 0.8022 GB, free: 122 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008766/1.224, allocations: 438.5 kB / 0.8027 GB, free: 121.7 MB / 0.6511 GB Notification: Performance of SimCode: time 1.422e-06/1.224, allocations: 1.25 kB / 0.8027 GB, free: 121.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05432/1.278, allocations: 16.8 MB / 0.8191 GB, free: 116.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002363/1.279, allocations: 201.1 kB / 0.8193 GB, free: 115.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.058/4.336, allocations: 0 / 0.8193 GB, free: 115.8 MB / 0.6511 GB