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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 4.015/4.015, allocations: 433.4 MB / 440.9 MB, free: 10.35 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.947e-05/1.952e-05, allocations: 4 kB / 0.5325 GB, free: 1.836 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4911/0.4912, allocations: 98.71 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2034/0.6946, allocations: 133.2 MB / 0.759 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/0.695, allocations: 83.95 kB / 0.7591 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.07357/0.7685, allocations: 20.91 MB / 0.7795 GB, free: 5.316 MB / 0.6511 GB Notification: Performance of FrontEnd: time 4.943e-06/0.7686, allocations: 7.984 kB / 0.7795 GB, free: 5.309 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001046/0.7687, allocations: 35.98 kB / 0.7796 GB, free: 5.273 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.003093/0.7718, allocations: 1.314 MB / 0.7808 GB, free: 3.895 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.7719, allocations: 16.02 kB / 0.7809 GB, free: 3.879 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000509/0.7724, allocations: 154.2 kB / 0.781 GB, free: 3.727 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001743/0.7742, allocations: 0.7407 MB / 0.7817 GB, free: 2.941 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.274e-05/0.7743, allocations: 47.98 kB / 0.7818 GB, free: 2.895 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002286/0.7745, allocations: 83.91 kB / 0.7818 GB, free: 2.812 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002295/0.7768, allocations: 0.813 MB / 0.7826 GB, free: 1.996 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002698/0.7795, allocations: 1.065 MB / 0.7837 GB, free: 0.8672 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.458e-05/0.7796, allocations: 3.953 kB / 0.7837 GB, free: 0.8633 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001354/0.7797, allocations: 7.984 kB / 0.7837 GB, free: 0.8555 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-05/0.7798, allocations: 28 kB / 0.7837 GB, free: 0.8281 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007886/0.7877, allocations: 3.657 MB / 0.7873 GB, free: 13.1 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002096/0.7898, allocations: 0.8149 MB / 0.7881 GB, free: 12.28 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007678/0.7906, allocations: 335.2 kB / 0.7884 GB, free: 11.95 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 7.469e-05/0.7907, allocations: 12.77 kB / 0.7884 GB, free: 11.93 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001156/0.7919, allocations: 0.5131 MB / 0.7889 GB, free: 11.4 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=90): time 4.047e-06/0.7919, allocations: 0 / 0.7889 GB, free: 11.4 MB / 0.6667 GB Notification: Performance of matching and sorting (n=90): time 0.002089/0.794, allocations: 0.7804 MB / 0.7897 GB, free: 10.61 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001699/0.7942, allocations: 248.1 kB / 0.7899 GB, free: 10.31 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/0.7954, allocations: 0.5659 MB / 0.7905 GB, free: 9.742 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001597/0.7955, allocations: 49.69 kB / 0.7905 GB, free: 9.688 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006096/0.7962, allocations: 0.5331 MB / 0.791 GB, free: 9.148 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003078/0.7965, allocations: 248.6 kB / 0.7913 GB, free: 8.902 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-05/0.7966, allocations: 0 / 0.7913 GB, free: 8.902 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001959/0.7968, allocations: 345.9 kB / 0.7916 GB, free: 8.559 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007568/0.7975, allocations: 290.6 kB / 0.7919 GB, free: 8.273 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/0.7986, allocations: 0.536 MB / 0.7924 GB, free: 7.633 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007777/0.7994, allocations: 317.3 kB / 0.7927 GB, free: 7.328 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.816e-06/0.7994, allocations: 3.953 kB / 0.7927 GB, free: 7.324 MB / 0.6667 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002157/0.8016, allocations: 0.8588 MB / 0.7936 GB, free: 6.457 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009935/0.8026, allocations: 1.838 MB / 0.7953 GB, free: 4.473 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/0.8026, allocations: 11.95 kB / 0.7954 GB, free: 4.461 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.057e-05/0.8027, allocations: 12 kB / 0.7954 GB, free: 4.449 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000974/0.8036, allocations: 179.6 kB / 0.7955 GB, free: 4.273 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.692e-05/0.8037, allocations: 8 kB / 0.7955 GB, free: 4.266 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009703/0.8047, allocations: 135.4 kB / 0.7957 GB, free: 4.133 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/0.8048, allocations: 40 kB / 0.7957 GB, free: 4.094 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.8048, allocations: 4 kB / 0.7957 GB, free: 4.09 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001865/0.8067, allocations: 0.714 MB / 0.7964 GB, free: 3.375 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.8067, allocations: 4 kB / 0.7964 GB, free: 3.371 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.8068, allocations: 15.94 kB / 0.7964 GB, free: 3.355 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008538/0.8076, allocations: 160.2 kB / 0.7966 GB, free: 3.199 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.875e-05/0.8077, allocations: 19.94 kB / 0.7966 GB, free: 3.18 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008898/0.8086, allocations: 107.5 kB / 0.7967 GB, free: 3.074 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.8087, allocations: 39.98 kB / 0.7967 GB, free: 3.035 MB / 0.6667 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.000362/0.8091, allocations: 176.7 kB / 0.7969 GB, free: 2.859 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002311/0.8093, allocations: 94.88 kB / 0.797 GB, free: 2.766 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002246/0.8116, allocations: 0.8535 MB / 0.7978 GB, free: 1.895 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/0.8116, allocations: 8 kB / 0.7978 GB, free: 1.887 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.849e-06/0.8116, allocations: 0 / 0.7978 GB, free: 1.887 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.405e-05/0.8116, allocations: 7.922 kB / 0.7979 GB, free: 1.879 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4408/1.252, allocations: 2.134 MB / 0.7999 GB, free: 151.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/1.252, allocations: 1.062 kB / 0.7999 GB, free: 151.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/1.254, allocations: 136.5 kB / 0.8001 GB, free: 151.2 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.056e-05/1.254, allocations: 8.266 kB / 0.8001 GB, free: 151.2 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001214/1.254, allocations: 13.66 kB / 0.8001 GB, free: 151.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.415e-05/1.254, allocations: 9.859 kB / 0.8001 GB, free: 151.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.852e-06/1.254, allocations: 1.5 kB / 0.8001 GB, free: 151.2 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003465/1.257, allocations: 1.422 MB / 0.8015 GB, free: 150.9 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005848/1.258, allocations: 265.4 kB / 0.8017 GB, free: 150.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002051/1.258, allocations: 18.48 kB / 0.8018 GB, free: 150.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009374/1.259, allocations: 88.62 kB / 0.8018 GB, free: 150.8 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003309/1.259, allocations: 103.6 kB / 0.8019 GB, free: 150.8 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/1.259, allocations: 45.8 kB / 0.802 GB, free: 150.8 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0006777/1.26, allocations: 406.7 kB / 0.8024 GB, free: 150.7 MB / 0.6667 GB Notification: Performance of sort global known variables: time 9.46e-07/1.26, allocations: 1.5 kB / 0.8024 GB, free: 150.7 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001553/1.262, allocations: 385.5 kB / 0.8027 GB, free: 150.7 MB / 0.6667 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.0003016/1.262, allocations: 162.3 kB / 0.8029 GB, free: 150.7 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002831/1.265, allocations: 1.224 MB / 0.8041 GB, free: 150.6 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.008e-06/1.265, allocations: 1.188 kB / 0.8041 GB, free: 150.6 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001012/1.266, allocations: 440.9 kB / 0.8045 GB, free: 150.6 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/1.267, allocations: 175.2 kB / 0.8047 GB, free: 150.6 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003468/1.271, allocations: 1.387 MB / 0.806 GB, free: 150.2 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008183/1.271, allocations: 1.111 MB / 0.8071 GB, free: 149.5 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001354/1.273, allocations: 183.2 kB / 0.8073 GB, free: 149.5 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003376/1.273, allocations: 72.02 kB / 0.8074 GB, free: 149.5 MB / 0.6667 GB Notification: Performance of SimCode: time 1.683e-06/1.273, allocations: 0 / 0.8074 GB, free: 149.5 MB / 0.6667 GB Notification: Performance of Templates: time 0.03068/1.304, allocations: 11.58 MB / 0.8187 GB, free: 149 MB / 0.6667 GB