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.Validation.DamperValves.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.Validation.DamperValves,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_Validation_DamperValves",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.184/4.184, allocations: 433.2 MB / 440.7 MB, free: 4.57 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.404e-05/2.418e-05, allocations: 3.406 kB / 0.5325 GB, free: 12.75 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2159, allocations: 98.73 MB / 0.6289 GB, free: 9.082 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2486/0.4646, allocations: 133.2 MB / 0.759 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/0.4649, allocations: 83.94 kB / 0.7591 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.6817/1.147, allocations: 20.92 MB / 0.7795 GB, free: 132.8 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.295e-06/1.147, allocations: 3.062 kB / 0.7795 GB, free: 132.8 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001231/1.147, allocations: 27.5 kB / 0.7795 GB, free: 132.8 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: 295 * Number of variables: 295 Notification: Performance of Generate backend data structure: time 0.003941/1.151, allocations: 1.333 MB / 0.7808 GB, free: 132.2 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/1.151, allocations: 9.797 kB / 0.7808 GB, free: 132.2 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006622/1.152, allocations: 159.3 kB / 0.781 GB, free: 132.1 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002055/1.154, allocations: 0.7363 MB / 0.7817 GB, free: 131.8 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000153/1.154, allocations: 46.88 kB / 0.7818 GB, free: 131.8 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003826/1.154, allocations: 82.03 kB / 0.7818 GB, free: 131.8 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003144/1.157, allocations: 0.8111 MB / 0.7826 GB, free: 131.8 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003257/1.161, allocations: 1.057 MB / 0.7837 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.369e-05/1.161, allocations: 1.375 kB / 0.7837 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001626/1.161, allocations: 7.422 kB / 0.7837 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.247e-05/1.161, allocations: 28.88 kB / 0.7837 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01007/1.171, allocations: 3.655 MB / 0.7873 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002462/1.174, allocations: 0.8119 MB / 0.7881 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009013/1.175, allocations: 332.8 kB / 0.7884 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/1.175, allocations: 15.31 kB / 0.7884 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001367/1.176, allocations: 0.5126 MB / 0.7889 GB, free: 130.5 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=90): time 3.948e-06/1.176, allocations: 0 / 0.7889 GB, free: 130.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=90): time 0.002551/1.179, allocations: 0.787 MB / 0.7897 GB, free: 130.4 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/1.179, allocations: 246.7 kB / 0.7899 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/1.18, allocations: 0.5695 MB / 0.7904 GB, free: 129.9 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0003363/1.18, allocations: 48.81 kB / 0.7905 GB, free: 129.9 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006344/1.181, allocations: 0.5323 MB / 0.791 GB, free: 129.7 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003879/1.181, allocations: 247.1 kB / 0.7912 GB, free: 129.5 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.845e-05/1.182, allocations: 0 / 0.7912 GB, free: 129.5 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001128/1.182, allocations: 342 kB / 0.7916 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008392/1.183, allocations: 290.1 kB / 0.7919 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/1.184, allocations: 0.541 MB / 0.7924 GB, free: 128.9 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008554/1.184, allocations: 321.2 kB / 0.7927 GB, free: 128.9 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/1.184, allocations: 2.406 kB / 0.7927 GB, free: 128.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002449/1.187, allocations: 0.8518 MB / 0.7935 GB, free: 128.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004346/1.187, allocations: 1.838 MB / 0.7953 GB, free: 126.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/1.187, allocations: 7.406 kB / 0.7953 GB, free: 126.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.458e-05/1.188, allocations: 9.719 kB / 0.7953 GB, free: 126.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001581/1.189, allocations: 185.6 kB / 0.7955 GB, free: 126.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.542e-05/1.189, allocations: 14.97 kB / 0.7955 GB, free: 126.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/1.191, allocations: 134.6 kB / 0.7957 GB, free: 126.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001388/1.191, allocations: 40.53 kB / 0.7957 GB, free: 126.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/1.191, allocations: 3.656 kB / 0.7957 GB, free: 126.8 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00215/1.193, allocations: 0.7143 MB / 0.7964 GB, free: 126.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.265e-05/1.193, allocations: 5.406 kB / 0.7964 GB, free: 126.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.671e-05/1.193, allocations: 11.14 kB / 0.7964 GB, free: 126.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001426/1.195, allocations: 165.2 kB / 0.7966 GB, free: 126.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.16e-05/1.195, allocations: 17.98 kB / 0.7966 GB, free: 126.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/1.196, allocations: 116 kB / 0.7967 GB, free: 126.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001345/1.196, allocations: 36.08 kB / 0.7967 GB, free: 126.7 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 61 ($PRE.damVal.truHol2.onDelay.u,$PRE.damVal.truHol2.toOutputTrue.enableFire,$PRE.damVal.truHol2.toInitial.enableFire,$PRE.damVal.truDel3.u,$PRE.damVal.truDel4.u,$whenCondition7,$PRE.damVal.truDel4.t_next,$whenCondition4,$PRE.damVal.truDel3.t_next,$whenCondition1,$PRE.damVal.truHol2.onDelay.t_next,damVal.truDel4.t_next,damVal.truDel3.t_next,damVal.truHol2.onDelay.t_next,damVal.truHol2.stateGraphRoot.resume,damVal.truHol2.stateGraphRoot.suspend,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition5,$whenCondition6,$whenCondition2,$whenCondition3,damVal.and2.y,damVal.and4.y,$PRE.damVal.hys2.y,damVal.hys2.y,$PRE.damVal.hys3.y,damVal.hys3.y,$PRE.damVal.hys4.y,damVal.hys4.y,$PRE.damVal.hys6.y,damVal.hys6.y,$PRE.damVal.hys7.y,damVal.hys7.y,damVal.truHol2.stateGraphRoot.activeSteps,damVal.truHol2.onDelay.u,damVal.truHol2.onDelay.y,$PRE.damVal.truHol2.initialStep.localActive,damVal.truHol2.initialStep.localActive,$PRE.damVal.truHol2.initialStep.newActive,damVal.truHol2.initialStep.newActive,$PRE.damVal.truHol2.initialStep.oldActive,damVal.truHol2.initialStep.oldActive,damVal.truHol2.initialStep.active,$PRE.damVal.truHol2.outputTrue.localActive,damVal.truHol2.outputTrue.localActive,$PRE.damVal.truHol2.outputTrue.newActive,damVal.truHol2.outputTrue.newActive,$PRE.damVal.truHol2.outputTrue.oldActive,damVal.truHol2.outputTrue.oldActive,damVal.truHol2.outputTrue.active,damVal.truHol2.toOutputTrue.enableFire,damVal.truHol2.toInitial.enableFire,damVal.truDel3.u,damVal.truDel3.y,damVal.truDel4.u,damVal.truDel4.y,damVal.or2.y,damVal.and1.y,damVal.conDam.trigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 129 * 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.0004439/1.197, allocations: 174.2 kB / 0.7969 GB, free: 126.6 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002169/1.199, allocations: 0.7758 MB / 0.7976 GB, free: 126.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002035/1.199, allocations: 90.27 kB / 0.7977 GB, free: 126.4 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002395/1.201, allocations: 0.8535 MB / 0.7986 GB, free: 126.4 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.772e-05/1.201, allocations: 9.375 kB / 0.7986 GB, free: 126.4 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.427e-06/1.201, allocations: 7.562 kB / 0.7986 GB, free: 126.4 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-05/1.202, allocations: 8.641 kB / 0.7986 GB, free: 126.4 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005287/1.207, allocations: 2.133 MB / 0.8007 GB, free: 125.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/1.207, allocations: 5.516 kB / 0.8007 GB, free: 125.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001218/1.208, allocations: 132.5 kB / 0.8008 GB, free: 125.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-05/1.208, allocations: 5.531 kB / 0.8008 GB, free: 125.9 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001289/1.208, allocations: 17.84 kB / 0.8008 GB, free: 125.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.056e-05/1.208, allocations: 12.02 kB / 0.8008 GB, free: 125.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/1.208, allocations: 2.219 kB / 0.8008 GB, free: 125.9 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003389/1.212, allocations: 1.426 MB / 0.8022 GB, free: 125.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006871/1.212, allocations: 260.9 kB / 0.8025 GB, free: 125 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000224/1.213, allocations: 14.2 kB / 0.8025 GB, free: 125 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/1.214, allocations: 86.36 kB / 0.8026 GB, free: 125 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003928/1.214, allocations: 113.6 kB / 0.8027 GB, free: 125 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/1.214, allocations: 42.98 kB / 0.8027 GB, free: 125 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0007545/1.215, allocations: 405.7 kB / 0.8031 GB, free: 124.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.61e-07/1.215, allocations: 0 / 0.8031 GB, free: 124.8 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001853/1.217, allocations: 387.2 kB / 0.8035 GB, free: 124.7 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (damVal.conVal.I.y,damVal.conDam.I.y) * Number of discrete variables: 41 (damVal.truDel4.u,damVal.truHol2.onDelay.u,damVal.truHol2.outputTrue.localActive,damVal.truHol2.outputTrue.active,damVal.truHol2.initialStep.active,damVal.truDel3.u,$cse1,$cse2,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition1,$whenCondition2,$whenCondition3,damVal.and2.y,damVal.and4.y,damVal.hys2.y,damVal.hys3.y,damVal.hys4.y,damVal.hys6.y,damVal.hys7.y,damVal.truHol2.stateGraphRoot.activeSteps,damVal.truHol2.onDelay.y,damVal.truHol2.onDelay.t_next,damVal.truHol2.initialStep.localActive,damVal.truHol2.initialStep.newActive,damVal.truHol2.initialStep.oldActive,damVal.truHol2.outputTrue.newActive,damVal.truHol2.outputTrue.oldActive,damVal.truHol2.toOutputTrue.enableFire,damVal.truHol2.toInitial.enableFire,damVal.truDel3.y,damVal.truDel3.t_next,damVal.truDel4.y,damVal.truDel4.t_next,damVal.or2.y,damVal.and1.y) * Number of discrete states: 10 (damVal.truDel4.t_next,damVal.truDel3.t_next,damVal.truHol2.onDelay.t_next,damVal.hys4.y,damVal.hys6.y,damVal.truHol2.initialStep.newActive,damVal.truHol2.outputTrue.newActive,damVal.hys3.y,damVal.hys7.y,damVal.hys2.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.003562/1.221, allocations: 2.313 MB / 0.8057 GB, free: 123.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003029/1.224, allocations: 1.22 MB / 0.8069 GB, free: 122.6 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/1.224, allocations: 3.688 kB / 0.8069 GB, free: 122.6 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001021/1.225, allocations: 437.9 kB / 0.8074 GB, free: 122.4 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001402/1.226, allocations: 179 kB / 0.8075 GB, free: 122.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004602/1.231, allocations: 1.537 MB / 0.809 GB, free: 121.7 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000634/1.231, allocations: 1.11 MB / 0.8101 GB, free: 121 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001403/1.233, allocations: 187.9 kB / 0.8103 GB, free: 120.9 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008547/1.234, allocations: 451.6 kB / 0.8107 GB, free: 120.6 MB / 0.6511 GB Notification: Performance of SimCode: time 1.152e-06/1.234, allocations: 0 / 0.8107 GB, free: 120.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07561/1.309, allocations: 19.94 MB / 0.8302 GB, free: 109.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002168/1.31, allocations: 182.6 kB / 0.8304 GB, free: 109.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.459/4.769, allocations: 0 / 0.8304 GB, free: 109.3 MB / 0.6511 GB