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.Validation.DamperValves.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves") Notification: Performance of loadModel(Buildings): time 3.949/3.949, allocations: 432.7 MB / 445.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.164e-05/3.176e-05, allocations: 4.016 kB / 0.5383 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1712, allocations: 98.72 MB / 0.6348 GB, free: 1.871 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2076/0.3788, allocations: 133.8 MB / 0.7655 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/0.3791, allocations: 79.95 kB / 0.7655 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.5432/0.9223, allocations: 21.1 MB / 0.7861 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.207e-06/0.9223, allocations: 0 / 0.7861 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001098/0.9225, allocations: 37.31 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.00298/0.9254, allocations: 1.322 MB / 0.7875 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.9255, allocations: 10.47 kB / 0.7875 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003607/0.9259, allocations: 153.7 kB / 0.7876 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/0.9272, allocations: 0.7431 MB / 0.7884 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/0.9274, allocations: 105.3 kB / 0.7885 GB, free: 132.3 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002379/0.9276, allocations: 129.8 kB / 0.7886 GB, free: 132.3 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002667/0.9303, allocations: 1.227 MB / 0.7898 GB, free: 132.2 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.54e-05/0.9304, allocations: 5.406 kB / 0.7898 GB, free: 132.1 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001575/0.9305, allocations: 53.61 kB / 0.7898 GB, free: 132.1 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.265e-05/0.9306, allocations: 33.52 kB / 0.7899 GB, free: 132.1 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002199/0.9328, allocations: 0.8751 MB / 0.7907 GB, free: 132.1 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007605/0.9404, allocations: 3.923 MB / 0.7946 GB, free: 131 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002131/0.9426, allocations: 0.8673 MB / 0.7954 GB, free: 130.9 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007923/0.9434, allocations: 360.1 kB / 0.7957 GB, free: 130.9 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.355e-05/0.9435, allocations: 12.7 kB / 0.7958 GB, free: 130.9 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001155/0.9447, allocations: 0.5522 MB / 0.7963 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=90): time 4.149e-06/0.9447, allocations: 2.188 kB / 0.7963 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=90): time 0.002135/0.9468, allocations: 0.8501 MB / 0.7971 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.467e-05/0.9469, allocations: 247.7 kB / 0.7974 GB, free: 130.4 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/0.9484, allocations: 0.782 MB / 0.7981 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001582/0.9485, allocations: 65.61 kB / 0.7982 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004601/0.949, allocations: 0.529 MB / 0.7987 GB, free: 129.9 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002294/0.9492, allocations: 251.7 kB / 0.7989 GB, free: 129.7 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.385e-05/0.9493, allocations: 24.31 kB / 0.799 GB, free: 129.7 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.68e-05/0.9494, allocations: 346.6 kB / 0.7993 GB, free: 129.4 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007934/0.9502, allocations: 306.5 kB / 0.7996 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009782/0.9512, allocations: 0.5685 MB / 0.8001 GB, free: 128.8 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000793/0.952, allocations: 339.6 kB / 0.8005 GB, free: 128.6 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.729e-06/0.9521, allocations: 1.156 kB / 0.8005 GB, free: 128.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002258/0.9543, allocations: 0.9487 MB / 0.8014 GB, free: 128.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003782/0.9547, allocations: 1.843 MB / 0.8032 GB, free: 126.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.9548, allocations: 4.25 kB / 0.8032 GB, free: 126.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.573e-05/0.9548, allocations: 10.91 kB / 0.8032 GB, free: 126.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.9558, allocations: 179.2 kB / 0.8034 GB, free: 126.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.506e-05/0.9559, allocations: 13.19 kB / 0.8034 GB, free: 126.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/0.957, allocations: 183.9 kB / 0.8036 GB, free: 126.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/0.9571, allocations: 39.91 kB / 0.8036 GB, free: 126.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.9572, allocations: 3.125 kB / 0.8036 GB, free: 126.2 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001947/0.9591, allocations: 0.8144 MB / 0.8044 GB, free: 125.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.9592, allocations: 9.125 kB / 0.8044 GB, free: 125.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.9592, allocations: 9.812 kB / 0.8044 GB, free: 125.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008711/0.9601, allocations: 170.9 kB / 0.8046 GB, free: 125.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.886e-05/0.9601, allocations: 9.875 kB / 0.8046 GB, free: 125.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.9611, allocations: 160.6 kB / 0.8048 GB, free: 125.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.703e-05/0.9612, allocations: 44.47 kB / 0.8048 GB, free: 125.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.0003503/0.9616, allocations: 206.7 kB / 0.805 GB, free: 125.6 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002865/0.9619, allocations: 110.3 kB / 0.8051 GB, free: 125.5 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002275/0.9642, allocations: 0.9522 MB / 0.806 GB, free: 125.1 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.9642, allocations: 13.22 kB / 0.806 GB, free: 125.1 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.165e-06/0.9643, allocations: 0 / 0.806 GB, free: 125.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/0.9643, allocations: 3.609 kB / 0.806 GB, free: 125.1 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004624/0.9689, allocations: 2.363 MB / 0.8084 GB, free: 123.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.985e-06/0.969, allocations: 0 / 0.8084 GB, free: 123.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008999/0.9699, allocations: 138 kB / 0.8085 GB, free: 123.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.379e-05/0.9699, allocations: 7.5 kB / 0.8085 GB, free: 123.9 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.934e-05/0.97, allocations: 25.73 kB / 0.8085 GB, free: 123.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.1e-06/0.97, allocations: 7.391 kB / 0.8085 GB, free: 123.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.902e-06/0.97, allocations: 3.656 kB / 0.8085 GB, free: 123.8 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003017/0.9731, allocations: 1.519 MB / 0.81 GB, free: 123 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000622/0.9737, allocations: 291.5 kB / 0.8103 GB, free: 122.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002554/0.974, allocations: 29.89 kB / 0.8103 GB, free: 122.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/0.975, allocations: 105.1 kB / 0.8104 GB, free: 122.8 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002738/0.9753, allocations: 110.7 kB / 0.8105 GB, free: 122.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.75e-05/0.9754, allocations: 39 kB / 0.8106 GB, free: 122.7 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001003/0.9764, allocations: 0.5737 MB / 0.8111 GB, free: 122.5 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.37e-07/0.9765, allocations: 0 / 0.8111 GB, free: 122.5 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001662/0.9781, allocations: 399.8 kB / 0.8115 GB, free: 122.4 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.0003097/0.9785, allocations: 172.6 kB / 0.8117 GB, free: 122.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002925/0.9814, allocations: 1.316 MB / 0.8129 GB, free: 121.7 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.307e-06/0.9814, allocations: 320 / 0.8129 GB, free: 121.7 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.9825, allocations: 472.1 kB / 0.8134 GB, free: 121.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001324/0.9838, allocations: 202.9 kB / 0.8136 GB, free: 121.5 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003592/0.9875, allocations: 1.463 MB / 0.815 GB, free: 120.7 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006429/0.9882, allocations: 1.104 MB / 0.8161 GB, free: 119.7 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001554/0.9897, allocations: 212.1 kB / 0.8163 GB, free: 119.6 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003248/0.9901, allocations: 74.42 kB / 0.8164 GB, free: 119.5 MB / 0.6511 GB Notification: Performance of SimCode: time 1.839e-06/0.9901, allocations: 0 / 0.8164 GB, free: 119.5 MB / 0.6511 GB Notification: Performance of Templates: time 0.03285/1.023, allocations: 13.69 MB / 0.8297 GB, free: 107 MB / 0.6511 GB