Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.313/1.313, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 171.3 kB / 327.5 MB, free: 2.172 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.633/1.633, allocations: 205.4 MB / 0.5785 GB, free: 20.2 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000796/0.0007962, allocations: 82.38 kB / 0.6831 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003596/0.0003596, allocations: 12.72 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1925, allocations: 106.3 MB / 0.9012 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1471/0.3396, allocations: 132 MB / 1.03 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002171/0.3399, allocations: 71.95 kB / 1.03 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005245/0.3451, allocations: 1.98 MB / 1.032 GB, free: 9.496 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.904e-06/0.3452, allocations: 0 / 1.032 GB, free: 9.496 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.3452, allocations: 0 / 1.032 GB, free: 9.496 MB / 0.6823 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.0006602/0.3459, allocations: 451.2 kB / 1.033 GB, free: 9.004 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.3459, allocations: 8.031 kB / 1.033 GB, free: 8.996 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.515e-05/0.346, allocations: 24.83 kB / 1.033 GB, free: 8.973 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.3461, allocations: 185.2 kB / 1.033 GB, free: 8.754 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.582e-05/0.3462, allocations: 20.36 kB / 1.033 GB, free: 8.734 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.651e-05/0.3463, allocations: 32.36 kB / 1.033 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003492/0.3466, allocations: 206.7 kB / 1.033 GB, free: 8.496 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.3466, allocations: 192 / 1.033 GB, free: 8.496 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.43e-05/0.3467, allocations: 23.89 kB / 1.033 GB, free: 8.473 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.3467, allocations: 3.938 kB / 1.033 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001957/0.3469, allocations: 106.1 kB / 1.033 GB, free: 8.367 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000965/0.3479, allocations: 0.5393 MB / 1.034 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006641/0.3485, allocations: 348.8 kB / 1.034 GB, free: 7.43 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002055/0.3487, allocations: 140.8 kB / 1.034 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.3488, allocations: 4 kB / 1.034 GB, free: 7.285 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006628/0.3494, allocations: 0.4936 MB / 1.035 GB, free: 6.777 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=46): time 1.983e-06/0.3494, allocations: 0 / 1.035 GB, free: 6.777 MB / 0.6823 GB Notification: Performance of matching and sorting (n=46): time 0.0009366/0.3504, allocations: 0.5832 MB / 1.035 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.3504, allocations: 59.16 kB / 1.035 GB, free: 6.117 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.3506, allocations: 152.6 kB / 1.035 GB, free: 5.961 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.33e-05/0.3506, allocations: 49.7 kB / 1.035 GB, free: 5.906 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.728e-05/0.3507, allocations: 113 kB / 1.036 GB, free: 5.793 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.317e-05/0.3508, allocations: 106.9 kB / 1.036 GB, free: 5.688 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.759e-05/0.3508, allocations: 8 kB / 1.036 GB, free: 5.68 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.351, allocations: 342.8 kB / 1.036 GB, free: 5.336 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000224/0.3512, allocations: 125.1 kB / 1.036 GB, free: 5.215 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000285/0.3515, allocations: 213.8 kB / 1.036 GB, free: 4.977 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003077/0.3518, allocations: 236.6 kB / 1.037 GB, free: 4.719 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3518, allocations: 0 / 1.037 GB, free: 4.719 MB / 0.6823 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008598/0.3527, allocations: 374.6 kB / 1.037 GB, free: 4.344 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.3527, allocations: 8 kB / 1.037 GB, free: 4.336 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.3527, allocations: 0 / 1.037 GB, free: 4.336 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.3528, allocations: 8.25 kB / 1.037 GB, free: 4.328 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.3529, allocations: 31.86 kB / 1.037 GB, free: 4.297 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.594e-05/0.3529, allocations: 4 kB / 1.037 GB, free: 4.293 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002523/0.3532, allocations: 24.05 kB / 1.037 GB, free: 4.27 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.987e-05/0.3533, allocations: 23.88 kB / 1.037 GB, free: 4.246 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 66 ($PRE.falCle.y,$PRE.truCle.y,$PRE.iniFalOut.y,$PRE.iniTruOut.y,$PRE.swiCleInp.y,$PRE.swiCleInp1.y,$whenCondition26,$whenCondition25,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$PRE.falCle.u,falCle.u,$PRE.falCle.clr,falCle.clr,falCle.y,$PRE.truCle.u,truCle.u,$PRE.truCle.clr,truCle.clr,truCle.y,$PRE.iniFalOut.u,iniFalOut.u,$PRE.iniFalOut.clr,iniFalOut.clr,iniFalOut.y,$PRE.iniTruOut.u,iniTruOut.u,$PRE.iniTruOut.clr,iniTruOut.clr,iniTruOut.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.pulseStart,cleInp.pulseStart,$PRE.latInp.pulseStart,latInp.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * 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.0002399/0.3535, allocations: 171 kB / 1.037 GB, free: 4.07 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.126e-05/0.3536, allocations: 27.7 kB / 1.037 GB, free: 4.043 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/0.3537, allocations: 38.31 kB / 1.037 GB, free: 4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/0.3537, allocations: 4 kB / 1.037 GB, free: 3.996 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.974e-06/0.3538, allocations: 0 / 1.037 GB, free: 3.996 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.3538, allocations: 3.984 kB / 1.037 GB, free: 3.992 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.3548, allocations: 0.8621 MB / 1.038 GB, free: 3.074 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3548, allocations: 0 / 1.038 GB, free: 3.074 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.056e-05/0.3549, allocations: 15.92 kB / 1.038 GB, free: 3.059 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.3549, allocations: 4 kB / 1.038 GB, free: 3.055 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.309e-05/0.3549, allocations: 19.97 kB / 1.038 GB, free: 3.035 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/0.355, allocations: 7.938 kB / 1.038 GB, free: 3.027 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.355, allocations: 3.938 kB / 1.038 GB, free: 3.023 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006713/0.3556, allocations: 0.53 MB / 1.039 GB, free: 2.477 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.558e-05/0.3557, allocations: 104.8 kB / 1.039 GB, free: 2.355 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.752e-05/0.3558, allocations: 19.98 kB / 1.039 GB, free: 2.336 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.356, allocations: 27.92 kB / 1.039 GB, free: 2.309 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/0.3561, allocations: 83.83 kB / 1.039 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-05/0.3562, allocations: 35.97 kB / 1.039 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.227e-05/0.3563, allocations: 99.27 kB / 1.039 GB, free: 2.094 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3563, allocations: 7.938 kB / 1.039 GB, free: 2.086 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003205/0.3566, allocations: 75.98 kB / 1.039 GB, free: 2.012 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 46 ($whenCondition26,$whenCondition25,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,falCle.u,falCle.clr,falCle.y,truCle.u,truCle.clr,truCle.y,iniFalOut.u,iniFalOut.clr,iniFalOut.y,iniTruOut.u,iniTruOut.clr,iniTruOut.y,swiCleInp.u,swiCleInp.clr,swiCleInp.y,swiCleInp1.u,swiCleInp1.clr,swiCleInp1.y,cleInp.pulseStart,latInp.pulseStart) * Number of discrete states: 18 (iniTruOut.u,iniTruOut.clr,iniFalOut.u,iniFalOut.clr,truCle.u,truCle.clr,falCle.u,falCle.clr,swiCleInp1.u,swiCleInp1.clr,swiCleInp.u,swiCleInp.clr,swiCleInp1.y,swiCleInp.y,iniTruOut.y,iniFalOut.y,truCle.y,falCle.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * 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.0002055/0.3568, allocations: 139.2 kB / 1.039 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005801/0.3574, allocations: 379.5 kB / 1.04 GB, free: 1.496 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3574, allocations: 4 kB / 1.04 GB, free: 1.492 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003517/0.3578, allocations: 263.5 kB / 1.04 GB, free: 1.234 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.3581, allocations: 39.92 kB / 1.04 GB, free: 1.195 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.3591, allocations: 0.5444 MB / 1.04 GB, free: 0.6211 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.3595, allocations: 0.7377 MB / 1.041 GB, free: 15.86 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001122/0.3596, allocations: 30.97 kB / 1.041 GB, free: 15.82 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.3598, allocations: 43.41 kB / 1.041 GB, free: 15.78 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.3598, allocations: 0 / 1.041 GB, free: 15.78 MB / 0.698 GB Notification: Performance of Templates: time 0.006603/0.3664, allocations: 3.302 MB / 1.044 GB, free: 12.48 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1)