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: 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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004156/0.004162, allocations: 232.1 kB / 15.8 MB, free: 6.285 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.001182/0.001182, allocations: 178.8 kB / 16.69 MB, free: 5.449 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 3.79/3.79, allocations: 389.1 MB / 406.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.99/3.99, allocations: 472.3 MB / 0.9024 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004945/0.0004947, allocations: 8 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1805, allocations: 98.73 MB / 1.105 GB, free: 42.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves): time 0.005723/0.1862, allocations: 4.165 MB / 1.109 GB, free: 37.86 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004454/0.1907, allocations: 1.877 MB / 1.111 GB, free: 35.98 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009368/0.1918, allocations: 27.88 kB / 1.111 GB, free: 35.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003205/0.1921, allocations: 94.89 kB / 1.111 GB, free: 35.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0009382/0.1931, allocations: 166.2 kB / 1.111 GB, free: 35.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001791/0.1949, allocations: 0.5131 MB / 1.111 GB, free: 35.19 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001871/0.1967, allocations: 1.465 MB / 1.113 GB, free: 33.72 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00152/0.1983, allocations: 0.9346 MB / 1.114 GB, free: 32.82 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005644/0.1989, allocations: 382 kB / 1.114 GB, free: 32.45 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005184/0.1994, allocations: 445.4 kB / 1.114 GB, free: 32.01 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.000152/0.1996, allocations: 44 kB / 1.114 GB, free: 31.97 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001873/0.1998, allocations: 54.91 kB / 1.115 GB, free: 31.92 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001963/0.2, allocations: 199.1 kB / 1.115 GB, free: 31.72 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002372/0.2002, allocations: 248.9 kB / 1.115 GB, free: 31.47 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001809/0.2021, allocations: 1.745 MB / 1.117 GB, free: 29.72 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.463e-06/0.2021, allocations: 0 / 1.117 GB, free: 29.72 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.776e-06/0.2021, allocations: 0 / 1.117 GB, free: 29.72 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.868e-05/0.2021, allocations: 0 / 1.117 GB, free: 29.72 MB / 0.6042 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.003742/0.2059, allocations: 1.425 MB / 1.118 GB, free: 28.25 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.206, allocations: 8.031 kB / 1.118 GB, free: 28.25 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003248/0.2063, allocations: 154.2 kB / 1.118 GB, free: 28.09 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001944/0.2082, allocations: 0.8546 MB / 1.119 GB, free: 27.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/0.2084, allocations: 106.3 kB / 1.119 GB, free: 27.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002391/0.2087, allocations: 132 kB / 1.119 GB, free: 26.97 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003133/0.2118, allocations: 1.251 MB / 1.121 GB, free: 25.66 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.793e-05/0.2119, allocations: 7.984 kB / 1.121 GB, free: 25.66 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001591/0.212, allocations: 48 kB / 1.121 GB, free: 25.61 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.547e-05/0.2121, allocations: 28 kB / 1.121 GB, free: 25.58 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002952/0.215, allocations: 0.9509 MB / 1.122 GB, free: 24.63 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00783/0.2229, allocations: 3.906 MB / 1.125 GB, free: 20.66 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002611/0.2256, allocations: 0.8326 MB / 1.126 GB, free: 19.84 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001295/0.2269, allocations: 397 kB / 1.127 GB, free: 19.45 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.101e-05/0.227, allocations: 14.05 kB / 1.127 GB, free: 19.44 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001539/0.2286, allocations: 0.5114 MB / 1.127 GB, free: 18.92 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=86): time 6.703e-06/0.2287, allocations: 5.078 kB / 1.127 GB, free: 18.92 MB / 0.6042 GB Notification: Performance of matching and sorting (n=86): time 0.00405/0.2327, allocations: 1.204 MB / 1.128 GB, free: 17.72 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.2328, allocations: 60.41 kB / 1.128 GB, free: 17.65 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001441/0.2343, allocations: 0.8452 MB / 1.129 GB, free: 16.79 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002424/0.2345, allocations: 61.7 kB / 1.129 GB, free: 16.72 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005503/0.2351, allocations: 0.562 MB / 1.13 GB, free: 16.15 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003456/0.2355, allocations: 254.7 kB / 1.13 GB, free: 15.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.325e-05/0.2356, allocations: 20 kB / 1.13 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.7e-05/0.2357, allocations: 345.9 kB / 1.13 GB, free: 15.54 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001252/0.2369, allocations: 346.9 kB / 1.131 GB, free: 15.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001412/0.2384, allocations: 0.6252 MB / 1.131 GB, free: 14.46 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/0.2396, allocations: 383.6 kB / 1.132 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.2397, allocations: 1.625 kB / 1.132 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.003104/0.2428, allocations: 1.086 MB / 1.133 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001714/0.243, allocations: 318.7 kB / 1.133 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/0.243, allocations: 8 kB / 1.133 GB, free: 12.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.234e-05/0.2431, allocations: 12 kB / 1.133 GB, free: 12.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/0.2445, allocations: 195 kB / 1.133 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.561e-05/0.2445, allocations: 16 kB / 1.133 GB, free: 12.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/0.2457, allocations: 152.4 kB / 1.133 GB, free: 12.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/0.2458, allocations: 44 kB / 1.133 GB, free: 12.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.2458, allocations: 6.844 kB / 1.133 GB, free: 12.2 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002708/0.2486, allocations: 0.9451 MB / 1.134 GB, free: 11.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/0.2486, allocations: 10.38 kB / 1.134 GB, free: 11.26 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.2487, allocations: 12 kB / 1.134 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/0.25, allocations: 191.6 kB / 1.135 GB, free: 11.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.422e-05/0.25, allocations: 22.06 kB / 1.135 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/0.2512, allocations: 138.3 kB / 1.135 GB, free: 10.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001655/0.2514, allocations: 47.95 kB / 1.135 GB, free: 10.86 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 62 ($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.truHol2.onDelay.t_next,$whenCondition4,$PRE.damVal.truDel3.t_next,$whenCondition1,$PRE.damVal.truDel4.t_next,damVal.truHol2.onDelay.t_next,damVal.truDel3.t_next,damVal.truDel4.t_next,damVal.truHol2.stateGraphRoot.resume,damVal.truHol2.stateGraphRoot.suspend,damVal.unOcc.y,$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,damVal.truHol2.initialStep.active,$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,$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 (141): * Single equations (assignments): 141 * 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.0008579/0.2522, allocations: 411.7 kB / 1.135 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002502/0.2525, allocations: 109 kB / 1.135 GB, free: 10.34 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00303/0.2555, allocations: 0.9849 MB / 1.136 GB, free: 9.355 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.03e-05/0.2556, allocations: 7.984 kB / 1.136 GB, free: 9.348 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.2556, allocations: 0 / 1.136 GB, free: 9.348 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000537/0.2562, allocations: 259.5 kB / 1.136 GB, free: 9.074 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000209/0.2564, allocations: 33.19 kB / 1.136 GB, free: 9.043 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008016/0.2572, allocations: 59.38 kB / 1.137 GB, free: 8.988 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002874/0.2575, allocations: 96.83 kB / 1.137 GB, free: 8.895 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003408/0.2609, allocations: 1.015 MB / 1.138 GB, free: 7.887 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004142/0.2651, allocations: 1.584 MB / 1.139 GB, free: 6.297 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001177/0.2664, allocations: 451.4 kB / 1.14 GB, free: 5.859 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009436/0.2673, allocations: 0.5424 MB / 1.14 GB, free: 5.305 MB / 0.6042 GB Notification: Performance of Backend: time 7.11e-07/0.2673, allocations: 0 / 1.14 GB, free: 5.305 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003698/0.271, allocations: 1.199 MB / 1.141 GB, free: 4.113 MB / 0.6042 GB Notification: Performance of SimCode: time 0.004265/0.2753, allocations: 2.554 MB / 1.144 GB, free: 1.547 MB / 0.6042 GB Notification: Performance of Templates: time 0.06203/0.3374, allocations: 13.85 MB / 1.157 GB, free: 4.258 MB / 0.6198 GB