Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/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") 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.177/2.177, allocations: 251.1 MB / 266.7 MB, free: 11.58 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001415/0.001415, allocations: 182.7 kB / 326.2 MB, free: 2.859 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.398/2.398, allocations: 205.4 MB / 0.5772 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009828/0.0009824, allocations: 91.73 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006349/0.0006351, allocations: 11.78 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2207, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2165/0.4373, allocations: 131.8 MB / 1.028 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/0.4377, allocations: 75.95 kB / 1.028 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008553/0.4462, allocations: 1.976 MB / 1.03 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.555e-06/0.4463, allocations: 0 / 1.03 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.221e-05/0.4463, allocations: 8 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.001008/0.4473, allocations: 449.2 kB / 1.031 GB, free: 11 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.4474, allocations: 12.03 kB / 1.031 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.684e-05/0.4475, allocations: 16.84 kB / 1.031 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.4477, allocations: 184.2 kB / 1.031 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.91e-05/0.4477, allocations: 20.36 kB / 1.031 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.475e-05/0.4478, allocations: 24.38 kB / 1.031 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000583/0.4484, allocations: 211.1 kB / 1.031 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.4484, allocations: 192 / 1.031 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.23e-05/0.4485, allocations: 19.92 kB / 1.031 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.4485, allocations: 4 kB / 1.031 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003551/0.4489, allocations: 100.5 kB / 1.031 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001364/0.4503, allocations: 0.5469 MB / 1.032 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/0.4515, allocations: 342.6 kB / 1.032 GB, free: 9.441 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003804/0.4519, allocations: 148.8 kB / 1.032 GB, free: 9.293 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.4519, allocations: 3.953 kB / 1.032 GB, free: 9.289 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00114/0.4531, allocations: 0.4973 MB / 1.033 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=46): time 3.186e-06/0.4531, allocations: 3.938 kB / 1.033 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of matching and sorting (n=46): time 0.001679/0.4548, allocations: 0.5728 MB / 1.033 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.443e-05/0.4549, allocations: 63.14 kB / 1.033 GB, free: 8.121 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.4551, allocations: 151.1 kB / 1.033 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.498e-05/0.4552, allocations: 53.69 kB / 1.034 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.304e-05/0.4553, allocations: 105 kB / 1.034 GB, free: 7.801 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.4554, allocations: 102.9 kB / 1.034 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.099e-05/0.4555, allocations: 12 kB / 1.034 GB, free: 7.688 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.4556, allocations: 338.8 kB / 1.034 GB, free: 7.348 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003869/0.456, allocations: 125.1 kB / 1.034 GB, free: 7.227 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004762/0.4565, allocations: 222 kB / 1.034 GB, free: 6.98 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002729/0.4568, allocations: 86.19 kB / 1.034 GB, free: 6.898 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.728e-06/0.4568, allocations: 3.938 kB / 1.034 GB, free: 6.895 MB / 0.6823 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009281/0.4578, allocations: 378.6 kB / 1.035 GB, free: 6.52 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.4578, allocations: 8 kB / 1.035 GB, free: 6.512 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.4578, allocations: 4 kB / 1.035 GB, free: 6.508 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.4578, allocations: 4 kB / 1.035 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.458, allocations: 27.86 kB / 1.035 GB, free: 6.477 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.458, allocations: 4 kB / 1.035 GB, free: 6.473 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002639/0.4583, allocations: 28.23 kB / 1.035 GB, free: 6.445 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-05/0.4584, allocations: 23.94 kB / 1.035 GB, free: 6.422 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.0002533/0.4586, allocations: 163 kB / 1.035 GB, free: 6.25 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.679e-05/0.4587, allocations: 27.7 kB / 1.035 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.4588, allocations: 38.31 kB / 1.035 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.925e-05/0.4589, allocations: 8 kB / 1.035 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.4589, allocations: 0 / 1.035 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.4589, allocations: 3.984 kB / 1.035 GB, free: 6.168 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001735/0.4607, allocations: 0.8609 MB / 1.036 GB, free: 5.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.4607, allocations: 0 / 1.036 GB, free: 5.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.744e-05/0.4608, allocations: 15.92 kB / 1.036 GB, free: 5.234 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.4608, allocations: 4 kB / 1.036 GB, free: 5.23 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.605e-05/0.4608, allocations: 19.97 kB / 1.036 GB, free: 5.211 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.788e-06/0.4609, allocations: 7.938 kB / 1.036 GB, free: 5.203 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4609, allocations: 0 / 1.036 GB, free: 5.203 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/0.4621, allocations: 0.5302 MB / 1.037 GB, free: 4.656 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.714e-05/0.4622, allocations: 104.9 kB / 1.037 GB, free: 4.535 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.4623, allocations: 19.98 kB / 1.037 GB, free: 4.516 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003054/0.4626, allocations: 27.92 kB / 1.037 GB, free: 4.488 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002755/0.4629, allocations: 87.77 kB / 1.037 GB, free: 4.402 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.791e-05/0.463, allocations: 35.97 kB / 1.037 GB, free: 4.367 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000107/0.4631, allocations: 105.5 kB / 1.037 GB, free: 4.266 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.7e-07/0.4631, allocations: 0 / 1.037 GB, free: 4.266 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00048/0.4636, allocations: 79.92 kB / 1.037 GB, free: 4.188 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.0002484/0.4639, allocations: 143.2 kB / 1.037 GB, free: 4.039 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001022/0.4649, allocations: 378.9 kB / 1.038 GB, free: 3.668 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4649, allocations: 0.5 kB / 1.038 GB, free: 3.668 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000595/0.4655, allocations: 267.8 kB / 1.038 GB, free: 3.406 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000514/0.4661, allocations: 39.91 kB / 1.038 GB, free: 3.367 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.4677, allocations: 0.5362 MB / 1.038 GB, free: 2.801 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.468, allocations: 0.7416 MB / 1.039 GB, free: 2.031 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001918/0.4683, allocations: 30.97 kB / 1.039 GB, free: 2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002189/0.4685, allocations: 43.41 kB / 1.039 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of SimCode: time 8.02e-07/0.4685, allocations: 0 / 1.039 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of Templates: time 0.01053/0.479, allocations: 3.279 MB / 1.042 GB, free: 14.68 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1)