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/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.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 4.21/4.21, allocations: 432.7 MB / 445.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.536e-05/3.547e-05, allocations: 4.406 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1762, allocations: 98.72 MB / 0.6347 GB, free: 1.914 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2222/0.3985, allocations: 126.3 MB / 0.758 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/0.3988, allocations: 71.95 kB / 0.7581 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.05022/0.449, allocations: 13.47 MB / 0.7713 GB, free: 5.883 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.493e-06/0.4491, allocations: 192 / 0.7713 GB, free: 5.883 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.775e-05/0.4491, allocations: 24 kB / 0.7713 GB, free: 5.859 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: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.002532/0.4517, allocations: 0.9839 MB / 0.7723 GB, free: 4.793 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.4518, allocations: 8.031 kB / 0.7723 GB, free: 4.785 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003989/0.4522, allocations: 110.9 kB / 0.7724 GB, free: 4.676 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.4533, allocations: 0.5095 MB / 0.7729 GB, free: 4.129 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001438/0.4535, allocations: 102 kB / 0.773 GB, free: 4.031 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002369/0.4537, allocations: 120 kB / 0.7731 GB, free: 3.914 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002763/0.4565, allocations: 1.139 MB / 0.7742 GB, free: 2.672 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.708e-05/0.4566, allocations: 7.938 kB / 0.7742 GB, free: 2.664 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001486/0.4568, allocations: 51.94 kB / 0.7742 GB, free: 2.613 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.26e-05/0.4568, allocations: 28 kB / 0.7743 GB, free: 2.586 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002075/0.4589, allocations: 0.7328 MB / 0.775 GB, free: 1.852 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4462/0.9051, allocations: 4.901 MB / 0.7798 GB, free: 130 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/0.9067, allocations: 0.6501 MB / 0.7804 GB, free: 129.9 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000716/0.9074, allocations: 345.8 kB / 0.7807 GB, free: 129.9 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.269e-05/0.9075, allocations: 13.55 kB / 0.7808 GB, free: 129.9 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001099/0.9086, allocations: 0.5159 MB / 0.7813 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=92): time 5.282e-06/0.9086, allocations: 1.469 kB / 0.7813 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=92): time 0.001927/0.9106, allocations: 0.7638 MB / 0.782 GB, free: 129.7 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.77e-05/0.9107, allocations: 155.5 kB / 0.7822 GB, free: 129.5 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006956/0.9114, allocations: 424.7 kB / 0.7826 GB, free: 129.4 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001639/0.9116, allocations: 82.98 kB / 0.7826 GB, free: 129.4 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003226/0.9119, allocations: 385.1 kB / 0.783 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002635/0.9122, allocations: 214.4 kB / 0.7832 GB, free: 129.1 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.643e-05/0.9123, allocations: 28.28 kB / 0.7832 GB, free: 129.1 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.9124, allocations: 380.5 kB / 0.7836 GB, free: 128.8 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008092/0.9132, allocations: 273.5 kB / 0.7839 GB, free: 128.8 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001024/0.9143, allocations: 0.7106 MB / 0.7846 GB, free: 128.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008003/0.9151, allocations: 341.2 kB / 0.7849 GB, free: 128.2 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-05/0.9151, allocations: 3.25 kB / 0.7849 GB, free: 128.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.002363/0.9175, allocations: 1.058 MB / 0.7859 GB, free: 128.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/0.9176, allocations: 12.12 kB / 0.7859 GB, free: 128.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.636e-05/0.9176, allocations: 14 kB / 0.7859 GB, free: 128.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.237e-05/0.9177, allocations: 24.64 kB / 0.786 GB, free: 128.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006484/0.9183, allocations: 154.6 kB / 0.7861 GB, free: 128 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.535e-05/0.9184, allocations: 36.89 kB / 0.7861 GB, free: 128 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009875/0.9194, allocations: 113.3 kB / 0.7863 GB, free: 128 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/0.9195, allocations: 66.02 kB / 0.7863 GB, free: 128 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.0003549/0.9199, allocations: 261.6 kB / 0.7866 GB, free: 127.9 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/0.9201, allocations: 70.19 kB / 0.7866 GB, free: 127.8 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002029/0.9221, allocations: 0.858 MB / 0.7875 GB, free: 127.8 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/0.9222, allocations: 11.34 kB / 0.7875 GB, free: 127.8 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.9222, allocations: 0.75 kB / 0.7875 GB, free: 127.8 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-05/0.9222, allocations: 9.672 kB / 0.7875 GB, free: 127.8 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004232/0.9265, allocations: 2.324 MB / 0.7898 GB, free: 126.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.642e-06/0.9265, allocations: 1.031 kB / 0.7898 GB, free: 126.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002791/0.9268, allocations: 51.08 kB / 0.7898 GB, free: 126.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.632e-05/0.9268, allocations: 11.88 kB / 0.7898 GB, free: 126.9 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.379e-05/0.9269, allocations: 25.3 kB / 0.7898 GB, free: 126.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.511e-06/0.9269, allocations: 3.844 kB / 0.7899 GB, free: 126.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.324e-06/0.927, allocations: 2.547 kB / 0.7899 GB, free: 126.9 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001841/0.9288, allocations: 1.15 MB / 0.791 GB, free: 126.4 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/0.929, allocations: 131.4 kB / 0.7911 GB, free: 126.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001446/0.9291, allocations: 32.02 kB / 0.7911 GB, free: 126.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006094/0.9297, allocations: 55.09 kB / 0.7912 GB, free: 126.3 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003051/0.9301, allocations: 105.2 kB / 0.7913 GB, free: 126.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/0.9302, allocations: 43.89 kB / 0.7913 GB, free: 126.3 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003608/0.9306, allocations: 238.4 kB / 0.7916 GB, free: 126.2 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.58e-07/0.9306, allocations: 0 / 0.7916 GB, free: 126.2 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001328/0.9319, allocations: 189.8 kB / 0.7917 GB, free: 126.2 MB / 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.0003002/0.9322, allocations: 198.7 kB / 0.7919 GB, free: 126.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002026/0.9343, allocations: 0.8218 MB / 0.7927 GB, free: 126 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.266e-06/0.9343, allocations: 0.6875 kB / 0.7927 GB, free: 126 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001045/0.9353, allocations: 419.8 kB / 0.7931 GB, free: 126 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008956/0.9363, allocations: 103.1 kB / 0.7932 GB, free: 126 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002906/0.9392, allocations: 1.041 MB / 0.7942 GB, free: 125.7 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006639/0.9399, allocations: 0.9887 MB / 0.7952 GB, free: 125 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000776/0.9407, allocations: 111.6 kB / 0.7953 GB, free: 125 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003385/0.9411, allocations: 79.03 kB / 0.7954 GB, free: 124.9 MB / 0.6511 GB Notification: Performance of SimCode: time 1.946e-06/0.9411, allocations: 0 / 0.7954 GB, free: 124.9 MB / 0.6511 GB Notification: Performance of Templates: time 0.03716/0.9783, allocations: 7.921 MB / 0.8031 GB, free: 124.5 MB / 0.6511 GB