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.398/2.398, allocations: 252.6 MB / 265.2 MB, free: 5.723 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.001473/0.001473, allocations: 195.8 kB / 324.5 MB, free: 14.32 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.238/2.238, allocations: 205.4 MB / 0.5753 GB, free: 10.45 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.001532/0.001531, allocations: 97.5 kB / 0.6797 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 5.556e-05/5.568e-05, allocations: 11.98 kB / 0.7912 GB, free: 96.55 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2059, allocations: 106.2 MB / 0.8949 GB, free: 6.219 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8958/1.102, allocations: 131.7 MB / 1.024 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/1.102, allocations: 75 kB / 1.024 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008875/1.111, allocations: 1.968 MB / 1.026 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.733e-06/1.111, allocations: 0 / 1.026 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.239e-05/1.111, allocations: 8 kB / 1.026 GB, free: 1 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.0009388/1.112, allocations: 440 kB / 1.026 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.457e-05/1.112, allocations: 8.031 kB / 1.026 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.528e-05/1.112, allocations: 15.91 kB / 1.026 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/1.112, allocations: 187.2 kB / 1.026 GB, free: 308 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.701e-05/1.112, allocations: 19.25 kB / 1.026 GB, free: 292 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.634e-05/1.113, allocations: 27.61 kB / 1.026 GB, free: 272 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005393/1.113, allocations: 206.5 kB / 1.026 GB, free: 108 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/1.113, allocations: 2.625 kB / 1.026 GB, free: 108 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.629e-05/1.113, allocations: 19.83 kB / 1.026 GB, free: 92 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/1.113, allocations: 4 kB / 1.026 GB, free: 88 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003262/1.114, allocations: 92.88 kB / 1.026 GB, free: 28 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00142/1.115, allocations: 0.5351 MB / 1.027 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001194/1.116, allocations: 345.4 kB / 1.027 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003712/1.117, allocations: 150.7 kB / 1.027 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/1.117, allocations: 0 / 1.027 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001135/1.118, allocations: 496 kB / 1.028 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=46): time 3.096e-06/1.118, allocations: 3.938 kB / 1.028 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of matching and sorting (n=46): time 0.001204/1.119, allocations: 443.7 kB / 1.028 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.095e-05/1.119, allocations: 55.41 kB / 1.028 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/1.119, allocations: 141.6 kB / 1.029 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.734e-05/1.119, allocations: 51.95 kB / 1.029 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/1.12, allocations: 112.8 kB / 1.029 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/1.12, allocations: 100.3 kB / 1.029 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.143e-05/1.12, allocations: 7.688 kB / 1.029 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001776/1.12, allocations: 337.5 kB / 1.029 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004303/1.12, allocations: 121.8 kB / 1.029 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004454/1.121, allocations: 207.7 kB / 1.029 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002852/1.121, allocations: 87.52 kB / 1.03 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/1.121, allocations: 8 kB / 1.03 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009468/1.122, allocations: 366 kB / 1.03 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.05e-05/1.122, allocations: 8 kB / 1.03 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/1.122, allocations: 4.203 kB / 1.03 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.981e-05/1.122, allocations: 8 kB / 1.03 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/1.122, allocations: 31.23 kB / 1.03 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.604e-05/1.122, allocations: 4 kB / 1.03 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002877/1.123, allocations: 34.92 kB / 1.03 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.873e-05/1.123, allocations: 19.44 kB / 1.03 GB, free: 12.99 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.0002329/1.123, allocations: 151.2 kB / 1.03 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.213e-05/1.123, allocations: 31.66 kB / 1.03 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/1.123, allocations: 42.88 kB / 1.03 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/1.123, allocations: 4 kB / 1.03 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/1.123, allocations: 0 / 1.03 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/1.123, allocations: 3.984 kB / 1.03 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001793/1.125, allocations: 0.8595 MB / 1.031 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/1.125, allocations: 0 / 1.031 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.995e-05/1.125, allocations: 7.938 kB / 1.031 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.127e-06/1.125, allocations: 0 / 1.031 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.762e-05/1.125, allocations: 23.59 kB / 1.031 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/1.125, allocations: 0 / 1.031 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.125, allocations: 0 / 1.031 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/1.127, allocations: 0.5392 MB / 1.032 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.541e-05/1.127, allocations: 92.88 kB / 1.032 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/1.127, allocations: 22.55 kB / 1.032 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000296/1.127, allocations: 27.53 kB / 1.032 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002601/1.127, allocations: 86.75 kB / 1.032 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-05/1.127, allocations: 31.55 kB / 1.032 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001111/1.128, allocations: 111 kB / 1.032 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.71e-07/1.128, allocations: 0 / 1.032 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00054/1.128, allocations: 86.05 kB / 1.032 GB, free: 11.19 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.0002556/1.128, allocations: 142.2 kB / 1.032 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009829/1.129, allocations: 369.1 kB / 1.033 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.129, allocations: 0.5 kB / 1.033 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005519/1.13, allocations: 258.5 kB / 1.033 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004057/1.13, allocations: 26.22 kB / 1.033 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/1.132, allocations: 405.9 kB / 1.033 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004224/1.132, allocations: 0.7416 MB / 1.034 GB, free: 9.508 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002218/1.133, allocations: 38.95 kB / 1.034 GB, free: 9.473 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000214/1.133, allocations: 42.22 kB / 1.034 GB, free: 9.438 MB / 0.6511 GB Notification: Performance of SimCode: time 1.062e-06/1.133, allocations: 0 / 1.034 GB, free: 9.438 MB / 0.6511 GB Notification: Performance of Templates: time 0.01174/1.145, allocations: 3.279 MB / 1.037 GB, free: 6.172 MB / 0.6511 GB