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/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.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.441/4.441, allocations: 432.6 MB / 445.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.292e-05/4.307e-05, allocations: 4.875 kB / 0.5383 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2264, allocations: 98.73 MB / 0.6348 GB, free: 1.859 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2509/0.4774, allocations: 133.9 MB / 0.7655 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003559/0.4778, allocations: 79.95 kB / 0.7655 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.6398/1.118, allocations: 21.09 MB / 0.7861 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.703e-06/1.118, allocations: 0 / 0.7861 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001679/1.118, allocations: 31.84 kB / 0.7862 GB, free: 133.4 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.004921/1.123, allocations: 1.327 MB / 0.7875 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.631e-05/1.123, allocations: 9.094 kB / 0.7875 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006349/1.123, allocations: 179.9 kB / 0.7876 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006366/1.124, allocations: 161.2 kB / 0.7878 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002129/1.126, allocations: 0.7348 MB / 0.7885 GB, free: 132.3 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001562/1.126, allocations: 105 kB / 0.7886 GB, free: 132.2 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000406/1.127, allocations: 129.2 kB / 0.7887 GB, free: 132.2 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00416/1.131, allocations: 1.23 MB / 0.7899 GB, free: 132.1 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.879e-05/1.131, allocations: 1.812 kB / 0.7899 GB, free: 132.1 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002086/1.131, allocations: 53.42 kB / 0.79 GB, free: 132 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.872e-05/1.131, allocations: 29.19 kB / 0.79 GB, free: 132 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00342/1.135, allocations: 0.8742 MB / 0.7909 GB, free: 132 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01147/1.146, allocations: 3.934 MB / 0.7947 GB, free: 130.9 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002908/1.149, allocations: 0.8708 MB / 0.7956 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001075/1.15, allocations: 357 kB / 0.7959 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001002/1.151, allocations: 9.531 kB / 0.7959 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001415/1.152, allocations: 0.5486 MB / 0.7965 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=90): time 3.738e-06/1.152, allocations: 7.594 kB / 0.7965 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=90): time 0.002819/1.155, allocations: 0.8546 MB / 0.7973 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/1.155, allocations: 245.9 kB / 0.7975 GB, free: 130.3 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001858/1.157, allocations: 0.7821 MB / 0.7983 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0003651/1.157, allocations: 62.73 kB / 0.7984 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006053/1.158, allocations: 0.524 MB / 0.7989 GB, free: 129.7 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000369/1.158, allocations: 257.1 kB / 0.7991 GB, free: 129.5 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.015e-05/1.158, allocations: 21.06 kB / 0.7991 GB, free: 129.5 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001054/1.158, allocations: 352.8 kB / 0.7995 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009899/1.159, allocations: 307.4 kB / 0.7998 GB, free: 129.1 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001166/1.161, allocations: 0.5661 MB / 0.8003 GB, free: 128.6 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009607/1.162, allocations: 332.6 kB / 0.8006 GB, free: 128.5 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/1.162, allocations: 5.312 kB / 0.8006 GB, free: 128.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.0028/1.164, allocations: 0.9475 MB / 0.8016 GB, free: 128.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004779/1.165, allocations: 1.847 MB / 0.8034 GB, free: 126.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/1.165, allocations: 4.844 kB / 0.8034 GB, free: 126.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.17e-05/1.165, allocations: 10.56 kB / 0.8034 GB, free: 126.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001603/1.167, allocations: 177.6 kB / 0.8036 GB, free: 126.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.395e-05/1.167, allocations: 17.47 kB / 0.8036 GB, free: 126.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002043/1.169, allocations: 173.6 kB / 0.8037 GB, free: 126 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002127/1.169, allocations: 39.47 kB / 0.8038 GB, free: 126 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/1.169, allocations: 2.844 kB / 0.8038 GB, free: 126 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002816/1.172, allocations: 0.8163 MB / 0.8046 GB, free: 125.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.719e-05/1.172, allocations: 8.766 kB / 0.8046 GB, free: 125.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.929e-05/1.172, allocations: 9.219 kB / 0.8046 GB, free: 125.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00158/1.174, allocations: 169.9 kB / 0.8048 GB, free: 125.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.471e-05/1.174, allocations: 13.5 kB / 0.8048 GB, free: 125.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/1.175, allocations: 165.3 kB / 0.8049 GB, free: 125.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/1.175, allocations: 46.81 kB / 0.805 GB, free: 125.6 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.0004553/1.176, allocations: 203.8 kB / 0.8052 GB, free: 125.4 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003328/1.176, allocations: 114.6 kB / 0.8053 GB, free: 125.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003248/1.179, allocations: 0.9377 MB / 0.8062 GB, free: 124.9 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/1.18, allocations: 10.81 kB / 0.8062 GB, free: 124.9 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/1.18, allocations: 0 / 0.8062 GB, free: 124.9 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.457e-05/1.18, allocations: 7.547 kB / 0.8062 GB, free: 124.9 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005387/1.185, allocations: 2.365 MB / 0.8085 GB, free: 123.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/1.185, allocations: 6.734 kB / 0.8085 GB, free: 123.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001275/1.186, allocations: 134.5 kB / 0.8086 GB, free: 123.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-05/1.186, allocations: 10.94 kB / 0.8087 GB, free: 123.7 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001246/1.186, allocations: 27.22 kB / 0.8087 GB, free: 123.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.968e-06/1.186, allocations: 3.844 kB / 0.8087 GB, free: 123.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/1.187, allocations: 0 / 0.8087 GB, free: 123.7 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003807/1.19, allocations: 1.521 MB / 0.8102 GB, free: 122.9 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008621/1.191, allocations: 296.2 kB / 0.8105 GB, free: 122.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002965/1.192, allocations: 37.53 kB / 0.8105 GB, free: 122.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001316/1.193, allocations: 98 kB / 0.8106 GB, free: 122.6 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003784/1.193, allocations: 108.1 kB / 0.8107 GB, free: 122.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001168/1.193, allocations: 38.17 kB / 0.8107 GB, free: 122.6 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001235/1.195, allocations: 0.5717 MB / 0.8113 GB, free: 122.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.41e-07/1.195, allocations: 4 kB / 0.8113 GB, free: 122.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002174/1.197, allocations: 399.8 kB / 0.8117 GB, free: 122.2 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.004112/1.201, allocations: 2.408 MB / 0.814 GB, free: 120.6 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003359/1.204, allocations: 1.321 MB / 0.8153 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/1.205, allocations: 0 / 0.8153 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001147/1.206, allocations: 465.5 kB / 0.8158 GB, free: 119.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001583/1.207, allocations: 215.7 kB / 0.816 GB, free: 119.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005048/1.212, allocations: 1.647 MB / 0.8176 GB, free: 118.2 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006905/1.213, allocations: 1.115 MB / 0.8187 GB, free: 117.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001551/1.215, allocations: 213.5 kB / 0.8189 GB, free: 117.1 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008504/1.216, allocations: 458.6 kB / 0.8193 GB, free: 116.7 MB / 0.6511 GB Notification: Performance of SimCode: time 1.503e-06/1.216, allocations: 0 / 0.8193 GB, free: 116.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06671/1.282, allocations: 23.34 MB / 0.8421 GB, free: 94.42 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002039/1.283, allocations: 196.5 kB / 0.8423 GB, free: 94.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.681/4.964, allocations: 0 / 0.8423 GB, free: 94.2 MB / 0.6511 GB