Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.684/1.684, allocations: 285.4 MB / 298 MB, free: 6.062 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001032/0.001032, allocations: 176.9 kB / 366.4 MB, free: 2.121 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.735/1.735, allocations: 205.1 MB / 0.6248 GB, free: 7.773 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008146/0.0008146, allocations: 80.75 kB / 0.738 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.3e-05/3.302e-05, allocations: 7.984 kB / 0.8583 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8404/0.8405, allocations: 115.3 MB / 0.9709 GB, free: 77.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2069/1.047, allocations: 138 MB / 1.106 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/1.048, allocations: 75.23 kB / 1.106 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01257/1.06, allocations: 4.053 MB / 1.11 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.814e-06/1.06, allocations: 0 / 1.11 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.198e-05/1.06, allocations: 4 kB / 1.11 GB, free: 9.691 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.000626/1.061, allocations: 447.5 kB / 1.11 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/1.061, allocations: 16.03 kB / 1.11 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/1.061, allocations: 13.97 kB / 1.11 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/1.061, allocations: 171 kB / 1.11 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.977e-05/1.061, allocations: 8 kB / 1.11 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.224e-05/1.062, allocations: 19.98 kB / 1.11 GB, free: 8.93 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/1.062, allocations: 53.62 kB / 1.11 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/1.062, allocations: 0 / 1.11 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/1.062, allocations: 4 kB / 1.11 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/1.062, allocations: 3.188 kB / 1.11 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.928e-05/1.062, allocations: 19.98 kB / 1.11 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006789/1.062, allocations: 416.5 kB / 1.111 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.157e-05/1.063, allocations: 30.52 kB / 1.111 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.121e-05/1.063, allocations: 24.94 kB / 1.111 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/1.063, allocations: 0 / 1.111 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002203/1.063, allocations: 103.4 kB / 1.111 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/1.063, allocations: 0 / 1.111 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0003115/1.063, allocations: 113.5 kB / 1.111 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/1.063, allocations: 51.41 kB / 1.111 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/1.063, allocations: 130.8 kB / 1.111 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.239e-05/1.063, allocations: 33.69 kB / 1.111 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/1.064, allocations: 96.14 kB / 1.111 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/1.064, allocations: 19.7 kB / 1.111 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.602e-05/1.064, allocations: 11.94 kB / 1.111 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001708/1.064, allocations: 330.8 kB / 1.112 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/1.064, allocations: 87.92 kB / 1.112 GB, free: 7.312 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002335/1.064, allocations: 132.6 kB / 1.112 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002532/1.065, allocations: 161.1 kB / 1.112 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/1.065, allocations: 0 / 1.112 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000728/1.065, allocations: 372.8 kB / 1.112 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001068/1.065, allocations: 105.1 kB / 1.113 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/1.065, allocations: 4 kB / 1.113 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/1.065, allocations: 5.031 kB / 1.113 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.967e-05/1.066, allocations: 4 kB / 1.113 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/1.066, allocations: 4 kB / 1.113 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005406/1.066, allocations: 105.5 kB / 1.113 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.988e-05/1.066, allocations: 23.98 kB / 1.113 GB, free: 6.34 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.0001551/1.066, allocations: 120.9 kB / 1.113 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.553e-05/1.066, allocations: 11.89 kB / 1.113 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.654e-05/1.066, allocations: 12.62 kB / 1.113 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/1.066, allocations: 3.984 kB / 1.113 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/1.066, allocations: 1.594 kB / 1.113 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/1.066, allocations: 0 / 1.113 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000231/1.067, allocations: 193.6 kB / 1.113 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/1.067, allocations: 0 / 1.113 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.526e-05/1.067, allocations: 4 kB / 1.113 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/1.067, allocations: 4 kB / 1.113 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/1.067, allocations: 4 kB / 1.113 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/1.067, allocations: 4 kB / 1.113 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/1.067, allocations: 4.547 kB / 1.113 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/1.067, allocations: 138.3 kB / 1.113 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.249e-05/1.067, allocations: 81.02 kB / 1.113 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.631e-05/1.067, allocations: 8 kB / 1.113 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.295e-05/1.067, allocations: 0 / 1.113 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.554e-05/1.067, allocations: 11.98 kB / 1.113 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/1.067, allocations: 11.98 kB / 1.113 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.652e-05/1.067, allocations: 92.12 kB / 1.113 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.8e-07/1.067, allocations: 3.938 kB / 1.113 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003268/1.068, allocations: 51.88 kB / 1.113 GB, free: 5.508 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.0003097/1.068, allocations: 112.3 kB / 1.114 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000558/1.069, allocations: 358.4 kB / 1.114 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.069, allocations: 8.062 kB / 1.114 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.32e-05/1.069, allocations: 33.88 kB / 1.114 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/1.069, allocations: 25.91 kB / 1.114 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00037/1.069, allocations: 120.1 kB / 1.114 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000388/1.07, allocations: 0.7043 MB / 1.115 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.987e-05/1.07, allocations: 8.438 kB / 1.115 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.164e-05/1.07, allocations: 15.42 kB / 1.115 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of SimCode: time 6.11e-07/1.07, allocations: 0 / 1.115 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of Templates: time 0.006338/1.076, allocations: 2.381 MB / 1.117 GB, free: 1.762 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe 2>&1)