Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.175/2.175, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001479/0.001479, allocations: 182.6 kB / 325.6 MB, free: 2.836 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.446/2.446, allocations: 205.4 MB / 0.5766 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001199/0.001199, allocations: 97.73 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004771/0.0004772, allocations: 16.66 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2147, allocations: 106.3 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2533/0.468, allocations: 133.4 MB / 1.029 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002886/0.4684, allocations: 79.95 kB / 1.029 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05381/0.5222, allocations: 13.69 MB / 1.043 GB, free: 14.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.796e-06/0.5222, allocations: 0 / 1.043 GB, free: 14.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.582e-05/0.5223, allocations: 27.94 kB / 1.043 GB, free: 14.07 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.002993/0.5253, allocations: 1.036 MB / 1.044 GB, free: 12.95 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.5254, allocations: 8.031 kB / 1.044 GB, free: 12.95 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003848/0.5258, allocations: 114.7 kB / 1.044 GB, free: 12.83 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/0.5269, allocations: 0.5136 MB / 1.044 GB, free: 12.28 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001453/0.5271, allocations: 97.98 kB / 1.044 GB, free: 12.19 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002695/0.5274, allocations: 128 kB / 1.044 GB, free: 12.06 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003054/0.5304, allocations: 1.182 MB / 1.046 GB, free: 10.77 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.632e-05/0.5305, allocations: 7.938 kB / 1.046 GB, free: 10.76 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001661/0.5307, allocations: 55.92 kB / 1.046 GB, free: 10.71 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.723e-05/0.5307, allocations: 28 kB / 1.046 GB, free: 10.68 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002247/0.533, allocations: 0.7336 MB / 1.046 GB, free: 9.945 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007871/0.5409, allocations: 4.98 MB / 1.051 GB, free: 4.793 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001939/0.5429, allocations: 0.6689 MB / 1.052 GB, free: 4.094 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.753e-05/0.543, allocations: 11.95 kB / 1.052 GB, free: 4.082 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001346/0.5443, allocations: 0.5352 MB / 1.052 GB, free: 3.516 MB / 0.698 GB Notification: Performance of pre-optimization done (n=92): time 3.817e-06/0.5444, allocations: 0 / 1.052 GB, free: 3.516 MB / 0.698 GB Notification: Performance of matching and sorting (n=92): time 0.00338/0.5477, allocations: 1.03 MB / 1.053 GB, free: 2.484 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001441/0.5479, allocations: 160.4 kB / 1.054 GB, free: 2.297 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008209/0.5487, allocations: 419.8 kB / 1.054 GB, free: 1.883 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002165/0.549, allocations: 81.69 kB / 1.054 GB, free: 1.797 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004368/0.5494, allocations: 400 kB / 1.054 GB, free: 1.398 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003266/0.5498, allocations: 213.4 kB / 1.055 GB, free: 1.188 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.5499, allocations: 32 kB / 1.055 GB, free: 1.156 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002159/0.5501, allocations: 374.8 kB / 1.055 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009392/0.5511, allocations: 291.9 kB / 1.055 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.6203/1.171, allocations: 0.7181 MB / 1.056 GB, free: 145.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/1.173, allocations: 351.9 kB / 1.056 GB, free: 145.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.687e-05/1.173, allocations: 3.188 kB / 1.056 GB, free: 145.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.003001/1.176, allocations: 1.076 MB / 1.057 GB, free: 145.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.988e-05/1.176, allocations: 16.25 kB / 1.057 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.724e-05/1.176, allocations: 14.84 kB / 1.057 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.909e-05/1.176, allocations: 21.84 kB / 1.058 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009989/1.177, allocations: 159.9 kB / 1.058 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.911e-05/1.177, allocations: 29.22 kB / 1.058 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009553/1.178, allocations: 106.6 kB / 1.058 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000155/1.178, allocations: 67.36 kB / 1.058 GB, free: 145 MB / 0.698 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 () * Number of clocked 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.0008045/1.179, allocations: 368.7 kB / 1.058 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001784/1.179, allocations: 68.5 kB / 1.058 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002495/1.182, allocations: 0.8798 MB / 1.059 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/1.182, allocations: 11.5 kB / 1.059 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/1.182, allocations: 0 / 1.059 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.574e-05/1.182, allocations: 6.203 kB / 1.059 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004432/1.186, allocations: 2.345 MB / 1.061 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/1.186, allocations: 2.531 kB / 1.061 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003566/1.187, allocations: 60.42 kB / 1.061 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.169e-05/1.187, allocations: 2.875 kB / 1.061 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.339e-05/1.187, allocations: 24.91 kB / 1.062 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.138e-05/1.187, allocations: 10.34 kB / 1.062 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.187, allocations: 3.938 kB / 1.062 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002321/1.189, allocations: 1.163 MB / 1.063 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001659/1.189, allocations: 141.2 kB / 1.063 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001694/1.189, allocations: 30.81 kB / 1.063 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000744/1.19, allocations: 50.58 kB / 1.063 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003539/1.191, allocations: 107.2 kB / 1.063 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/1.191, allocations: 47.84 kB / 1.063 GB, free: 143.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003897/1.191, allocations: 244.3 kB / 1.063 GB, free: 143.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.7e-07/1.191, allocations: 3.938 kB / 1.063 GB, free: 143.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00144/1.193, allocations: 190.3 kB / 1.063 GB, free: 143.4 MB / 0.698 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) * Number of clocked states: 0 () * 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.000355/1.193, allocations: 183.7 kB / 1.064 GB, free: 143.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002489/1.195, allocations: 0.8365 MB / 1.064 GB, free: 143.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.892e-06/1.196, allocations: 6.172 kB / 1.064 GB, free: 143.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001352/1.197, allocations: 436.6 kB / 1.065 GB, free: 143.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/1.198, allocations: 97.81 kB / 1.065 GB, free: 143.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004262/1.202, allocations: 1.616 MB / 1.067 GB, free: 142.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007938/1.203, allocations: 0.9914 MB / 1.067 GB, free: 141.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008278/1.204, allocations: 111.5 kB / 1.068 GB, free: 141.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003625/1.204, allocations: 75.89 kB / 1.068 GB, free: 141.6 MB / 0.698 GB Notification: Performance of SimCode: time 1.653e-06/1.204, allocations: 0.5625 kB / 1.068 GB, free: 141.6 MB / 0.698 GB Notification: Performance of Templates: time 0.02921/1.234, allocations: 7.909 MB / 1.075 GB, free: 141.2 MB / 0.698 GB