Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.58/5.58, allocations: 0.5623 GB / 0.5776 GB, free: 66.93 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.004061/0.00406, allocations: 356.3 kB / 0.6446 GB, free: 21.68 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.523/4.523, allocations: 410.8 MB / 1.113 GB, free: 109.7 MB / 0.5573 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001895/0.001895, allocations: 176.7 kB / 1.226 GB, free: 9.531 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008198/0.0008203, allocations: 16 kB / 1.349 GB, free: 84.64 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2453, allocations: 115.3 MB / 1.461 GB, free: 1.281 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.7239/0.9693, allocations: 489.4 kB / 1.462 GB, free: 11.59 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003046/0.9724, allocations: 1.27 MB / 1.463 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.9725, allocations: 1.438 kB / 1.463 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.75e-05/0.9726, allocations: 6.328 kB / 1.463 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.567e-05/0.9727, allocations: 9.719 kB / 1.463 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001329/0.974, allocations: 274.4 kB / 1.463 GB, free: 11.15 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0006421/0.9748, allocations: 290.2 kB / 1.464 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002073/0.975, allocations: 44.23 kB / 1.464 GB, free: 11.02 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003052/0.9753, allocations: 124.9 kB / 1.464 GB, free: 10.99 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000269/0.9756, allocations: 110.9 kB / 1.464 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.74e-05/0.9757, allocations: 17.31 kB / 1.464 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001639/0.9759, allocations: 31.44 kB / 1.464 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.742e-05/0.976, allocations: 52.31 kB / 1.464 GB, free: 10.94 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.9761, allocations: 61.11 kB / 1.464 GB, free: 10.89 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005911/0.9767, allocations: 238.5 kB / 1.464 GB, free: 10.86 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.9767, allocations: 0 / 1.464 GB, free: 10.86 MB / 0.6042 GB Notification: Performance of FrontEnd: time 5.06e-06/0.9767, allocations: 1.031 kB / 1.464 GB, free: 10.86 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.827e-06/0.9767, allocations: 3.938 kB / 1.464 GB, free: 10.86 MB / 0.6042 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.0008768/0.9776, allocations: 481.3 kB / 1.465 GB, free: 10.4 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.702e-05/0.9777, allocations: 9.031 kB / 1.465 GB, free: 10.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001726/0.9779, allocations: 23.03 kB / 1.465 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.979, allocations: 268.6 kB / 1.465 GB, free: 10.16 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.336e-05/0.9791, allocations: 24.72 kB / 1.465 GB, free: 10.16 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001385/0.9792, allocations: 31.69 kB / 1.465 GB, free: 10.15 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007106/0.98, allocations: 205.9 kB / 1.465 GB, free: 10.07 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.98, allocations: 0.6562 kB / 1.465 GB, free: 10.07 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.665e-05/0.9801, allocations: 14.89 kB / 1.465 GB, free: 10.07 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.9801, allocations: 3.156 kB / 1.465 GB, free: 10.07 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003746/0.9805, allocations: 99.19 kB / 1.465 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001527/0.982, allocations: 0.5694 MB / 1.466 GB, free: 9.648 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008939/0.983, allocations: 272 kB / 1.466 GB, free: 9.523 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003721/0.9834, allocations: 115.8 kB / 1.466 GB, free: 9.477 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.9834, allocations: 3.719 kB / 1.466 GB, free: 9.477 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001446/0.9848, allocations: 498.6 kB / 1.467 GB, free: 9.336 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=44): time 3.477e-06/0.9849, allocations: 0 / 1.467 GB, free: 9.336 MB / 0.6042 GB Notification: Performance of matching and sorting (n=44): time 0.00203/0.9869, allocations: 0.558 MB / 1.467 GB, free: 9.129 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/0.987, allocations: 57.22 kB / 1.467 GB, free: 9.066 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002011/0.9872, allocations: 151.3 kB / 1.468 GB, free: 8.941 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001874/0.9874, allocations: 64.72 kB / 1.468 GB, free: 8.887 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.9876, allocations: 111.9 kB / 1.468 GB, free: 8.789 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.9877, allocations: 102.5 kB / 1.468 GB, free: 8.719 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.186e-05/0.9878, allocations: 13.84 kB / 1.468 GB, free: 8.711 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.9879, allocations: 337.3 kB / 1.468 GB, free: 8.387 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006361/0.9885, allocations: 169.2 kB / 1.468 GB, free: 8.328 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006879/0.9893, allocations: 285.4 kB / 1.469 GB, free: 8.141 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00051/0.9898, allocations: 191.4 kB / 1.469 GB, free: 8.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.9898, allocations: 0.7188 kB / 1.469 GB, free: 8.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001686/0.9915, allocations: 0.5616 MB / 1.469 GB, free: 7.746 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.605e-05/0.9916, allocations: 67.89 kB / 1.469 GB, free: 7.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.9917, allocations: 3.812 kB / 1.469 GB, free: 7.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.303e-05/0.9917, allocations: 5.797 kB / 1.469 GB, free: 7.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.9919, allocations: 27.58 kB / 1.469 GB, free: 7.668 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.763e-05/0.9919, allocations: 6.562 kB / 1.469 GB, free: 7.668 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008839/0.9928, allocations: 100.1 kB / 1.469 GB, free: 7.641 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.9929, allocations: 31.78 kB / 1.47 GB, free: 7.633 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 70 ($PRE.falCleTruIni.y,$PRE.truCleTruIni.y,$PRE.falCleFalIni.y,$PRE.truCleFalIni.y,$PRE.swiCleInp.y,$PRE.swiCleInp1.y,$whenCondition27,$whenCondition28,$whenCondition25,$whenCondition26,tru.y,fal.y,$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.falCleTruIni.u,falCleTruIni.u,falCleTruIni.y,$PRE.truCleTruIni.u,truCleTruIni.u,truCleTruIni.y,$PRE.falCleFalIni.u,falCleFalIni.u,falCleFalIni.y,$PRE.truCleFalIni.u,truCleFalIni.u,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,$PRE.falCleFalIni.clr,falCleFalIni.clr,$PRE.falCleTruIni.clr,falCleTruIni.clr,$PRE.truCleFalIni.clr,truCleFalIni.clr,$PRE.truCleTruIni.clr,truCleTruIni.clr) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * 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.0003852/0.9933, allocations: 181.2 kB / 1.47 GB, free: 7.477 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.9934, allocations: 28.91 kB / 1.47 GB, free: 7.465 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001294/0.9936, allocations: 33.67 kB / 1.47 GB, free: 7.441 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.9936, allocations: 2.484 kB / 1.47 GB, free: 7.441 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.9936, allocations: 0.5938 kB / 1.47 GB, free: 7.441 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.833e-05/0.9937, allocations: 99.73 kB / 1.47 GB, free: 7.332 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.9938, allocations: 26.89 kB / 1.47 GB, free: 7.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.994, allocations: 11.58 kB / 1.47 GB, free: 7.316 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003083/0.9943, allocations: 72.56 kB / 1.47 GB, free: 7.301 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001449/0.9958, allocations: 0.5143 MB / 1.47 GB, free: 7.055 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001506/0.9973, allocations: 0.6123 MB / 1.471 GB, free: 6.695 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006335/0.998, allocations: 234.3 kB / 1.471 GB, free: 6.59 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001515/0.9981, allocations: 97.88 kB / 1.471 GB, free: 6.512 MB / 0.6042 GB Notification: Performance of Backend: time 7.02e-07/0.9982, allocations: 0 / 1.471 GB, free: 6.512 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001922/1, allocations: 0.5158 MB / 1.472 GB, free: 6.203 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001404/1.002, allocations: 0.8009 MB / 1.473 GB, free: 5.492 MB / 0.6042 GB Notification: Performance of Templates: time 0.01817/1.02, allocations: 4.113 MB / 1.477 GB, free: 5.172 MB / 0.6042 GB