Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.03/3.03, allocations: 287.5 MB / 303.2 MB, free: 8.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001329/0.001329, allocations: 178.2 kB / 371.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.024/2.024, allocations: 205.4 MB / 0.6305 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009268/0.0009268, allocations: 96.27 kB / 0.7438 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004769/0.000477, allocations: 13.27 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2299, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9654/1.195, allocations: 138.4 MB / 1.114 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/1.196, allocations: 75.7 kB / 1.115 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02021/1.216, allocations: 3.981 MB / 1.118 GB, free: 31.36 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.689e-06/1.216, allocations: 0 / 1.118 GB, free: 31.36 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.018e-05/1.216, allocations: 7.781 kB / 1.118 GB, free: 31.36 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.001515/1.218, allocations: 491.8 kB / 1.119 GB, free: 30.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.309e-05/1.218, allocations: 11.38 kB / 1.119 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000306/1.218, allocations: 27.22 kB / 1.119 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/1.218, allocations: 172.1 kB / 1.119 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/1.218, allocations: 26.11 kB / 1.119 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001998/1.219, allocations: 30.22 kB / 1.119 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009484/1.22, allocations: 208.4 kB / 1.119 GB, free: 30.67 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/1.22, allocations: 2.391 kB / 1.119 GB, free: 30.67 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.565e-05/1.22, allocations: 22.11 kB / 1.119 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.998e-05/1.22, allocations: 2.562 kB / 1.119 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004949/1.22, allocations: 101.7 kB / 1.119 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001674/1.222, allocations: 0.5443 MB / 1.12 GB, free: 30.38 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/1.223, allocations: 306.8 kB / 1.12 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00049/1.224, allocations: 150.7 kB / 1.12 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/1.224, allocations: 3.938 kB / 1.12 GB, free: 30.33 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001532/1.225, allocations: 0.5106 MB / 1.121 GB, free: 30.26 MB / 0.698 GB Notification: Performance of pre-optimization done (n=48): time 4.829e-06/1.225, allocations: 0 / 1.121 GB, free: 30.26 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.002458/1.228, allocations: 0.6205 MB / 1.122 GB, free: 30.21 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.889e-05/1.228, allocations: 58.77 kB / 1.122 GB, free: 30.14 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002416/1.228, allocations: 142.6 kB / 1.122 GB, free: 30.04 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002461/1.228, allocations: 59.83 kB / 1.122 GB, free: 30.01 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/1.229, allocations: 99.89 kB / 1.122 GB, free: 29.92 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001737/1.229, allocations: 109.8 kB / 1.122 GB, free: 29.88 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.131e-05/1.229, allocations: 11.56 kB / 1.122 GB, free: 29.88 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002302/1.229, allocations: 343.5 kB / 1.122 GB, free: 29.55 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008253/1.23, allocations: 178.2 kB / 1.123 GB, free: 29.55 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009661/1.231, allocations: 277.3 kB / 1.123 GB, free: 29.46 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/1.232, allocations: 357.5 kB / 1.123 GB, free: 29.29 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.458e-06/1.232, allocations: 0 / 1.123 GB, free: 29.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002181/1.234, allocations: 0.5578 MB / 1.124 GB, free: 29.15 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001348/1.235, allocations: 68.31 kB / 1.124 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.039e-05/1.235, allocations: 3.875 kB / 1.124 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.025e-05/1.235, allocations: 3.875 kB / 1.124 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/1.235, allocations: 25.44 kB / 1.124 GB, free: 29.08 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-05/1.235, allocations: 7.906 kB / 1.124 GB, free: 29.08 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/1.236, allocations: 91.2 kB / 1.124 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001729/1.236, allocations: 25.91 kB / 1.124 GB, free: 29.07 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 68 ($PRE.falCleTruIni.y,$PRE.truCleTruIni.y,$PRE.falCleFalIni.y,$PRE.truCleFalIni.y,$PRE.swiCleInp.y,$PRE.swiCleInp1.y,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition25,$whenCondition26,$whenCondition27,$whenCondition28,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.falCleTruIni.u,falCleTruIni.u,$PRE.falCleTruIni.clr,falCleTruIni.clr,falCleTruIni.y,$PRE.truCleTruIni.u,truCleTruIni.u,$PRE.truCleTruIni.clr,truCleTruIni.clr,truCleTruIni.y,$PRE.falCleFalIni.u,falCleFalIni.u,$PRE.falCleFalIni.clr,falCleFalIni.clr,falCleFalIni.y,$PRE.truCleFalIni.u,truCleFalIni.u,$PRE.truCleFalIni.clr,truCleFalIni.clr,truCleFalIni.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.y,cleInp.y,$PRE.latInp.y,latInp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 2 * 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.0005037/1.237, allocations: 179.6 kB / 1.124 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/1.237, allocations: 34.33 kB / 1.124 GB, free: 28.92 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001559/1.237, allocations: 33.03 kB / 1.124 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/1.237, allocations: 7.406 kB / 1.124 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/1.237, allocations: 0 / 1.124 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.499e-05/1.237, allocations: 3.375 kB / 1.124 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002424/1.24, allocations: 0.8973 MB / 1.125 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/1.24, allocations: 3.812 kB / 1.125 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.881e-05/1.24, allocations: 14.58 kB / 1.125 GB, free: 28.58 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-05/1.24, allocations: 3.844 kB / 1.125 GB, free: 28.58 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.15e-05/1.24, allocations: 20.58 kB / 1.125 GB, free: 28.58 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-05/1.24, allocations: 3.875 kB / 1.125 GB, free: 28.58 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.002e-06/1.24, allocations: 3.938 kB / 1.125 GB, free: 28.58 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001676/1.242, allocations: 0.5775 MB / 1.126 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.632e-05/1.242, allocations: 92.67 kB / 1.126 GB, free: 28.32 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001773/1.242, allocations: 26.14 kB / 1.126 GB, free: 28.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00028/1.242, allocations: 18.44 kB / 1.126 GB, free: 28.32 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003225/1.243, allocations: 82.89 kB / 1.126 GB, free: 28.31 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/1.243, allocations: 34.77 kB / 1.126 GB, free: 28.31 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00013/1.243, allocations: 101.8 kB / 1.126 GB, free: 28.23 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.52e-07/1.243, allocations: 0 / 1.126 GB, free: 28.23 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009667/1.244, allocations: 95.78 kB / 1.126 GB, free: 28.23 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 48 ($whenCondition25,$whenCondition26,$whenCondition27,$whenCondition28,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,falCleTruIni.u,falCleTruIni.clr,falCleTruIni.y,truCleTruIni.u,truCleTruIni.clr,truCleTruIni.y,falCleFalIni.u,falCleFalIni.clr,falCleFalIni.y,truCleFalIni.u,truCleFalIni.clr,truCleFalIni.y,swiCleInp.u,swiCleInp.clr,swiCleInp.y,swiCleInp1.u,swiCleInp1.clr,swiCleInp1.y,cleInp.y,latInp.y) * Number of discrete states: 18 (truCleFalIni.u,truCleFalIni.clr,truCleFalIni.y,falCleTruIni.u,falCleTruIni.clr,falCleTruIni.y,truCleTruIni.u,truCleTruIni.clr,truCleTruIni.y,swiCleInp1.u,swiCleInp1.clr,swiCleInp1.y,swiCleInp.u,swiCleInp.clr,swiCleInp.y,falCleFalIni.u,falCleFalIni.clr,falCleFalIni.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * 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.0004415/1.245, allocations: 162.9 kB / 1.126 GB, free: 28.12 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002025/1.247, allocations: 0.5795 MB / 1.127 GB, free: 27.97 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/1.247, allocations: 0 / 1.127 GB, free: 27.97 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008929/1.248, allocations: 305.5 kB / 1.127 GB, free: 27.96 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008209/1.248, allocations: 40.62 kB / 1.127 GB, free: 27.96 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/1.25, allocations: 0.5237 MB / 1.128 GB, free: 27.73 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000508/1.251, allocations: 0.7292 MB / 1.128 GB, free: 27.03 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003381/1.251, allocations: 36.25 kB / 1.128 GB, free: 27.03 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002666/1.252, allocations: 39.44 kB / 1.128 GB, free: 27.02 MB / 0.698 GB Notification: Performance of SimCode: time 1.273e-06/1.252, allocations: 7.875 kB / 1.128 GB, free: 27.02 MB / 0.698 GB Notification: Performance of Templates: time 0.01813/1.27, allocations: 4.247 MB / 1.133 GB, free: 26.71 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1)