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.623/2.623, allocations: 285 MB / 292.5 MB, free: 10.5 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.001468/0.001468, allocations: 172.8 kB / 360.7 MB, free: 7.227 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.988/1.988, allocations: 205.3 MB / 0.6192 GB, free: 12.13 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.00111/0.00111, allocations: 93.11 kB / 0.7322 GB, free: 44.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.416e-05/2.426e-05, allocations: 4 kB / 0.8509 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8296/0.8296, allocations: 115.3 MB / 0.9635 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2794/1.109, allocations: 137.6 MB / 1.098 GB, free: 2.793 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/1.109, allocations: 72.61 kB / 1.098 GB, free: 2.723 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01957/1.129, allocations: 3.944 MB / 1.102 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.643e-06/1.129, allocations: 4 kB / 1.102 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.28e-05/1.129, allocations: 4 kB / 1.102 GB, free: 14.85 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.0008502/1.13, allocations: 478.4 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/1.13, allocations: 12.03 kB / 1.102 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/1.13, allocations: 27.84 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/1.13, allocations: 170.9 kB / 1.102 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.656e-05/1.13, allocations: 11.98 kB / 1.102 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/1.13, allocations: 28 kB / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003038/1.131, allocations: 87.92 kB / 1.103 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000527/1.131, allocations: 189.7 kB / 1.103 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/1.131, allocations: 0 / 1.103 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.637e-05/1.131, allocations: 16.89 kB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/1.131, allocations: 3.953 kB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/1.133, allocations: 0.4942 MB / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000648/1.133, allocations: 275 kB / 1.104 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003092/1.134, allocations: 128.8 kB / 1.104 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/1.134, allocations: 4 kB / 1.104 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001104/1.135, allocations: 498.4 kB / 1.104 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=48): time 3.296e-06/1.135, allocations: 0 / 1.104 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48): time 0.001247/1.136, allocations: 441.4 kB / 1.105 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.171e-05/1.136, allocations: 59.84 kB / 1.105 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/1.136, allocations: 130.4 kB / 1.105 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001156/1.136, allocations: 49.69 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/1.136, allocations: 97.34 kB / 1.105 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/1.137, allocations: 106.8 kB / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.118e-05/1.137, allocations: 0 / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001717/1.137, allocations: 334.8 kB / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004709/1.137, allocations: 157.3 kB / 1.105 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005638/1.138, allocations: 247.8 kB / 1.106 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006887/1.139, allocations: 142 kB / 1.106 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/1.139, allocations: 0 / 1.106 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001561/1.14, allocations: 462.8 kB / 1.106 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.318e-05/1.14, allocations: 71.45 kB / 1.106 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/1.14, allocations: 7 kB / 1.106 GB, free: 9.965 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.596e-05/1.14, allocations: 4 kB / 1.106 GB, free: 9.961 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/1.141, allocations: 23.92 kB / 1.106 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/1.141, allocations: 7.938 kB / 1.106 GB, free: 9.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006829/1.141, allocations: 71.94 kB / 1.106 GB, free: 9.859 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.742e-05/1.141, allocations: 31.98 kB / 1.106 GB, free: 9.828 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.0002729/1.142, allocations: 157 kB / 1.107 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.486e-05/1.142, allocations: 27.67 kB / 1.107 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/1.142, allocations: 34.19 kB / 1.107 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/1.142, allocations: 4 kB / 1.107 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/1.142, allocations: 0 / 1.107 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/1.142, allocations: 3.984 kB / 1.107 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001598/1.144, allocations: 0.795 MB / 1.107 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.719e-06/1.144, allocations: 6.953 kB / 1.107 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.363e-05/1.144, allocations: 11.92 kB / 1.107 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.144e-06/1.144, allocations: 7.938 kB / 1.107 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.837e-05/1.144, allocations: 15.97 kB / 1.107 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.065e-06/1.144, allocations: 4 kB / 1.107 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/1.144, allocations: 7.938 kB / 1.108 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/1.145, allocations: 0.5233 MB / 1.108 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.849e-05/1.145, allocations: 92.88 kB / 1.108 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/1.145, allocations: 19.98 kB / 1.108 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/1.145, allocations: 7.984 kB / 1.108 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002442/1.146, allocations: 76.28 kB / 1.108 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.801e-05/1.146, allocations: 31.97 kB / 1.108 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.983e-05/1.146, allocations: 95.27 kB / 1.108 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.81e-07/1.146, allocations: 0 / 1.108 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006327/1.146, allocations: 83.98 kB / 1.108 GB, free: 7.754 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.0003048/1.147, allocations: 147.8 kB / 1.109 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001188/1.148, allocations: 0.5264 MB / 1.109 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/1.148, allocations: 4.188 kB / 1.109 GB, free: 7.043 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005398/1.148, allocations: 285.5 kB / 1.109 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/1.149, allocations: 19.22 kB / 1.109 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/1.15, allocations: 349.3 kB / 1.11 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/1.15, allocations: 0.7452 MB / 1.11 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001834/1.15, allocations: 35.27 kB / 1.11 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001977/1.151, allocations: 43.42 kB / 1.11 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of SimCode: time 7.92e-07/1.151, allocations: 0 / 1.11 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of Templates: time 0.01215/1.163, allocations: 4.076 MB / 1.114 GB, free: 1.551 MB / 0.7136 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)