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.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 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.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.143/2.143, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001505/0.001505, allocations: 184 kB / 325.6 MB, free: 2.82 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.583/2.583, allocations: 205.4 MB / 0.5766 GB, free: 20.8 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.001436/0.001436, allocations: 98.34 kB / 0.6811 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004822/0.0004822, allocations: 15.27 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2047, allocations: 106.3 MB / 0.8989 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2221/0.4269, allocations: 131.3 MB / 1.027 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003195/0.4273, allocations: 71.95 kB / 1.027 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005034/0.4324, allocations: 1.161 MB / 1.028 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.695e-06/0.4324, allocations: 0 / 1.028 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.4324, allocations: 4 kB / 1.028 GB, free: 12.72 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007341/0.4332, allocations: 399 kB / 1.029 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.4332, allocations: 8.031 kB / 1.029 GB, free: 12.28 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.105e-05/0.4333, allocations: 7.906 kB / 1.029 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.4335, allocations: 190.8 kB / 1.029 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.4335, allocations: 0 / 1.029 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.4335, allocations: 8 kB / 1.029 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.4337, allocations: 61.61 kB / 1.029 GB, free: 11.97 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.4338, allocations: 0 / 1.029 GB, free: 11.97 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.4338, allocations: 4 kB / 1.029 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.4338, allocations: 0 / 1.029 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.4339, allocations: 35.98 kB / 1.029 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005611/0.4345, allocations: 308.7 kB / 1.029 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.4347, allocations: 42.56 kB / 1.029 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.4347, allocations: 11.98 kB / 1.029 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002388/0.4349, allocations: 87.41 kB / 1.029 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.973e-06/0.4349, allocations: 0 / 1.029 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0004042/0.4354, allocations: 117.5 kB / 1.03 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.4354, allocations: 55.39 kB / 1.03 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.4356, allocations: 124.8 kB / 1.03 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.4356, allocations: 29.7 kB / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.863e-05/0.4357, allocations: 88.14 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.707e-05/0.4357, allocations: 27.88 kB / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.155e-05/0.4357, allocations: 4 kB / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.4359, allocations: 318.8 kB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.068e-05/0.4359, allocations: 19.98 kB / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.954e-05/0.4361, allocations: 47.8 kB / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.865e-05/0.4361, allocations: 27.94 kB / 1.03 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4362, allocations: 0 / 1.03 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002373/0.4364, allocations: 101.5 kB / 1.03 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.4364, allocations: 8 kB / 1.03 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.4365, allocations: 0 / 1.03 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.4365, allocations: 0 / 1.03 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.619e-05/0.4366, allocations: 11.94 kB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.4366, allocations: 3.953 kB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.4368, allocations: 35.97 kB / 1.03 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.4369, allocations: 4 kB / 1.03 GB, free: 10.35 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart,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): 13 * 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.0001142/0.437, allocations: 121.8 kB / 1.031 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.906e-05/0.437, allocations: 0 / 1.031 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.31e-05/0.4371, allocations: 16.38 kB / 1.031 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.4371, allocations: 0 / 1.031 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.4371, allocations: 4 kB / 1.031 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.4371, allocations: 7.938 kB / 1.031 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/0.4373, allocations: 185.5 kB / 1.031 GB, free: 9.969 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.4374, allocations: 3.938 kB / 1.031 GB, free: 9.965 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.088e-05/0.4374, allocations: 7.984 kB / 1.031 GB, free: 9.957 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.4374, allocations: 0 / 1.031 GB, free: 9.957 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.4374, allocations: 0 / 1.031 GB, free: 9.957 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.4374, allocations: 0 / 1.031 GB, free: 9.957 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4374, allocations: 4 kB / 1.031 GB, free: 9.953 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002671/0.4377, allocations: 125 kB / 1.031 GB, free: 9.812 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.342e-05/0.4378, allocations: 81.02 kB / 1.031 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.4378, allocations: 4.188 kB / 1.031 GB, free: 9.711 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.438, allocations: 23.97 kB / 1.031 GB, free: 9.688 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.308e-05/0.4381, allocations: 15.92 kB / 1.031 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.4381, allocations: 0 / 1.031 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.408e-05/0.4382, allocations: 103.3 kB / 1.031 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.61e-07/0.4382, allocations: 0 / 1.031 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002599/0.4385, allocations: 20 kB / 1.031 GB, free: 9.551 MB / 0.6823 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 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,booPul3.y,booPul3.pulseStart,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.0001493/0.4387, allocations: 100.6 kB / 1.031 GB, free: 9.441 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002318/0.4389, allocations: 67.86 kB / 1.031 GB, free: 9.375 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4389, allocations: 0 / 1.031 GB, free: 9.375 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.4391, allocations: 31.98 kB / 1.031 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.4394, allocations: 28.12 kB / 1.031 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005035/0.4399, allocations: 203.7 kB / 1.032 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.4402, allocations: 0.7004 MB / 1.032 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.91e-05/0.4403, allocations: 4.562 kB / 1.032 GB, free: 8.352 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.863e-05/0.4403, allocations: 19.42 kB / 1.032 GB, free: 8.336 MB / 0.6823 GB Notification: Performance of SimCode: time 6.71e-07/0.4403, allocations: 0 / 1.032 GB, free: 8.336 MB / 0.6823 GB Notification: Performance of Templates: time 0.004592/0.4449, allocations: 1.033 MB / 1.033 GB, free: 7.316 MB / 0.6823 GB