Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.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.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.556/5.556, allocations: 0.5623 GB / 0.5775 GB, free: 3.367 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003803/0.003803, allocations: 359.8 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.532/4.532, allocations: 410.7 MB / 1.113 GB, free: 6.004 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001791/0.001791, allocations: 187.6 kB / 1.226 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005647/0.000565, allocations: 19.98 kB / 1.349 GB, free: 8.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7723/0.7729, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch): time 0.0009863/0.774, allocations: 444.1 kB / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00172/0.7757, allocations: 1.183 MB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.156e-05/0.7758, allocations: 2.344 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.285e-05/0.7758, allocations: 3.938 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 8.605e-05/0.7759, allocations: 11.92 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.7771, allocations: 274.2 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002273/0.7773, allocations: 205.8 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.7774, allocations: 10.28 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.7776, allocations: 91.8 kB / 1.464 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.7777, allocations: 63.84 kB / 1.464 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.916e-05/0.7778, allocations: 13.38 kB / 1.464 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.7779, allocations: 31.92 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.135e-05/0.7779, allocations: 11.92 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 6.465e-05/0.778, allocations: 49.64 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.7782, allocations: 142.5 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.7782, allocations: 4 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.863e-06/0.7783, allocations: 0.5312 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.7783, allocations: 0.5938 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004801/0.7788, allocations: 461.3 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.7788, allocations: 11.62 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.235e-05/0.7789, allocations: 15.91 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.779, allocations: 176.3 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.52e-05/0.7791, allocations: 8 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.816e-05/0.7791, allocations: 15.94 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.7793, allocations: 58.58 kB / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.7793, allocations: 0 / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.7794, allocations: 4.781 kB / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.7794, allocations: 0 / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.324e-05/0.7795, allocations: 24.53 kB / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000617/0.7801, allocations: 419.2 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.374e-05/0.7802, allocations: 30.58 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.216e-05/0.7803, allocations: 24.88 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.226e-06/0.7803, allocations: 1.219 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002267/0.7805, allocations: 98.41 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=10): time 2.175e-06/0.7805, allocations: 0 / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=10): time 0.0003834/0.7809, allocations: 137.5 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.781, allocations: 55.41 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.7811, allocations: 142.2 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.992e-05/0.7811, allocations: 30.3 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.12e-05/0.7812, allocations: 101.6 kB / 1.466 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.7813, allocations: 24.08 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-05/0.7813, allocations: 4 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.595e-05/0.7814, allocations: 325.2 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002848/0.7817, allocations: 87.89 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003052/0.782, allocations: 141.4 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002922/0.7823, allocations: 167.6 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.7823, allocations: 0 / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008441/0.7832, allocations: 376.2 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.952e-05/0.7833, allocations: 105.1 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.7833, allocations: 1 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.7833, allocations: 4 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.418e-05/0.7834, allocations: 4.75 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.7834, allocations: 3.953 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/0.7844, allocations: 121.8 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.349e-05/0.7845, allocations: 16.8 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001388/0.7846, allocations: 131.6 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.7847, allocations: 7.906 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.701e-05/0.7847, allocations: 16.36 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.7847, allocations: 0 / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.7847, allocations: 8.594 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.439e-05/0.7848, allocations: 91.81 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/0.7848, allocations: 0 / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.988e-05/0.7849, allocations: 0 / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.7849, allocations: 11.98 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002467/0.7852, allocations: 189.8 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002474/0.7854, allocations: 286 kB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.805e-05/0.7855, allocations: 31.98 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.592e-05/0.7856, allocations: 103 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of Backend: time 7.81e-07/0.7856, allocations: 0 / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0009019/0.7865, allocations: 425.4 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0006363/0.7872, allocations: 0.6408 MB / 1.469 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.007018/0.7942, allocations: 2.425 MB / 1.471 GB, free: 274.1 MB / 0.8542 GB