Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.692/1.692, allocations: 288.4 MB / 304.3 MB, free: 8.055 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.0009294/0.0009293, allocations: 184.5 kB / 373 MB, free: 10.16 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.613/1.613, allocations: 205.4 MB / 0.6317 GB, free: 9.836 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.0008951/0.0008951, allocations: 97.17 kB / 0.745 GB, free: 5.75 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004471/0.0004471, allocations: 12.81 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2473, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.767/1.014, allocations: 138.6 MB / 1.116 GB, free: 16.68 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/1.015, allocations: 71.12 kB / 1.116 GB, free: 16.68 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01084/1.026, allocations: 3.98 MB / 1.12 GB, free: 32.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.713e-06/1.026, allocations: 0 / 1.12 GB, free: 32.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.168e-06/1.026, allocations: 3.906 kB / 1.12 GB, free: 32.2 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.0005999/1.026, allocations: 484.4 kB / 1.12 GB, free: 31.75 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/1.026, allocations: 11.56 kB / 1.12 GB, free: 31.75 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.05e-05/1.026, allocations: 31.08 kB / 1.121 GB, free: 31.74 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/1.026, allocations: 175.9 kB / 1.121 GB, free: 31.54 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.336e-05/1.027, allocations: 25.59 kB / 1.121 GB, free: 31.54 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.395e-05/1.027, allocations: 34.19 kB / 1.121 GB, free: 31.54 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003217/1.027, allocations: 209.5 kB / 1.121 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/1.027, allocations: 4.125 kB / 1.121 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.452e-05/1.027, allocations: 24.92 kB / 1.121 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/1.027, allocations: 3.844 kB / 1.121 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/1.027, allocations: 97.09 kB / 1.121 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007122/1.028, allocations: 0.541 MB / 1.122 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003755/1.028, allocations: 304.5 kB / 1.122 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/1.029, allocations: 151.9 kB / 1.122 GB, free: 31.17 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/1.029, allocations: 3.938 kB / 1.122 GB, free: 31.17 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006143/1.029, allocations: 0.5107 MB / 1.123 GB, free: 31.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=48): time 1.693e-06/1.029, allocations: 0 / 1.123 GB, free: 31.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.0009347/1.03, allocations: 0.6194 MB / 1.123 GB, free: 31.04 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/1.03, allocations: 59.66 kB / 1.123 GB, free: 30.98 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/1.03, allocations: 138.6 kB / 1.123 GB, free: 30.88 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.025e-05/1.03, allocations: 55.19 kB / 1.123 GB, free: 30.85 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.356e-05/1.03, allocations: 106.6 kB / 1.123 GB, free: 30.76 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.187e-05/1.03, allocations: 110.2 kB / 1.124 GB, free: 30.71 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.893e-05/1.031, allocations: 19.19 kB / 1.124 GB, free: 30.71 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001538/1.031, allocations: 337.4 kB / 1.124 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002726/1.031, allocations: 182.7 kB / 1.124 GB, free: 30.39 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000293/1.031, allocations: 271.5 kB / 1.124 GB, free: 30.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000355/1.032, allocations: 360.7 kB / 1.125 GB, free: 30.12 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/1.032, allocations: 0 / 1.125 GB, free: 30.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0006913/1.032, allocations: 0.5525 MB / 1.125 GB, free: 29.99 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.193e-05/1.032, allocations: 72.77 kB / 1.125 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/1.032, allocations: 3.844 kB / 1.125 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/1.032, allocations: 3.781 kB / 1.125 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.316e-05/1.032, allocations: 26.47 kB / 1.125 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/1.033, allocations: 11.7 kB / 1.125 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003798/1.033, allocations: 86.03 kB / 1.125 GB, free: 29.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.62e-05/1.033, allocations: 29.55 kB / 1.125 GB, free: 29.9 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.0001734/1.033, allocations: 182.3 kB / 1.126 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.875e-05/1.033, allocations: 29.58 kB / 1.126 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.895e-05/1.033, allocations: 37.34 kB / 1.126 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/1.033, allocations: 7.781 kB / 1.126 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/1.033, allocations: 0 / 1.126 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/1.033, allocations: 2.531 kB / 1.126 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008717/1.034, allocations: 0.8996 MB / 1.127 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/1.034, allocations: 0 / 1.127 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.791e-05/1.034, allocations: 10.98 kB / 1.127 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/1.034, allocations: 3.812 kB / 1.127 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.318e-05/1.034, allocations: 28.16 kB / 1.127 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/1.034, allocations: 7.938 kB / 1.127 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.034, allocations: 3.938 kB / 1.127 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006356/1.035, allocations: 0.5748 MB / 1.127 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.139e-05/1.035, allocations: 92.67 kB / 1.127 GB, free: 29.15 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.527e-05/1.035, allocations: 24.89 kB / 1.127 GB, free: 29.15 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.417e-05/1.035, allocations: 15.61 kB / 1.127 GB, free: 29.15 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/1.035, allocations: 78.02 kB / 1.127 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.788e-05/1.035, allocations: 38.33 kB / 1.127 GB, free: 29.14 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.525e-05/1.035, allocations: 96.05 kB / 1.128 GB, free: 29.07 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/1.035, allocations: 4 kB / 1.128 GB, free: 29.07 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003864/1.036, allocations: 102 kB / 1.128 GB, free: 29.06 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.0002168/1.036, allocations: 156.6 kB / 1.128 GB, free: 28.95 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007182/1.037, allocations: 0.5797 MB / 1.128 GB, free: 28.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/1.037, allocations: 4.062 kB / 1.128 GB, free: 28.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003017/1.037, allocations: 305.5 kB / 1.129 GB, free: 28.79 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003626/1.037, allocations: 40.38 kB / 1.129 GB, free: 28.79 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007702/1.038, allocations: 0.5169 MB / 1.129 GB, free: 28.56 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/1.039, allocations: 0.7397 MB / 1.13 GB, free: 27.86 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001245/1.039, allocations: 33.08 kB / 1.13 GB, free: 27.86 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/1.039, allocations: 43.28 kB / 1.13 GB, free: 27.85 MB / 0.698 GB Notification: Performance of SimCode: time 1.91e-07/1.039, allocations: 0 / 1.13 GB, free: 27.85 MB / 0.698 GB Notification: Performance of Templates: time 0.006985/1.046, allocations: 4.278 MB / 1.134 GB, free: 26.6 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1)