Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.688/2.688, allocations: 284.8 MB / 297.3 MB, free: 6.359 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002127/0.002127, allocations: 184.6 kB / 365.7 MB, free: 2.578 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.932/1.932, allocations: 205.1 MB / 0.6241 GB, free: 8.211 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001054/0.001053, allocations: 94.53 kB / 0.7372 GB, free: 40.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.612e-05/3.627e-05, allocations: 8 kB / 0.8575 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8001/0.8002, allocations: 115.2 MB / 0.97 GB, free: 78.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2717/1.072, allocations: 138.3 MB / 1.105 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/1.072, allocations: 68.62 kB / 1.105 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0195/1.092, allocations: 3.966 MB / 1.109 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.773e-06/1.092, allocations: 0 / 1.109 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.368e-06/1.092, allocations: 0 / 1.109 GB, free: 10.2 MB / 0.7136 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.0008436/1.093, allocations: 486.4 kB / 1.109 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/1.093, allocations: 8.031 kB / 1.109 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/1.093, allocations: 31.86 kB / 1.109 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/1.093, allocations: 176.3 kB / 1.11 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.541e-05/1.093, allocations: 19.98 kB / 1.11 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/1.093, allocations: 32 kB / 1.11 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005469/1.094, allocations: 211.8 kB / 1.11 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/1.094, allocations: 0 / 1.11 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.784e-05/1.094, allocations: 11.98 kB / 1.11 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/1.094, allocations: 4 kB / 1.11 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003142/1.094, allocations: 95.94 kB / 1.11 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/1.095, allocations: 0.5405 MB / 1.111 GB, free: 8.457 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007216/1.096, allocations: 299 kB / 1.111 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003545/1.097, allocations: 144.8 kB / 1.111 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/1.097, allocations: 5.875 kB / 1.111 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001149/1.098, allocations: 0.5065 MB / 1.111 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=48): time 3.817e-06/1.098, allocations: 0 / 1.111 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48): time 0.001367/1.099, allocations: 476 kB / 1.112 GB, free: 7.02 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.529e-05/1.099, allocations: 55.84 kB / 1.112 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001988/1.099, allocations: 138.2 kB / 1.112 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001333/1.1, allocations: 53.7 kB / 1.112 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/1.1, allocations: 109 kB / 1.112 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/1.1, allocations: 106.8 kB / 1.112 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.267e-05/1.1, allocations: 20 kB / 1.112 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001801/1.1, allocations: 339.1 kB / 1.113 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005475/1.101, allocations: 165.3 kB / 1.113 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006504/1.101, allocations: 268.9 kB / 1.113 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004605/1.102, allocations: 194.6 kB / 1.113 GB, free: 5.523 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/1.102, allocations: 4 kB / 1.113 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001493/1.103, allocations: 0.541 MB / 1.114 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.814e-05/1.104, allocations: 71.39 kB / 1.114 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/1.104, allocations: 6.422 kB / 1.114 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.662e-05/1.104, allocations: 5 kB / 1.114 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/1.104, allocations: 27.86 kB / 1.114 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.662e-05/1.104, allocations: 7.969 kB / 1.114 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000715/1.104, allocations: 83.94 kB / 1.114 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.563e-05/1.105, allocations: 27.98 kB / 1.114 GB, free: 4.727 MB / 0.7136 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 () * 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.0002713/1.105, allocations: 170 kB / 1.114 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.811e-05/1.105, allocations: 27.7 kB / 1.114 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001219/1.105, allocations: 38.19 kB / 1.114 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/1.105, allocations: 7.984 kB / 1.114 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/1.105, allocations: 4 kB / 1.114 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/1.105, allocations: 7.109 kB / 1.114 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001733/1.107, allocations: 0.8802 MB / 1.115 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/1.107, allocations: 0 / 1.115 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.342e-05/1.107, allocations: 19.92 kB / 1.115 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/1.107, allocations: 0 / 1.115 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.34e-05/1.107, allocations: 19.97 kB / 1.115 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/1.107, allocations: 0 / 1.115 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.107, allocations: 0 / 1.115 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/1.108, allocations: 0.5662 MB / 1.116 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.705e-05/1.108, allocations: 92.83 kB / 1.116 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/1.109, allocations: 31.92 kB / 1.116 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/1.109, allocations: 11.98 kB / 1.116 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002469/1.109, allocations: 84.22 kB / 1.116 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.947e-05/1.109, allocations: 31.97 kB / 1.116 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.021e-05/1.109, allocations: 96.53 kB / 1.116 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.91e-07/1.109, allocations: 0 / 1.116 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006249/1.11, allocations: 104 kB / 1.116 GB, free: 2.453 MB / 0.7136 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) * 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.000314/1.11, allocations: 154.3 kB / 1.116 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001387/1.112, allocations: 0.5669 MB / 1.117 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.112, allocations: 0 / 1.117 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006163/1.112, allocations: 302.5 kB / 1.117 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003939/1.113, allocations: 33.25 kB / 1.117 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/1.114, allocations: 378.9 kB / 1.118 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/1.114, allocations: 0.7415 MB / 1.118 GB, free: 216 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001961/1.114, allocations: 34.97 kB / 1.118 GB, free: 184 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002081/1.115, allocations: 47.41 kB / 1.118 GB, free: 136 kB / 0.7136 GB Notification: Performance of SimCode: time 1.153e-06/1.115, allocations: 1.875 kB / 1.118 GB, free: 136 kB / 0.7136 GB Notification: Performance of Templates: time 0.0171/1.132, allocations: 4.219 MB / 1.122 GB, free: 12 MB / 0.7292 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)