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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01138/0.01138, allocations: 108 kB / 15.05 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001166/0.001166, allocations: 183.8 kB / 15.95 MB, free: 5.941 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.084/2.084, allocations: 194.6 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.316/2.316, allocations: 236.1 MB / 492.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004847/0.0004848, allocations: 12 kB / 0.5871 GB, free: 2.039 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7272/0.7278, allocations: 98.71 MB / 0.6835 GB, free: 16.72 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2508/0.9787, allocations: 133.9 MB / 0.8143 GB, free: 8.223 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003013/0.979, allocations: 83.94 kB / 0.8143 GB, free: 8.141 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.08838/1.067, allocations: 21.15 MB / 0.835 GB, free: 2.945 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.825e-06/1.067, allocations: 0 / 0.835 GB, free: 2.945 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001548/1.068, allocations: 36 kB / 0.835 GB, free: 2.91 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.005089/1.073, allocations: 1.446 MB / 0.8364 GB, free: 1.395 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/1.073, allocations: 8.031 kB / 0.8365 GB, free: 1.387 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005717/1.073, allocations: 181.4 kB / 0.8366 GB, free: 1.199 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004277/1.074, allocations: 162.2 kB / 0.8368 GB, free: 1.039 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002063/1.076, allocations: 0.7446 MB / 0.8375 GB, free: 260 kB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001488/1.076, allocations: 102.3 kB / 0.8376 GB, free: 156 kB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003277/1.076, allocations: 132 kB / 0.8377 GB, free: 24 kB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004502/1.081, allocations: 1.303 MB / 0.839 GB, free: 14.65 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.485e-05/1.081, allocations: 0 / 0.839 GB, free: 14.65 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002248/1.081, allocations: 59.94 kB / 0.8391 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.362e-05/1.081, allocations: 28 kB / 0.8391 GB, free: 14.56 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004475/1.086, allocations: 1.032 MB / 0.8401 GB, free: 13.52 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01133/1.097, allocations: 3.928 MB / 0.8439 GB, free: 9.512 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004117/1.101, allocations: 0.9972 MB / 0.8449 GB, free: 8.508 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00013/1.102, allocations: 16.66 kB / 0.8449 GB, free: 8.492 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002282/1.104, allocations: 0.623 MB / 0.8455 GB, free: 7.844 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=90): time 4.549e-06/1.104, allocations: 0 / 0.8455 GB, free: 7.844 MB / 0.6667 GB Notification: Performance of matching and sorting (n=90): time 0.0053/1.109, allocations: 1.37 MB / 0.8469 GB, free: 6.469 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001904/1.109, allocations: 248.3 kB / 0.8471 GB, free: 6.172 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001868/1.111, allocations: 0.7923 MB / 0.8479 GB, free: 5.359 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.000336/1.112, allocations: 61.7 kB / 0.8479 GB, free: 5.293 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007302/1.112, allocations: 0.5276 MB / 0.8485 GB, free: 4.758 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004486/1.113, allocations: 256.8 kB / 0.8487 GB, free: 4.504 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/1.113, allocations: 23.94 kB / 0.8487 GB, free: 4.48 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001565/1.113, allocations: 345.9 kB / 0.849 GB, free: 4.137 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00162/1.115, allocations: 382.5 kB / 0.8494 GB, free: 3.762 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001843/1.117, allocations: 0.6436 MB / 0.85 GB, free: 3.016 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00162/1.118, allocations: 402.8 kB / 0.8504 GB, free: 2.621 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.486e-05/1.118, allocations: 4 kB / 0.8504 GB, free: 2.617 MB / 0.6667 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.003988/1.122, allocations: 1.098 MB / 0.8515 GB, free: 1.512 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007987/1.123, allocations: 1.845 MB / 0.8533 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.042e-05/1.123, allocations: 4 kB / 0.8533 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.764e-05/1.123, allocations: 8 kB / 0.8533 GB, free: 15.51 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001599/1.125, allocations: 175.7 kB / 0.8535 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.217e-05/1.125, allocations: 15.98 kB / 0.8535 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001718/1.127, allocations: 183 kB / 0.8537 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002333/1.127, allocations: 36 kB / 0.8537 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/1.127, allocations: 7.938 kB / 0.8537 GB, free: 15.1 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003473/1.131, allocations: 0.9098 MB / 0.8546 GB, free: 14.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.175e-05/1.131, allocations: 4 kB / 0.8546 GB, free: 14.19 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/1.131, allocations: 12 kB / 0.8546 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/1.132, allocations: 167.9 kB / 0.8548 GB, free: 14.01 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.364e-05/1.132, allocations: 15.92 kB / 0.8548 GB, free: 14 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/1.134, allocations: 171 kB / 0.855 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/1.134, allocations: 36 kB / 0.855 GB, free: 13.79 MB / 0.6823 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 () * Number of clocked 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.001035/1.135, allocations: 420.8 kB / 0.8554 GB, free: 13.37 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002926/1.135, allocations: 106.7 kB / 0.8555 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003728/1.139, allocations: 1.103 MB / 0.8566 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/1.139, allocations: 8 kB / 0.8566 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/1.139, allocations: 0 / 0.8566 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.531e-05/1.139, allocations: 3.984 kB / 0.8566 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006614/1.145, allocations: 2.515 MB / 0.859 GB, free: 9.543 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/1.146, allocations: 3.953 kB / 0.859 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001181/1.147, allocations: 143.9 kB / 0.8592 GB, free: 9.398 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.454e-05/1.147, allocations: 4 kB / 0.8592 GB, free: 9.395 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/1.147, allocations: 23.98 kB / 0.8592 GB, free: 9.371 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.148e-05/1.147, allocations: 4 kB / 0.8592 GB, free: 9.367 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/1.147, allocations: 0 / 0.8592 GB, free: 9.367 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00541/1.152, allocations: 1.75 MB / 0.8609 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006913/1.153, allocations: 291.5 kB / 0.8612 GB, free: 7.262 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002431/1.153, allocations: 27.98 kB / 0.8612 GB, free: 7.234 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/1.154, allocations: 104 kB / 0.8613 GB, free: 7.133 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003358/1.155, allocations: 104.8 kB / 0.8614 GB, free: 7.031 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/1.155, allocations: 39.97 kB / 0.8615 GB, free: 6.992 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001228/1.156, allocations: 0.5827 MB / 0.862 GB, free: 6.398 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.21e-07/1.156, allocations: 0 / 0.862 GB, free: 6.398 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001639/1.158, allocations: 403.2 kB / 0.8624 GB, free: 6.004 MB / 0.6823 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) * Number of clocked states: 0 () * 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.005967/1.164, allocations: 2.642 MB / 0.865 GB, free: 3.312 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005005/1.169, allocations: 1.48 MB / 0.8664 GB, free: 1.832 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/1.169, allocations: 0 / 0.8664 GB, free: 1.832 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0018/1.171, allocations: 0.5337 MB / 0.867 GB, free: 1.301 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001595/1.172, allocations: 194.8 kB / 0.8671 GB, free: 1.113 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008159/1.181, allocations: 6.081 MB / 0.8731 GB, free: 10.87 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009588/1.182, allocations: 1.114 MB / 0.8742 GB, free: 9.727 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001295/1.183, allocations: 164.2 kB / 0.8743 GB, free: 9.562 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001177/1.184, allocations: 479.2 kB / 0.8748 GB, free: 9.094 MB / 0.698 GB Notification: Performance of SimCode: time 1.052e-06/1.184, allocations: 0 / 0.8748 GB, free: 9.094 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07562/1.26, allocations: 21.53 MB / 0.8958 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003519/1.26, allocations: 222.8 kB / 0.896 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.978/5.239, allocations: 0 / 0.896 GB, free: 3.598 MB / 0.7136 GB