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.19/5.19, allocations: 0.5623 GB / 0.5769 GB, free: 3.324 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.002399/0.002399, allocations: 358.5 kB / 0.644 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.098/4.098, allocations: 410.7 MB / 1.112 GB, free: 6.043 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.001786/0.001786, allocations: 193.2 kB / 1.225 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004982/0.0004984, allocations: 16 kB / 1.348 GB, free: 8.25 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6475/0.648, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch): time 0.0007471/0.6488, allocations: 433.9 kB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001344/0.6502, allocations: 1.182 MB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.911e-05/0.6503, allocations: 4 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.597e-05/0.6503, allocations: 7.922 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.408e-05/0.6504, allocations: 12.8 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008787/0.6513, allocations: 282 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.6515, allocations: 196.1 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 7.826e-05/0.6516, allocations: 13.44 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.6517, allocations: 91.78 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.6518, allocations: 65.06 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.25e-05/0.6519, allocations: 12 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 8.251e-05/0.6519, allocations: 23.98 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.047e-05/0.652, allocations: 16.67 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 6.16e-05/0.652, allocations: 45.64 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001643/0.6522, allocations: 150.3 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.762e-06/0.6522, allocations: 5.75 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.655e-06/0.6523, allocations: 0 / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.161e-06/0.6523, allocations: 0 / 1.463 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.0003816/0.6527, allocations: 460.2 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.6527, allocations: 13.03 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.944e-05/0.6528, allocations: 19.84 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.529e-05/0.6529, allocations: 175 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.677e-05/0.6529, allocations: 11.98 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.256e-05/0.653, allocations: 18.5 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.6531, allocations: 53.66 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.2e-06/0.6531, allocations: 1.594 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.6532, allocations: 8 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.437e-06/0.6532, allocations: 0 / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.275e-05/0.6532, allocations: 19.92 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005199/0.6538, allocations: 413.9 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 6.721e-05/0.6539, allocations: 33.31 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.628e-05/0.6539, allocations: 22.48 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.6539, allocations: 4 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001885/0.6541, allocations: 100.2 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=10): time 2.554e-06/0.6542, allocations: 0 / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=10): time 0.0003386/0.6545, allocations: 138.3 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/0.6546, allocations: 62.16 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.164e-05/0.6547, allocations: 141.3 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.232e-05/0.6547, allocations: 37.7 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.291e-05/0.6548, allocations: 88.14 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.6548, allocations: 23.7 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.239e-05/0.6549, allocations: 8 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.381e-05/0.6549, allocations: 320.3 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00024/0.6552, allocations: 88.31 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002517/0.6554, allocations: 139.9 kB / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002344/0.6557, allocations: 166 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.091e-06/0.6557, allocations: 1.25 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000699/0.6564, allocations: 383.1 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.502e-05/0.6565, allocations: 105.1 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.213e-06/0.6565, allocations: 7.984 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.6565, allocations: 0.5 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.704e-05/0.6566, allocations: 12.45 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.631e-06/0.6566, allocations: 6.781 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005964/0.6572, allocations: 115.8 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.064e-05/0.6573, allocations: 19.98 kB / 1.466 GB, free: 278.3 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.0001164/0.6574, allocations: 127.5 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.106e-05/0.6574, allocations: 11.84 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.004e-05/0.6575, allocations: 13.31 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.703e-06/0.6575, allocations: 4 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.6575, allocations: 3.953 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.685e-06/0.6575, allocations: 6.391 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.6576, allocations: 185.6 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.6577, allocations: 0 / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.678e-05/0.6577, allocations: 4 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.937e-06/0.6577, allocations: 1.219 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.6577, allocations: 3.984 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.6577, allocations: 0.5625 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.145e-06/0.6577, allocations: 0 / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002199/0.658, allocations: 138.3 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.822e-05/0.658, allocations: 89.81 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.658, allocations: 4 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.81e-05/0.6581, allocations: 1.156 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.6581, allocations: 7.984 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.6582, allocations: 8 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.769e-05/0.6582, allocations: 96.67 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.02e-07/0.6582, allocations: 0 / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003578/0.6586, allocations: 47.95 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001371/0.6588, allocations: 109.5 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000498/0.6593, allocations: 362.2 kB / 1.467 GB, free: 277 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.748e-06/0.6593, allocations: 5.094 kB / 1.467 GB, free: 277 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.6e-05/0.6594, allocations: 43.91 kB / 1.467 GB, free: 277 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.6597, allocations: 25.58 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003695/0.6601, allocations: 202.1 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000133/0.6602, allocations: 0.7023 MB / 1.468 GB, free: 276 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.935e-05/0.6603, allocations: 12.36 kB / 1.468 GB, free: 276 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.571e-05/0.6603, allocations: 11.44 kB / 1.468 GB, free: 276 MB / 0.8542 GB Notification: Performance of SimCode: time 1.449e-06/0.6603, allocations: 0.6562 kB / 1.468 GB, free: 276 MB / 0.8542 GB Notification: Performance of Templates: time 0.005823/0.6662, allocations: 2.39 MB / 1.471 GB, free: 273.7 MB / 0.8542 GB