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.627/1.627, allocations: 285.6 MB / 293.1 MB, free: 10.12 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.001076/0.001076, allocations: 176.8 kB / 361.4 MB, free: 6.789 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.809/1.809, allocations: 205.3 MB / 0.62 GB, free: 11.61 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001196/0.001196, allocations: 91.44 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.356e-05/2.358e-05, allocations: 8 kB / 0.8518 GB, free: 2.699 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7073/0.7074, allocations: 115.3 MB / 0.9644 GB, free: 78.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1973/0.9048, allocations: 137.8 MB / 1.099 GB, free: 1.98 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/0.9051, allocations: 68.53 kB / 1.099 GB, free: 1.914 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01151/0.9166, allocations: 3.941 MB / 1.103 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.659e-06/0.9166, allocations: 4 kB / 1.103 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.9166, allocations: 0 / 1.103 GB, free: 14.05 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.0006323/0.9173, allocations: 482.4 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.9173, allocations: 8.031 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.152e-05/0.9174, allocations: 35.8 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.9176, allocations: 177.8 kB / 1.104 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.817e-05/0.9176, allocations: 10.66 kB / 1.104 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.152e-05/0.9177, allocations: 24 kB / 1.104 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000195/0.9179, allocations: 83.98 kB / 1.104 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003133/0.9182, allocations: 191.9 kB / 1.104 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.9182, allocations: 0 / 1.104 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.293e-05/0.9183, allocations: 11.97 kB / 1.104 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.9183, allocations: 4 kB / 1.104 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00075/0.9191, allocations: 0.497 MB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003976/0.9195, allocations: 272 kB / 1.105 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.9197, allocations: 134.8 kB / 1.105 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.9197, allocations: 3.953 kB / 1.105 GB, free: 12 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007196/0.9204, allocations: 497.9 kB / 1.105 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=48): time 1.714e-06/0.9204, allocations: 224 / 1.105 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48): time 0.0007216/0.9212, allocations: 443.8 kB / 1.106 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.9212, allocations: 59.78 kB / 1.106 GB, free: 11 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.9213, allocations: 119 kB / 1.106 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.255e-05/0.9214, allocations: 49.69 kB / 1.106 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.9215, allocations: 105.3 kB / 1.106 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.847e-05/0.9216, allocations: 102.8 kB / 1.106 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.341e-05/0.9217, allocations: 12 kB / 1.106 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.9218, allocations: 330.8 kB / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002663/0.9221, allocations: 157.3 kB / 1.107 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000339/0.9224, allocations: 243.8 kB / 1.107 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004269/0.9229, allocations: 143 kB / 1.107 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.9229, allocations: 0 / 1.107 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008705/0.9238, allocations: 462.6 kB / 1.107 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.314e-05/0.9239, allocations: 71.39 kB / 1.107 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.9239, allocations: 2.938 kB / 1.107 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.9239, allocations: 11.94 kB / 1.107 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.134e-05/0.924, allocations: 24.23 kB / 1.107 GB, free: 9.133 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.924, allocations: 11.94 kB / 1.107 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000368/0.9244, allocations: 71.94 kB / 1.108 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.616e-05/0.9245, allocations: 27.98 kB / 1.108 GB, free: 9.023 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.0001589/0.9246, allocations: 147.8 kB / 1.108 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.664e-05/0.9247, allocations: 31.67 kB / 1.108 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.02e-05/0.9248, allocations: 26.19 kB / 1.108 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.9248, allocations: 4 kB / 1.108 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.9248, allocations: 4 kB / 1.108 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.9248, allocations: 3.984 kB / 1.108 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009439/0.9258, allocations: 0.7989 MB / 1.109 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.9258, allocations: 3.094 kB / 1.109 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.225e-05/0.9258, allocations: 15.92 kB / 1.109 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.9258, allocations: 3.953 kB / 1.109 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.539e-05/0.9259, allocations: 19.97 kB / 1.109 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.9259, allocations: 7.875 kB / 1.109 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.9259, allocations: 0 / 1.109 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006367/0.9265, allocations: 0.5233 MB / 1.109 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.237e-05/0.9266, allocations: 92.92 kB / 1.109 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.011e-05/0.9267, allocations: 19.94 kB / 1.109 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.098e-05/0.9268, allocations: 11.98 kB / 1.109 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/0.9269, allocations: 80.28 kB / 1.109 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.641e-05/0.927, allocations: 32.97 kB / 1.109 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.745e-05/0.927, allocations: 91.27 kB / 1.109 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/0.927, allocations: 0 / 1.109 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003663/0.9274, allocations: 83.98 kB / 1.109 GB, free: 6.953 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.0002523/0.9277, allocations: 146.1 kB / 1.11 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0007916/0.9285, allocations: 0.5298 MB / 1.11 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.9285, allocations: 0 / 1.11 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003491/0.9288, allocations: 289.5 kB / 1.11 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.9291, allocations: 21.53 kB / 1.11 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006797/0.9298, allocations: 353.3 kB / 1.111 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.9302, allocations: 0.7374 MB / 1.112 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001075/0.9303, allocations: 35.28 kB / 1.112 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.9304, allocations: 47.41 kB / 1.112 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of SimCode: time 2.104e-06/0.9304, allocations: 0 / 1.112 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of Templates: time 0.007689/0.9381, allocations: 4.087 MB / 1.116 GB, free: 0.7266 MB / 0.7136 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)