Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 100.3 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.754/1.754, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.807/1.807, allocations: 251.9 MB / 0.51 GB, free: 4.844 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006212/0.0006213, allocations: 16 kB / 0.6241 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6621/0.6628, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001733/0.6646, allocations: 1.183 MB / 0.7291 GB, free: 10.24 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004122/0.665, allocations: 204.3 kB / 0.7293 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.722e-05/0.6651, allocations: 8 kB / 0.7293 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.86e-05/0.6651, allocations: 3.984 kB / 0.7294 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.549e-05/0.6652, allocations: 11.92 kB / 0.7294 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001316/0.6653, allocations: 15.98 kB / 0.7294 GB, free: 10 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.173e-05/0.6654, allocations: 39.94 kB / 0.7294 GB, free: 9.961 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.331e-05/0.6655, allocations: 8 kB / 0.7294 GB, free: 9.953 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.487e-05/0.6656, allocations: 31.84 kB / 0.7295 GB, free: 9.922 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.166e-05/0.6657, allocations: 27.91 kB / 0.7295 GB, free: 9.895 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.6657, allocations: 4 kB / 0.7295 GB, free: 9.891 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.236e-05/0.6657, allocations: 0 / 0.7295 GB, free: 9.891 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.216e-05/0.6657, allocations: 15.92 kB / 0.7295 GB, free: 9.875 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.35e-05/0.6658, allocations: 29.7 kB / 0.7295 GB, free: 9.84 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 7.871e-05/0.6659, allocations: 49.86 kB / 0.7296 GB, free: 9.793 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.6659, allocations: 0 / 0.7296 GB, free: 9.793 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.874e-06/0.6659, allocations: 0 / 0.7296 GB, free: 9.793 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.6659, allocations: 0 / 0.7296 GB, free: 9.793 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006012/0.6665, allocations: 398.2 kB / 0.73 GB, free: 9.359 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.6665, allocations: 8.031 kB / 0.73 GB, free: 9.352 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.704e-05/0.6666, allocations: 7.906 kB / 0.73 GB, free: 9.344 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.6667, allocations: 182.8 kB / 0.7301 GB, free: 9.125 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.6668, allocations: 11.88 kB / 0.7302 GB, free: 9.113 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/0.6668, allocations: 8 kB / 0.7302 GB, free: 9.105 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003312/0.6671, allocations: 85.64 kB / 0.7302 GB, free: 9.016 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.6671, allocations: 0 / 0.7302 GB, free: 9.016 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.6671, allocations: 0 / 0.7302 GB, free: 9.016 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.6672, allocations: 4 kB / 0.7303 GB, free: 9.012 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003135/0.6675, allocations: 95.92 kB / 0.7303 GB, free: 8.918 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004357/0.6679, allocations: 296.8 kB / 0.7306 GB, free: 8.578 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.6682, allocations: 70.53 kB / 0.7307 GB, free: 8.5 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.6682, allocations: 4 kB / 0.7307 GB, free: 8.496 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003544/0.6685, allocations: 103.5 kB / 0.7308 GB, free: 8.383 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.452e-06/0.6686, allocations: 0 / 0.7308 GB, free: 8.383 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0006938/0.6693, allocations: 189.4 kB / 0.731 GB, free: 8.191 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.696e-05/0.6693, allocations: 59.3 kB / 0.731 GB, free: 8.121 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.6695, allocations: 129.8 kB / 0.7312 GB, free: 7.984 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.6695, allocations: 25.7 kB / 0.7312 GB, free: 7.953 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.367e-05/0.6696, allocations: 88.14 kB / 0.7313 GB, free: 7.863 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.6697, allocations: 15.88 kB / 0.7313 GB, free: 7.848 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-06/0.6697, allocations: 0 / 0.7313 GB, free: 7.848 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001899/0.6699, allocations: 322.8 kB / 0.7316 GB, free: 7.523 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/0.67, allocations: 47.97 kB / 0.7316 GB, free: 7.477 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001775/0.6702, allocations: 57.67 kB / 0.7317 GB, free: 7.414 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.6704, allocations: 55.95 kB / 0.7317 GB, free: 7.359 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.6704, allocations: 0 / 0.7317 GB, free: 7.359 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003831/0.6708, allocations: 145.5 kB / 0.7319 GB, free: 7.211 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.437e-05/0.6709, allocations: 4 kB / 0.7319 GB, free: 7.207 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.6709, allocations: 0 / 0.7319 GB, free: 7.207 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.6709, allocations: 4 kB / 0.7319 GB, free: 7.203 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.6711, allocations: 24.02 kB / 0.7319 GB, free: 7.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.6711, allocations: 3.984 kB / 0.7319 GB, free: 7.176 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.6712, allocations: 23.94 kB / 0.7319 GB, free: 7.152 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.6712, allocations: 4 kB / 0.7319 GB, free: 7.148 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001083/0.6713, allocations: 121.8 kB / 0.7321 GB, free: 7.02 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.38e-05/0.6713, allocations: 11.83 kB / 0.7321 GB, free: 7.008 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.12e-05/0.6714, allocations: 12.38 kB / 0.7321 GB, free: 6.996 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.6714, allocations: 3.984 kB / 0.7321 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.086e-06/0.6714, allocations: 0 / 0.7321 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.6714, allocations: 0 / 0.7321 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.6716, allocations: 185.5 kB / 0.7323 GB, free: 6.762 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.6716, allocations: 3.984 kB / 0.7323 GB, free: 6.758 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001795/0.6718, allocations: 23.98 kB / 0.7323 GB, free: 6.734 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.6718, allocations: 0 / 0.7323 GB, free: 6.734 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.6718, allocations: 4.312 kB / 0.7323 GB, free: 6.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.6718, allocations: 0 / 0.7323 GB, free: 6.73 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.6718, allocations: 4 kB / 0.7323 GB, free: 6.727 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000381/0.6722, allocations: 176.8 kB / 0.7325 GB, free: 6.535 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.337e-05/0.6723, allocations: 81.02 kB / 0.7325 GB, free: 6.438 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.6723, allocations: 4 kB / 0.7325 GB, free: 6.434 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.6724, allocations: 27.97 kB / 0.7326 GB, free: 6.406 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.762e-05/0.6725, allocations: 11.98 kB / 0.7326 GB, free: 6.395 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.6725, allocations: 0 / 0.7326 GB, free: 6.395 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.299e-05/0.6726, allocations: 95.64 kB / 0.7327 GB, free: 6.301 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6726, allocations: 0 / 0.7327 GB, free: 6.301 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001995/0.6728, allocations: 12 kB / 0.7327 GB, free: 6.289 MB / 0.545 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,booPul.y,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked 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.0001336/0.6729, allocations: 107.2 kB / 0.7328 GB, free: 6.176 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003718/0.6733, allocations: 111.9 kB / 0.7329 GB, free: 6.066 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.6733, allocations: 0 / 0.7329 GB, free: 6.066 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001819/0.6735, allocations: 55.95 kB / 0.7329 GB, free: 6.012 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001728/0.6737, allocations: 24.33 kB / 0.733 GB, free: 5.988 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003445/0.674, allocations: 170.5 kB / 0.7331 GB, free: 5.793 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003657/0.6744, allocations: 0.6965 MB / 0.7338 GB, free: 5.07 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.989e-05/0.6745, allocations: 7.938 kB / 0.7338 GB, free: 5.059 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.199e-05/0.6745, allocations: 7.438 kB / 0.7338 GB, free: 5.051 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.6745, allocations: 0 / 0.7338 GB, free: 5.051 MB / 0.545 GB Notification: Performance of Templates: time 0.003159/0.6777, allocations: 0.8208 MB / 0.7346 GB, free: 4.238 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) Environment - environmentSimulation: