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.CDL.Logical.Validation.TrueHoldWithReset.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.CDL.Logical.Validation.TrueHoldWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset") Notification: Performance of loadModel(Buildings): time 3.977/3.977, allocations: 433.4 MB / 440.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.31e-05/4.326e-05, allocations: 8 kB / 0.5325 GB, free: 1.926 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5546/0.5546, allocations: 98.72 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2318/0.7865, allocations: 125.6 MB / 0.7516 GB, free: 1.953 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000421/0.787, allocations: 75.95 kB / 0.7517 GB, free: 1.879 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.04811/0.8351, allocations: 13.25 MB / 0.7646 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.073e-06/0.8352, allocations: 4 kB / 0.7646 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.048e-05/0.8352, allocations: 27.94 kB / 0.7646 GB, free: 4.555 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.002167/0.8374, allocations: 0.9805 MB / 0.7656 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.8375, allocations: 8.031 kB / 0.7656 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002633/0.8377, allocations: 102.9 kB / 0.7657 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.8388, allocations: 0.5134 MB / 0.7662 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.952e-05/0.8389, allocations: 43.98 kB / 0.7662 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001961/0.8391, allocations: 79.92 kB / 0.7663 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001788/0.8409, allocations: 0.6443 MB / 0.7669 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002255/0.8432, allocations: 1.006 MB / 0.7679 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.67e-05/0.8433, allocations: 7.938 kB / 0.7679 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/0.8434, allocations: 7.984 kB / 0.7679 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.307e-05/0.8434, allocations: 31.98 kB / 0.768 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007004/0.8504, allocations: 4.745 MB / 0.7726 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/0.8519, allocations: 0.5896 MB / 0.7732 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006859/0.8526, allocations: 319.6 kB / 0.7735 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.552e-05/0.8526, allocations: 11.94 kB / 0.7735 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001073/0.8537, allocations: 0.4919 MB / 0.774 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=92): time 4.56e-06/0.8538, allocations: 0 / 0.774 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of matching and sorting (n=92): time 0.001849/0.8556, allocations: 0.6966 MB / 0.7747 GB, free: 9.84 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/0.8558, allocations: 152.4 kB / 0.7748 GB, free: 9.66 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006709/0.8564, allocations: 408.2 kB / 0.7752 GB, free: 9.254 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001511/0.8566, allocations: 57.69 kB / 0.7752 GB, free: 9.191 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003868/0.857, allocations: 392 kB / 0.7756 GB, free: 8.801 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002688/0.8573, allocations: 201.5 kB / 0.7758 GB, free: 8.602 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.566e-05/0.8574, allocations: 0 / 0.7758 GB, free: 8.602 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002541/0.8576, allocations: 378.8 kB / 0.7762 GB, free: 8.223 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006575/0.8583, allocations: 255.9 kB / 0.7764 GB, free: 7.973 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/0.8594, allocations: 0.6738 MB / 0.7771 GB, free: 7.098 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000739/0.8601, allocations: 309.5 kB / 0.7774 GB, free: 6.805 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.311e-05/0.8602, allocations: 4 kB / 0.7774 GB, free: 6.801 MB / 0.6511 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.002249/0.8624, allocations: 0.9085 MB / 0.7783 GB, free: 5.891 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.246e-05/0.8625, allocations: 15.95 kB / 0.7783 GB, free: 5.875 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.518e-05/0.8625, allocations: 12 kB / 0.7783 GB, free: 5.863 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.599e-05/0.8626, allocations: 28.72 kB / 0.7783 GB, free: 5.836 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006518/0.8632, allocations: 155.6 kB / 0.7785 GB, free: 5.684 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.255e-05/0.8633, allocations: 39.86 kB / 0.7785 GB, free: 5.645 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007402/0.864, allocations: 75.41 kB / 0.7786 GB, free: 5.57 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001712/0.8642, allocations: 67.98 kB / 0.7786 GB, free: 5.504 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 132 ($PRE.truHol.onDelay.u,$PRE.truHol.toOutputTrue.enableFire,$PRE.truHol.toInitial.enableFire,$PRE.truHol1.onDelay.u,$PRE.truHol1.toOutputTrue.enableFire,$PRE.truHol1.toInitial.enableFire,$PRE.truHol2.onDelay.u,$PRE.truHol2.toOutputTrue.enableFire,$PRE.truHol2.toInitial.enableFire,$PRE.truHol3.onDelay.u,$PRE.truHol3.toOutputTrue.enableFire,$PRE.truHol3.toInitial.enableFire,$whenCondition14,$PRE.truHol.onDelay.t_next,$whenCondition13,$whenCondition15,$whenCondition16,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,truHol.stateGraphRoot.activeSteps,truHol.onDelay.u,truHol.onDelay.y,$PRE.truHol.initialStep.localActive,truHol.initialStep.localActive,$PRE.truHol.initialStep.newActive,truHol.initialStep.newActive,$PRE.truHol.initialStep.oldActive,truHol.initialStep.oldActive,truHol.initialStep.active,$PRE.truHol.outputTrue.localActive,truHol.outputTrue.localActive,$PRE.truHol.outputTrue.newActive,truHol.outputTrue.newActive,$PRE.truHol.outputTrue.oldActive,truHol.outputTrue.oldActive,truHol.outputTrue.active,truHol.toOutputTrue.enableFire,truHol.toInitial.enableFire,truHol.onDelay.t_next,$whenCondition10,$PRE.truHol1.onDelay.t_next,$whenCondition9,$whenCondition11,$whenCondition12,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,truHol1.stateGraphRoot.activeSteps,truHol1.onDelay.u,truHol1.onDelay.y,$PRE.truHol1.initialStep.localActive,truHol1.initialStep.localActive,$PRE.truHol1.initialStep.newActive,truHol1.initialStep.newActive,$PRE.truHol1.initialStep.oldActive,truHol1.initialStep.oldActive,truHol1.initialStep.active,$PRE.truHol1.outputTrue.localActive,truHol1.outputTrue.localActive,$PRE.truHol1.outputTrue.newActive,truHol1.outputTrue.newActive,$PRE.truHol1.outputTrue.oldActive,truHol1.outputTrue.oldActive,truHol1.outputTrue.active,truHol1.toOutputTrue.enableFire,truHol1.toInitial.enableFire,truHol1.onDelay.t_next,$whenCondition6,$PRE.truHol2.onDelay.t_next,$whenCondition5,$whenCondition7,$whenCondition8,$PRE.booPul2.pulseStart,booPul2.pulseStart,truHol2.stateGraphRoot.activeSteps,truHol2.onDelay.u,truHol2.onDelay.y,$PRE.truHol2.initialStep.localActive,truHol2.initialStep.localActive,$PRE.truHol2.initialStep.newActive,truHol2.initialStep.newActive,$PRE.truHol2.initialStep.oldActive,truHol2.initialStep.oldActive,truHol2.initialStep.active,$PRE.truHol2.outputTrue.localActive,truHol2.outputTrue.localActive,$PRE.truHol2.outputTrue.newActive,truHol2.outputTrue.newActive,$PRE.truHol2.outputTrue.oldActive,truHol2.outputTrue.oldActive,truHol2.outputTrue.active,truHol2.toOutputTrue.enableFire,truHol2.toInitial.enableFire,not2.y,truHol2.onDelay.t_next,$whenCondition2,$PRE.truHol3.onDelay.t_next,$whenCondition1,$whenCondition3,$whenCondition4,$PRE.booPul3.pulseStart,booPul3.pulseStart,truHol3.stateGraphRoot.activeSteps,truHol3.onDelay.u,truHol3.onDelay.y,$PRE.truHol3.initialStep.localActive,truHol3.initialStep.localActive,$PRE.truHol3.initialStep.newActive,truHol3.initialStep.newActive,$PRE.truHol3.initialStep.oldActive,truHol3.initialStep.oldActive,truHol3.initialStep.active,$PRE.truHol3.outputTrue.localActive,truHol3.outputTrue.localActive,$PRE.truHol3.outputTrue.newActive,truHol3.outputTrue.newActive,$PRE.truHol3.outputTrue.oldActive,truHol3.outputTrue.oldActive,truHol3.outputTrue.active,truHol3.toOutputTrue.enableFire,truHol3.toInitial.enableFire,not3.y,truHol3.onDelay.t_next,truHol.stateGraphRoot.resume,truHol.stateGraphRoot.suspend,truHol1.stateGraphRoot.resume,truHol1.stateGraphRoot.suspend,truHol2.stateGraphRoot.resume,truHol2.stateGraphRoot.suspend,truHol3.stateGraphRoot.resume,truHol3.stateGraphRoot.suspend) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (176): * Single equations (assignments): 176 * 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.0003656/0.8646, allocations: 222.5 kB / 0.7788 GB, free: 5.277 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.8648, allocations: 63.33 kB / 0.7789 GB, free: 5.215 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002091/0.8669, allocations: 0.7751 MB / 0.7797 GB, free: 4.438 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.689e-05/0.8669, allocations: 12 kB / 0.7797 GB, free: 4.426 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.713e-06/0.8669, allocations: 3.984 kB / 0.7797 GB, free: 4.422 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.654e-05/0.867, allocations: 3.984 kB / 0.7797 GB, free: 4.418 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004305/0.8713, allocations: 2.123 MB / 0.7818 GB, free: 2.199 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.779e-06/0.8713, allocations: 4 kB / 0.7818 GB, free: 2.195 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002803/0.8716, allocations: 51.84 kB / 0.7818 GB, free: 2.145 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.65e-05/0.8717, allocations: 7.984 kB / 0.7818 GB, free: 2.137 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.821e-05/0.8717, allocations: 15.98 kB / 0.7818 GB, free: 2.121 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.885e-06/0.8718, allocations: 4 kB / 0.7818 GB, free: 2.117 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.277e-06/0.8718, allocations: 3.938 kB / 0.7818 GB, free: 2.113 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002072/0.8739, allocations: 1.107 MB / 0.7829 GB, free: 0.9766 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001658/0.874, allocations: 136.2 kB / 0.7831 GB, free: 0.8242 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/0.8742, allocations: 15.98 kB / 0.7831 GB, free: 0.8086 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006556/0.8749, allocations: 47.94 kB / 0.7831 GB, free: 0.7617 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002819/0.8752, allocations: 99.83 kB / 0.7832 GB, free: 0.6641 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001265/0.8753, allocations: 43.98 kB / 0.7833 GB, free: 0.6211 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003472/0.8757, allocations: 223 kB / 0.7835 GB, free: 412 kB / 0.6511 GB Notification: Performance of sort global known variables: time 8.1e-07/0.8757, allocations: 4 kB / 0.7835 GB, free: 408 kB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001204/0.8769, allocations: 159.9 kB / 0.7836 GB, free: 248 kB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 88 (truHol3.onDelay.u,truHol3.outputTrue.localActive,truHol3.outputTrue.active,truHol3.initialStep.active,$cse7,$cse8,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,booPul3.pulseStart,truHol3.stateGraphRoot.activeSteps,truHol3.onDelay.y,truHol3.onDelay.t_next,truHol3.initialStep.localActive,truHol3.initialStep.newActive,truHol3.initialStep.oldActive,truHol3.outputTrue.newActive,truHol3.outputTrue.oldActive,truHol3.toOutputTrue.enableFire,truHol3.toInitial.enableFire,not3.y,truHol2.onDelay.u,truHol2.outputTrue.localActive,truHol2.outputTrue.active,truHol2.initialStep.active,$cse5,$cse6,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition5,booPul2.pulseStart,truHol2.stateGraphRoot.activeSteps,truHol2.onDelay.y,truHol2.onDelay.t_next,truHol2.initialStep.localActive,truHol2.initialStep.newActive,truHol2.initialStep.oldActive,truHol2.outputTrue.newActive,truHol2.outputTrue.oldActive,truHol2.toOutputTrue.enableFire,truHol2.toInitial.enableFire,not2.y,truHol1.onDelay.u,truHol1.outputTrue.localActive,truHol1.outputTrue.active,truHol1.initialStep.active,$cse3,$cse4,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition9,booPul1.y,booPul1.pulseStart,truHol1.stateGraphRoot.activeSteps,truHol1.onDelay.y,truHol1.onDelay.t_next,truHol1.initialStep.localActive,truHol1.initialStep.newActive,truHol1.initialStep.oldActive,truHol1.outputTrue.newActive,truHol1.outputTrue.oldActive,truHol1.toOutputTrue.enableFire,truHol1.toInitial.enableFire,truHol.onDelay.u,truHol.outputTrue.localActive,truHol.outputTrue.active,truHol.initialStep.active,$cse1,$cse2,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition13,booPul.y,booPul.pulseStart,truHol.stateGraphRoot.activeSteps,truHol.onDelay.y,truHol.onDelay.t_next,truHol.initialStep.localActive,truHol.initialStep.newActive,truHol.initialStep.oldActive,truHol.outputTrue.newActive,truHol.outputTrue.oldActive,truHol.toOutputTrue.enableFire,truHol.toInitial.enableFire) * Number of discrete states: 12 (truHol.onDelay.t_next,truHol.initialStep.newActive,truHol.outputTrue.newActive,truHol1.onDelay.t_next,truHol1.initialStep.newActive,truHol1.outputTrue.newActive,truHol2.onDelay.t_next,truHol2.initialStep.newActive,truHol2.outputTrue.newActive,truHol3.onDelay.t_next,truHol3.initialStep.newActive,truHol3.outputTrue.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 20 * 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.0003271/0.8772, allocations: 171 kB / 0.7838 GB, free: 72 kB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001761/0.879, allocations: 0.743 MB / 0.7845 GB, free: 15.33 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.481e-06/0.879, allocations: 0 / 0.7845 GB, free: 15.33 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0008392/0.8799, allocations: 395.8 kB / 0.7849 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000839/0.8807, allocations: 85.7 kB / 0.785 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002651/0.8834, allocations: 0.99 MB / 0.7859 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008572/0.8843, allocations: 0.9879 MB / 0.7869 GB, free: 12.82 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0005654/0.8849, allocations: 110.9 kB / 0.787 GB, free: 12.71 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002722/0.8852, allocations: 71.42 kB / 0.7871 GB, free: 12.64 MB / 0.6667 GB Notification: Performance of SimCode: time 1.791e-06/0.8852, allocations: 0 / 0.7871 GB, free: 12.64 MB / 0.6667 GB Notification: Performance of Templates: time 0.0273/0.9125, allocations: 7.605 MB / 0.7945 GB, free: 5.09 MB / 0.6667 GB