Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.645/1.645, allocations: 289.9 MB / 297.4 MB, free: 6.406 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.001255/0.001255, allocations: 180.8 kB / 366.7 MB, free: 1.66 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.714/1.714, allocations: 205.3 MB / 0.626 GB, free: 7.191 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.0007924/0.0007925, allocations: 89.27 kB / 0.74 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.922e-05/1.939e-05, allocations: 4 kB / 0.8597 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5807/0.5808, allocations: 116.3 MB / 0.9733 GB, free: 76.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1761/0.7569, allocations: 138.5 MB / 1.109 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001986/0.7572, allocations: 68.48 kB / 1.109 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.006591/0.7638, allocations: 2.208 MB / 1.111 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7638, allocations: 3.062 kB / 1.111 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.7638, allocations: 4 kB / 1.111 GB, free: 9.457 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.0005782/0.7644, allocations: 418.1 kB / 1.111 GB, free: 9 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.7645, allocations: 8.906 kB / 1.111 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.379e-05/0.7645, allocations: 7.906 kB / 1.111 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.7647, allocations: 178 kB / 1.111 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.7647, allocations: 4 kB / 1.111 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.7647, allocations: 4 kB / 1.111 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.289e-05/0.7648, allocations: 24 kB / 1.111 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.799e-05/0.7649, allocations: 54.86 kB / 1.111 GB, free: 8.688 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.765, allocations: 0 / 1.111 GB, free: 8.688 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.765, allocations: 0 / 1.111 GB, free: 8.688 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.765, allocations: 4 kB / 1.111 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004451/0.7654, allocations: 316.2 kB / 1.112 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.283e-05/0.7655, allocations: 33.12 kB / 1.112 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.604e-05/0.7656, allocations: 16.86 kB / 1.112 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.7656, allocations: 0 / 1.112 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000136/0.7657, allocations: 71.42 kB / 1.112 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.7657, allocations: 7.938 kB / 1.112 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0001998/0.7659, allocations: 71.94 kB / 1.112 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.766, allocations: 51.41 kB / 1.112 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.235e-05/0.7661, allocations: 113.1 kB / 1.112 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.7661, allocations: 29.7 kB / 1.112 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.867e-05/0.7662, allocations: 92.14 kB / 1.112 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.7662, allocations: 11.8 kB / 1.112 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.351e-05/0.7662, allocations: 4 kB / 1.112 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.7663, allocations: 322.8 kB / 1.113 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.286e-05/0.7664, allocations: 32 kB / 1.113 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.325e-05/0.7665, allocations: 58.5 kB / 1.113 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001876/0.7667, allocations: 35.97 kB / 1.113 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.7667, allocations: 0 / 1.113 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003358/0.7671, allocations: 141.5 kB / 1.113 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.843e-05/0.7671, allocations: 38.78 kB / 1.113 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.7671, allocations: 0 / 1.113 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.7671, allocations: 3.984 kB / 1.113 GB, free: 7.141 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.7673, allocations: 23.98 kB / 1.113 GB, free: 7.117 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.7673, allocations: 4 kB / 1.113 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002382/0.7676, allocations: 55.95 kB / 1.113 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/0.7676, allocations: 7.984 kB / 1.113 GB, free: 7.051 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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 9.078e-05/0.7677, allocations: 111 kB / 1.113 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.615e-05/0.7677, allocations: 7.906 kB / 1.113 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.855e-05/0.7677, allocations: 12.62 kB / 1.113 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.7678, allocations: 0 / 1.113 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.7678, allocations: 0 / 1.113 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.7678, allocations: 4 kB / 1.113 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001327/0.7679, allocations: 158.2 kB / 1.113 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.7679, allocations: 3.938 kB / 1.113 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.7681, allocations: 23.97 kB / 1.113 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.7681, allocations: 0 / 1.113 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.7681, allocations: 11.19 kB / 1.113 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.7681, allocations: 0 / 1.113 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.7681, allocations: 0 / 1.113 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001351/0.7682, allocations: 97.03 kB / 1.113 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.559e-05/0.7683, allocations: 92.95 kB / 1.113 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.7683, allocations: 3.938 kB / 1.113 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.432e-05/0.7684, allocations: 19.98 kB / 1.113 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.328e-05/0.7685, allocations: 3.984 kB / 1.113 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.7685, allocations: 8 kB / 1.113 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.603e-05/0.7685, allocations: 89.66 kB / 1.114 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7685, allocations: 0 / 1.114 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000217/0.7688, allocations: 31.98 kB / 1.114 GB, free: 6.312 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001642/0.7689, allocations: 110 kB / 1.114 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002277/0.7692, allocations: 139.4 kB / 1.114 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.7692, allocations: 0 / 1.114 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.148e-05/0.7692, allocations: 23.94 kB / 1.114 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001875/0.7694, allocations: 11.98 kB / 1.114 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002758/0.7697, allocations: 91.8 kB / 1.114 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.77, allocations: 0.6925 MB / 1.115 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.195e-05/0.7701, allocations: 5.438 kB / 1.115 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.831e-05/0.7701, allocations: 11.44 kB / 1.115 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.7701, allocations: 0 / 1.115 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of Templates: time 0.003878/0.774, allocations: 1.228 MB / 1.116 GB, free: 3.992 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1)