Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.289/2.289, allocations: 253.1 MB / 260.6 MB, free: 7.477 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00139/0.00139, allocations: 180.8 kB / 319.9 MB, free: 3.074 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.319/2.319, allocations: 205.6 MB / 0.5708 GB, free: 15.16 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001728/0.001728, allocations: 82.72 kB / 0.6751 GB, free: 4.523 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.35e-05/3.355e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2062, allocations: 106.3 MB / 0.8887 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8816/1.088, allocations: 132 MB / 1.018 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/1.088, allocations: 69.52 kB / 1.018 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008824/1.097, allocations: 1.96 MB / 1.02 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.266e-06/1.097, allocations: 0 / 1.02 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.307e-05/1.097, allocations: 4 kB / 1.02 GB, free: 3.555 MB / 0.6355 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.00166/1.099, allocations: 442.2 kB / 1.02 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.335e-05/1.099, allocations: 12.02 kB / 1.02 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002331/1.099, allocations: 23.89 kB / 1.02 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000311/1.1, allocations: 174.9 kB / 1.02 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.249e-05/1.1, allocations: 11.98 kB / 1.02 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001622/1.1, allocations: 23.98 kB / 1.02 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005251/1.1, allocations: 90.55 kB / 1.02 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008172/1.101, allocations: 177 kB / 1.02 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/1.101, allocations: 0 / 1.02 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.444e-05/1.101, allocations: 18.77 kB / 1.02 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/1.101, allocations: 4 kB / 1.02 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002262/1.104, allocations: 0.4913 MB / 1.021 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00195/1.106, allocations: 317 kB / 1.021 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005945/1.106, allocations: 131.8 kB / 1.021 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.619e-05/1.106, allocations: 4.344 kB / 1.021 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001609/1.108, allocations: 491.7 kB / 1.022 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=46): time 6.892e-06/1.108, allocations: 0 / 1.022 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of matching and sorting (n=46): time 0.00182/1.11, allocations: 405 kB / 1.022 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.496e-05/1.11, allocations: 55.41 kB / 1.022 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000247/1.11, allocations: 130.7 kB / 1.022 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001422/1.111, allocations: 45.19 kB / 1.022 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/1.111, allocations: 104.5 kB / 1.023 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001881/1.111, allocations: 103.6 kB / 1.023 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-05/1.111, allocations: 0 / 1.023 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002342/1.111, allocations: 333 kB / 1.023 GB, free: 396 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004769/1.112, allocations: 114 kB / 1.023 GB, free: 332 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006129/1.112, allocations: 189.9 kB / 1.023 GB, free: 172 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003859/1.113, allocations: 79.84 kB / 1.023 GB, free: 108 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/1.113, allocations: 0 / 1.023 GB, free: 108 kB / 0.6355 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001245/1.114, allocations: 326.7 kB / 1.024 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.637e-05/1.114, allocations: 7.781 kB / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.429e-05/1.114, allocations: 4.219 kB / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.593e-05/1.114, allocations: 4 kB / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/1.115, allocations: 31.86 kB / 1.024 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.621e-05/1.115, allocations: 4 kB / 1.024 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000428/1.115, allocations: 15.98 kB / 1.024 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.776e-05/1.115, allocations: 22.53 kB / 1.024 GB, free: 15.77 MB / 0.6511 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 () * 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.0003283/1.115, allocations: 139.8 kB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/1.116, allocations: 31.66 kB / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001584/1.116, allocations: 33.06 kB / 1.024 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/1.116, allocations: 4 kB / 1.024 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/1.116, allocations: 0 / 1.024 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.525e-05/1.116, allocations: 10.92 kB / 1.024 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002324/1.118, allocations: 0.7687 MB / 1.025 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/1.118, allocations: 0 / 1.025 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/1.118, allocations: 18.17 kB / 1.025 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.977e-05/1.119, allocations: 7.953 kB / 1.025 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.822e-05/1.119, allocations: 19.03 kB / 1.025 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/1.119, allocations: 0 / 1.025 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/1.119, allocations: 0 / 1.025 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001576/1.12, allocations: 0.4907 MB / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/1.12, allocations: 96.83 kB / 1.025 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002093/1.121, allocations: 19.5 kB / 1.025 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004503/1.121, allocations: 23.34 kB / 1.025 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003812/1.122, allocations: 82.7 kB / 1.025 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/1.122, allocations: 26.92 kB / 1.025 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001396/1.122, allocations: 101.8 kB / 1.026 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.012e-06/1.122, allocations: 0 / 1.026 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000859/1.123, allocations: 63.55 kB / 1.026 GB, free: 14.1 MB / 0.6511 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) * 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.0003611/1.123, allocations: 139 kB / 1.026 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001397/1.125, allocations: 339.4 kB / 1.026 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/1.125, allocations: 0 / 1.026 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000814/1.125, allocations: 242.3 kB / 1.026 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00061/1.126, allocations: 23.61 kB / 1.026 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002001/1.128, allocations: 382.8 kB / 1.027 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005721/1.129, allocations: 0.7413 MB / 1.027 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.00033/1.129, allocations: 39.27 kB / 1.027 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002906/1.129, allocations: 38.3 kB / 1.027 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of SimCode: time 1.593e-06/1.129, allocations: 0 / 1.027 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of Templates: time 0.01726/1.147, allocations: 3.2 MB / 1.031 GB, free: 9.207 MB / 0.6511 GB