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.IntegerSwitch.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.IntegerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001274, allocations: 100.8 kB / 15.06 MB, free: 1.094 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.00148/0.00148, allocations: 177.3 kB / 15.95 MB, free: 208 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.871/1.871, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.569/1.569, allocations: 251.9 MB / 0.51 GB, free: 4.82 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.0009562/0.0009563, allocations: 20 kB / 0.6241 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.569/0.5699, allocations: 106.3 MB / 0.728 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch): time 0.001868/0.5718, allocations: 1.236 MB / 0.7292 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005081/0.5724, allocations: 240.2 kB / 0.7294 GB, free: 9.969 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.419e-05/0.5725, allocations: 4 kB / 0.7294 GB, free: 9.965 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.37e-05/0.5725, allocations: 3.938 kB / 0.7294 GB, free: 9.961 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.5726, allocations: 19.95 kB / 0.7295 GB, free: 9.941 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001812/0.5728, allocations: 27.91 kB / 0.7295 GB, free: 9.914 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.5729, allocations: 75.91 kB / 0.7296 GB, free: 9.84 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.5731, allocations: 37.41 kB / 0.7296 GB, free: 9.793 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.463e-05/0.5732, allocations: 35.84 kB / 0.7296 GB, free: 9.758 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.192e-05/0.5732, allocations: 43.77 kB / 0.7297 GB, free: 9.715 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.5733, allocations: 4 kB / 0.7297 GB, free: 9.711 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.676e-05/0.5733, allocations: 8 kB / 0.7297 GB, free: 9.703 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.448e-05/0.5733, allocations: 15.92 kB / 0.7297 GB, free: 9.688 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.079e-05/0.5734, allocations: 45.64 kB / 0.7297 GB, free: 9.637 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.5735, allocations: 81.77 kB / 0.7298 GB, free: 9.559 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.5735, allocations: 0 / 0.7298 GB, free: 9.559 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5735, allocations: 0 / 0.7298 GB, free: 9.559 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.5735, allocations: 0 / 0.7298 GB, free: 9.559 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0007074/0.5743, allocations: 435 kB / 0.7302 GB, free: 9.086 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.5743, allocations: 12.02 kB / 0.7302 GB, free: 9.074 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.571e-05/0.5744, allocations: 15.86 kB / 0.7303 GB, free: 9.059 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.5745, allocations: 178.9 kB / 0.7304 GB, free: 8.844 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.5746, allocations: 8.188 kB / 0.7304 GB, free: 8.836 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.5746, allocations: 12 kB / 0.7304 GB, free: 8.824 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.5748, allocations: 98.45 kB / 0.7305 GB, free: 8.727 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.5748, allocations: 4 kB / 0.7305 GB, free: 8.723 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.5748, allocations: 4 kB / 0.7306 GB, free: 8.719 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.5748, allocations: 4 kB / 0.7306 GB, free: 8.715 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.575, allocations: 56.53 kB / 0.7306 GB, free: 8.66 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006807/0.5757, allocations: 397.3 kB / 0.731 GB, free: 8.223 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.5759, allocations: 90.48 kB / 0.7311 GB, free: 8.125 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.5759, allocations: 0 / 0.7311 GB, free: 8.125 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002215/0.5761, allocations: 95.59 kB / 0.7312 GB, free: 8.02 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 3.095e-06/0.5761, allocations: 4 kB / 0.7312 GB, free: 8.016 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0003531/0.5765, allocations: 145.5 kB / 0.7313 GB, free: 7.867 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/0.5765, allocations: 55.34 kB / 0.7314 GB, free: 7.801 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.5767, allocations: 158.9 kB / 0.7315 GB, free: 7.633 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.5768, allocations: 33.7 kB / 0.7315 GB, free: 7.594 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.026e-05/0.5768, allocations: 103.9 kB / 0.7316 GB, free: 7.488 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/0.5769, allocations: 31.55 kB / 0.7317 GB, free: 7.457 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.624e-06/0.5769, allocations: 4 kB / 0.7317 GB, free: 7.453 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.577, allocations: 322.8 kB / 0.732 GB, free: 7.129 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.448e-05/0.5771, allocations: 32.2 kB / 0.732 GB, free: 7.098 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.129e-05/0.5772, allocations: 53.61 kB / 0.7321 GB, free: 7.035 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.552e-05/0.5773, allocations: 34.06 kB / 0.7321 GB, free: 7.004 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.5773, allocations: 0 / 0.7321 GB, free: 7.004 MB / 0.545 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001839/0.5775, allocations: 141.4 kB / 0.7322 GB, free: 6.859 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.5775, allocations: 4 kB / 0.7322 GB, free: 6.855 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.5775, allocations: 0 / 0.7322 GB, free: 6.855 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.5775, allocations: 4 kB / 0.7322 GB, free: 6.852 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.35e-05/0.5776, allocations: 15.98 kB / 0.7323 GB, free: 6.836 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.5776, allocations: 0 / 0.7323 GB, free: 6.836 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.5778, allocations: 27.92 kB / 0.7323 GB, free: 6.809 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.5778, allocations: 4 kB / 0.7323 GB, free: 6.805 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition3,$whenCondition2,$whenCondition1,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.5779, allocations: 132.9 kB / 0.7324 GB, free: 6.668 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.5779, allocations: 23.75 kB / 0.7324 GB, free: 6.645 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.949e-05/0.578, allocations: 12.84 kB / 0.7324 GB, free: 6.633 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.578, allocations: 4 kB / 0.7325 GB, free: 6.629 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.578, allocations: 3.984 kB / 0.7325 GB, free: 6.625 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.578, allocations: 0 / 0.7325 GB, free: 6.625 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/0.5782, allocations: 217.6 kB / 0.7327 GB, free: 6.363 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.5782, allocations: 0 / 0.7327 GB, free: 6.363 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.612e-05/0.5783, allocations: 12 kB / 0.7327 GB, free: 6.352 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.5783, allocations: 7.953 kB / 0.7327 GB, free: 6.344 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.5783, allocations: 7.984 kB / 0.7327 GB, free: 6.336 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.5783, allocations: 0 / 0.7327 GB, free: 6.336 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.5783, allocations: 3.938 kB / 0.7327 GB, free: 6.332 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001951/0.5785, allocations: 144.9 kB / 0.7328 GB, free: 6.172 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.531e-05/0.5786, allocations: 88.95 kB / 0.7329 GB, free: 6.066 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.322e-05/0.5786, allocations: 11.89 kB / 0.7329 GB, free: 6.055 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.5787, allocations: 27.97 kB / 0.733 GB, free: 6.027 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.838e-05/0.5788, allocations: 19.97 kB / 0.733 GB, free: 6.008 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.5788, allocations: 0 / 0.733 GB, free: 6.008 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.829e-05/0.5789, allocations: 121.4 kB / 0.7331 GB, free: 5.891 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5789, allocations: 0 / 0.7331 GB, free: 5.891 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002062/0.5791, allocations: 24 kB / 0.7331 GB, free: 5.867 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: 14 ($whenCondition3,$whenCondition2,$whenCondition1,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,booPul3.y,booPul3.pulseStart,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0001674/0.5793, allocations: 108.6 kB / 0.7332 GB, free: 5.754 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002176/0.5795, allocations: 85.66 kB / 0.7333 GB, free: 5.672 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.5795, allocations: 0 / 0.7333 GB, free: 5.672 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.883e-05/0.5796, allocations: 43.98 kB / 0.7333 GB, free: 5.629 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.5799, allocations: 23.92 kB / 0.7334 GB, free: 5.605 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000569/0.5805, allocations: 272 kB / 0.7336 GB, free: 5.312 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004375/0.5809, allocations: 0.7165 MB / 0.7343 GB, free: 4.57 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.002e-05/0.581, allocations: 9.078 kB / 0.7343 GB, free: 4.559 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.393e-05/0.581, allocations: 15.44 kB / 0.7343 GB, free: 4.547 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.581, allocations: 0 / 0.7343 GB, free: 4.547 MB / 0.545 GB Notification: Performance of Templates: time 0.00507/0.5861, allocations: 1.199 MB / 0.7355 GB, free: 3.359 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe 2>&1) Environment - environmentSimulation: