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.Latch.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.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.277/2.277, allocations: 251.1 MB / 266.1 MB, free: 11.64 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.001559/0.001559, allocations: 182.6 kB / 325.6 MB, free: 2.852 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.539/2.539, allocations: 205.4 MB / 0.5766 GB, free: 20.73 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.001877/0.001877, allocations: 105.3 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004974/0.0004975, allocations: 15.28 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2078, allocations: 106.3 MB / 0.8989 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2183/0.4262, allocations: 131.8 MB / 1.028 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/0.4266, allocations: 71.89 kB / 1.028 GB, free: 13.47 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008668/0.4353, allocations: 1.97 MB / 1.03 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.304e-06/0.4353, allocations: 0 / 1.03 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.259e-05/0.4354, allocations: 4 kB / 1.03 GB, free: 11.49 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0009737/0.4364, allocations: 451 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.4364, allocations: 8.031 kB / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.384e-05/0.4365, allocations: 19.89 kB / 1.03 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.4367, allocations: 182.9 kB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.497e-05/0.4368, allocations: 15.98 kB / 1.03 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.726e-05/0.4368, allocations: 31.98 kB / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005977/0.4375, allocations: 205.5 kB / 1.03 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.4375, allocations: 3.984 kB / 1.03 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.327e-05/0.4375, allocations: 19.95 kB / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.4376, allocations: 4 kB / 1.03 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003561/0.4379, allocations: 99.88 kB / 1.031 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001363/0.4393, allocations: 0.547 MB / 1.031 GB, free: 9.777 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/0.4405, allocations: 342.6 kB / 1.031 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.4406, allocations: 4.344 kB / 1.031 GB, free: 9.43 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001174/0.4418, allocations: 0.4972 MB / 1.032 GB, free: 8.918 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=46): time 3.447e-06/0.4418, allocations: 0 / 1.032 GB, free: 8.918 MB / 0.6823 GB Notification: Performance of matching and sorting (n=46): time 0.001717/0.4435, allocations: 0.5767 MB / 1.033 GB, free: 8.336 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.653e-05/0.4436, allocations: 63.16 kB / 1.033 GB, free: 8.262 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.4438, allocations: 137 kB / 1.033 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001034/0.4439, allocations: 53.69 kB / 1.033 GB, free: 8.059 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.351e-05/0.444, allocations: 105 kB / 1.033 GB, free: 7.953 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001408/0.4442, allocations: 102.9 kB / 1.033 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.511e-05/0.4442, allocations: 12 kB / 1.033 GB, free: 7.84 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.4444, allocations: 334.8 kB / 1.033 GB, free: 7.504 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003831/0.4448, allocations: 129.1 kB / 1.033 GB, free: 7.379 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004921/0.4453, allocations: 209.8 kB / 1.034 GB, free: 7.145 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002959/0.4456, allocations: 91.88 kB / 1.034 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.4456, allocations: 0 / 1.034 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009436/0.4466, allocations: 386.6 kB / 1.034 GB, free: 6.676 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.4466, allocations: 7.953 kB / 1.034 GB, free: 6.668 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.4466, allocations: 4 kB / 1.034 GB, free: 6.664 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.4467, allocations: 4 kB / 1.034 GB, free: 6.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.4468, allocations: 27.86 kB / 1.034 GB, free: 6.633 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.446e-05/0.4469, allocations: 4 kB / 1.034 GB, free: 6.629 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002781/0.4471, allocations: 27.98 kB / 1.034 GB, free: 6.602 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.724e-05/0.4472, allocations: 16.19 kB / 1.034 GB, free: 6.586 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 66 ($PRE.falCle.y,$PRE.truCle.y,$PRE.iniFalOut.y,$PRE.iniTruOut.y,$PRE.swiCleInp.y,$PRE.swiCleInp1.y,$whenCondition26,$whenCondition25,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$PRE.falCle.u,falCle.u,$PRE.falCle.clr,falCle.clr,falCle.y,$PRE.truCle.u,truCle.u,$PRE.truCle.clr,truCle.clr,truCle.y,$PRE.iniFalOut.u,iniFalOut.u,$PRE.iniFalOut.clr,iniFalOut.clr,iniFalOut.y,$PRE.iniTruOut.u,iniTruOut.u,$PRE.iniTruOut.clr,iniTruOut.clr,iniTruOut.y,$PRE.swiCleInp.u,swiCleInp.u,$PRE.swiCleInp.clr,swiCleInp.clr,swiCleInp.y,$PRE.swiCleInp1.u,swiCleInp1.u,$PRE.swiCleInp1.clr,swiCleInp1.clr,swiCleInp1.y,$PRE.cleInp.pulseStart,cleInp.pulseStart,$PRE.latInp.pulseStart,latInp.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * 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.0002776/0.4475, allocations: 167 kB / 1.034 GB, free: 6.414 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.702e-05/0.4476, allocations: 31.7 kB / 1.034 GB, free: 6.383 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001276/0.4477, allocations: 38.27 kB / 1.034 GB, free: 6.348 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.4478, allocations: 4 kB / 1.034 GB, free: 6.344 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.4478, allocations: 4 kB / 1.034 GB, free: 6.34 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.4478, allocations: 7.984 kB / 1.034 GB, free: 6.332 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001744/0.4495, allocations: 0.8531 MB / 1.035 GB, free: 5.422 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.4496, allocations: 0 / 1.035 GB, free: 5.422 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.667e-05/0.4497, allocations: 27.88 kB / 1.035 GB, free: 5.395 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.4497, allocations: 0 / 1.035 GB, free: 5.395 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.861e-05/0.4497, allocations: 19.97 kB / 1.035 GB, free: 5.375 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.4498, allocations: 4 kB / 1.035 GB, free: 5.371 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4498, allocations: 0 / 1.035 GB, free: 5.371 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/0.451, allocations: 0.5456 MB / 1.036 GB, free: 4.809 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.937e-05/0.4511, allocations: 92.92 kB / 1.036 GB, free: 4.699 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/0.4512, allocations: 23.94 kB / 1.036 GB, free: 4.676 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002876/0.4515, allocations: 31.98 kB / 1.036 GB, free: 4.645 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002503/0.4518, allocations: 79.83 kB / 1.036 GB, free: 4.566 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.179e-05/0.4518, allocations: 35.91 kB / 1.036 GB, free: 4.531 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000103/0.452, allocations: 105.6 kB / 1.036 GB, free: 4.43 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.51e-07/0.452, allocations: 0 / 1.036 GB, free: 4.43 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004855/0.4525, allocations: 75.98 kB / 1.036 GB, free: 4.355 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 46 ($whenCondition26,$whenCondition25,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,falCle.u,falCle.clr,falCle.y,truCle.u,truCle.clr,truCle.y,iniFalOut.u,iniFalOut.clr,iniFalOut.y,iniTruOut.u,iniTruOut.clr,iniTruOut.y,swiCleInp.u,swiCleInp.clr,swiCleInp.y,swiCleInp1.u,swiCleInp1.clr,swiCleInp1.y,cleInp.pulseStart,latInp.pulseStart) * Number of discrete states: 18 (iniTruOut.u,iniTruOut.clr,iniFalOut.u,iniFalOut.clr,truCle.u,truCle.clr,falCle.u,falCle.clr,swiCleInp1.u,swiCleInp1.clr,swiCleInp.u,swiCleInp.clr,swiCleInp1.y,swiCleInp.y,iniTruOut.y,iniFalOut.y,truCle.y,falCle.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * 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.000249/0.4527, allocations: 144.3 kB / 1.036 GB, free: 4.207 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001035/0.4538, allocations: 382.7 kB / 1.037 GB, free: 3.832 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4538, allocations: 0 / 1.037 GB, free: 3.832 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005797/0.4544, allocations: 259.8 kB / 1.037 GB, free: 3.578 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.4548, allocations: 28.47 kB / 1.037 GB, free: 3.551 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.4563, allocations: 0.5411 MB / 1.038 GB, free: 2.977 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.4567, allocations: 0.7455 MB / 1.038 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002157/0.4569, allocations: 34.95 kB / 1.038 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002279/0.4572, allocations: 39.41 kB / 1.038 GB, free: 2.133 MB / 0.6823 GB Notification: Performance of SimCode: time 1.172e-06/0.4572, allocations: 0 / 1.038 GB, free: 2.133 MB / 0.6823 GB Notification: Performance of Templates: time 0.01056/0.4678, allocations: 3.274 MB / 1.042 GB, free: 14.86 MB / 0.698 GB