Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.599/2.599, allocations: 285 MB / 292.5 MB, free: 10.51 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001489/0.001489, allocations: 188.8 kB / 360.7 MB, free: 7.223 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.971/1.971, allocations: 205.3 MB / 0.6192 GB, free: 12.13 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001095/0.001095, allocations: 97.98 kB / 0.7322 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.197e-05/2.196e-05, allocations: 4 kB / 0.8509 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9114/0.9115, allocations: 115.3 MB / 0.9635 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2404/1.152, allocations: 137.2 MB / 1.097 GB, free: 3.254 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003918/1.152, allocations: 74.58 kB / 1.098 GB, free: 3.184 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03148/1.184, allocations: 4.035 MB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.913e-06/1.184, allocations: 0 / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.448e-06/1.184, allocations: 0 / 1.101 GB, free: 15.23 MB / 0.7136 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.0007178/1.185, allocations: 451.5 kB / 1.102 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.034e-05/1.185, allocations: 12.03 kB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/1.185, allocations: 17.11 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/1.185, allocations: 175 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.08e-05/1.185, allocations: 3.984 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/1.185, allocations: 22.69 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001186/1.186, allocations: 12 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/1.186, allocations: 57.61 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/1.186, allocations: 1.875 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/1.186, allocations: 0 / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/1.186, allocations: 4 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009692/1.187, allocations: 393.1 kB / 1.103 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/1.187, allocations: 26.58 kB / 1.103 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.841e-05/1.187, allocations: 20.94 kB / 1.103 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/1.187, allocations: 0 / 1.103 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002797/1.187, allocations: 99.3 kB / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.454e-06/1.187, allocations: 0 / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.000444/1.188, allocations: 105.5 kB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/1.188, allocations: 57.56 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/1.188, allocations: 122.5 kB / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.451e-05/1.188, allocations: 33.7 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/1.188, allocations: 96.12 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.975e-05/1.188, allocations: 19.72 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.914e-05/1.188, allocations: 4 kB / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001829/1.189, allocations: 334.7 kB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003792/1.189, allocations: 75.98 kB / 1.104 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004731/1.19, allocations: 122.9 kB / 1.104 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000981/1.191, allocations: 109.5 kB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/1.191, allocations: 0 / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001899/1.192, allocations: 277.3 kB / 1.104 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001529/1.193, allocations: 106.2 kB / 1.104 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/1.193, allocations: 4 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/1.193, allocations: 0 / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.315e-05/1.193, allocations: 4 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.607e-05/1.193, allocations: 10.95 kB / 1.104 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/1.194, allocations: 103.9 kB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.921e-05/1.194, allocations: 27.98 kB / 1.104 GB, free: 12.13 MB / 0.7136 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 () * 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.0001951/1.194, allocations: 116.7 kB / 1.104 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-05/1.195, allocations: 7.906 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.202e-05/1.195, allocations: 8.625 kB / 1.104 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/1.195, allocations: 4 kB / 1.104 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/1.195, allocations: 2.438 kB / 1.104 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/1.195, allocations: 3.984 kB / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002516/1.195, allocations: 164.3 kB / 1.105 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/1.195, allocations: 4 kB / 1.105 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.495e-05/1.195, allocations: 4 kB / 1.105 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.688e-06/1.195, allocations: 0 / 1.105 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/1.195, allocations: 0 / 1.105 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/1.195, allocations: 4 kB / 1.105 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.195, allocations: 0 / 1.105 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003549/1.195, allocations: 128.9 kB / 1.105 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.131e-05/1.196, allocations: 85.02 kB / 1.105 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.173e-05/1.196, allocations: 0 / 1.105 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.55e-05/1.196, allocations: 8 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.662e-05/1.196, allocations: 11.98 kB / 1.105 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/1.196, allocations: 0 / 1.105 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001053/1.196, allocations: 100.5 kB / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.026e-06/1.196, allocations: 0 / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000674/1.197, allocations: 55.81 kB / 1.105 GB, free: 11.36 MB / 0.7136 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 () * 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.0002475/1.197, allocations: 113.1 kB / 1.105 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0009729/1.198, allocations: 346.1 kB / 1.105 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/1.198, allocations: 0 / 1.105 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001528/1.198, allocations: 43.58 kB / 1.105 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004899/1.199, allocations: 23.94 kB / 1.105 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005315/1.199, allocations: 111.6 kB / 1.106 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004187/1.2, allocations: 0.7005 MB / 1.106 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.779e-05/1.2, allocations: 4.438 kB / 1.106 GB, free: 9.941 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.621e-05/1.2, allocations: 15.44 kB / 1.106 GB, free: 9.926 MB / 0.7136 GB Notification: Performance of SimCode: time 1.512e-06/1.2, allocations: 0 / 1.106 GB, free: 9.926 MB / 0.7136 GB Notification: Performance of Templates: time 0.01043/1.21, allocations: 2.21 MB / 1.108 GB, free: 7.805 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe 2>&1)