Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Switch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.66/1.66, allocations: 297.8 MB / 313.7 MB, free: 156 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009883/0.0009885, allocations: 180.5 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 223.2 MB / 0.6626 GB, free: 4.371 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007841/0.0007843, allocations: 90.44 kB / 0.7808 GB, free: 43.8 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0006076/0.0006078, allocations: 16 kB / 0.9088 GB, free: 0.6953 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6307/0.6313, allocations: 120.3 MB / 1.026 GB, free: 56.91 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1846/0.816, allocations: 141.7 MB / 1.165 GB, free: 0.5703 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/0.8163, allocations: 71.95 kB / 1.165 GB, free: 0.5 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01281/0.8292, allocations: 4.526 MB / 1.169 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.825e-06/0.8292, allocations: 0 / 1.169 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.8292, allocations: 4 kB / 1.169 GB, free: 12.02 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005909/0.8298, allocations: 497.1 kB / 1.17 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.8299, allocations: 8.031 kB / 1.17 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.563e-05/0.8299, allocations: 16.84 kB / 1.17 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.8301, allocations: 197.7 kB / 1.17 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.806e-05/0.8302, allocations: 16.38 kB / 1.17 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.196e-05/0.8302, allocations: 16.38 kB / 1.17 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.8304, allocations: 93.77 kB / 1.17 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.8304, allocations: 0 / 1.17 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.8304, allocations: 0 / 1.17 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.8305, allocations: 4 kB / 1.17 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.8306, allocations: 47.92 kB / 1.17 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007047/0.8313, allocations: 496.2 kB / 1.171 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/0.8315, allocations: 70.56 kB / 1.171 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.596e-05/0.8316, allocations: 29.53 kB / 1.171 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.8316, allocations: 4 kB / 1.171 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002104/0.8318, allocations: 111.3 kB / 1.171 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 1.703e-06/0.8318, allocations: 3.938 kB / 1.171 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0003264/0.8321, allocations: 177.1 kB / 1.171 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.8322, allocations: 55.41 kB / 1.171 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.8323, allocations: 158.2 kB / 1.171 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/0.8324, allocations: 33.7 kB / 1.171 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.8325, allocations: 112 kB / 1.171 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.583e-05/0.8325, allocations: 27.69 kB / 1.171 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.523e-05/0.8325, allocations: 8 kB / 1.171 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.8327, allocations: 326.8 kB / 1.172 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001862/0.8329, allocations: 91.94 kB / 1.172 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.8331, allocations: 145.9 kB / 1.172 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002898/0.8334, allocations: 253.3 kB / 1.172 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.8334, allocations: 0 / 1.172 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005992/0.834, allocations: 398.4 kB / 1.172 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.277e-05/0.8341, allocations: 97.09 kB / 1.173 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.8341, allocations: 3.938 kB / 1.173 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.8341, allocations: 11.92 kB / 1.173 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.208e-05/0.8342, allocations: 8 kB / 1.173 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.8342, allocations: 4 kB / 1.173 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004346/0.8347, allocations: 116 kB / 1.173 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.347e-05/0.8347, allocations: 23.98 kB / 1.173 GB, free: 8.109 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,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): 14 * 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.0001384/0.8348, allocations: 143 kB / 1.173 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.773e-05/0.8349, allocations: 11.81 kB / 1.173 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.68e-05/0.8349, allocations: 20.72 kB / 1.173 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.8349, allocations: 4 kB / 1.173 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.8349, allocations: 4 kB / 1.173 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.8349, allocations: 0 / 1.173 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001822/0.8351, allocations: 221.5 kB / 1.173 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.8351, allocations: 0 / 1.173 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.091e-05/0.8352, allocations: 8 kB / 1.173 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.8352, allocations: 4 kB / 1.173 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.8352, allocations: 7.922 kB / 1.173 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.8352, allocations: 0 / 1.173 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.8352, allocations: 3.938 kB / 1.173 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002145/0.8354, allocations: 166 kB / 1.173 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.24e-05/0.8355, allocations: 85.02 kB / 1.173 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.8355, allocations: 7.938 kB / 1.173 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.917e-05/0.8356, allocations: 4 kB / 1.173 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/0.8356, allocations: 11.98 kB / 1.173 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.8356, allocations: 7.984 kB / 1.173 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.252e-05/0.8357, allocations: 113.9 kB / 1.173 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8357, allocations: 0 / 1.173 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000276/0.836, allocations: 55.98 kB / 1.174 GB, free: 7.156 MB / 0.7448 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 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul2.y,booPul3.y,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.0001649/0.8362, allocations: 115.8 kB / 1.174 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005083/0.8367, allocations: 386 kB / 1.174 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.8367, allocations: 4 kB / 1.174 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.69e-05/0.8368, allocations: 50.55 kB / 1.174 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.837, allocations: 30.48 kB / 1.174 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004387/0.8375, allocations: 270.6 kB / 1.174 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.8378, allocations: 0.7087 MB / 1.175 GB, free: 5.512 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.936e-05/0.8378, allocations: 12.64 kB / 1.175 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.697e-05/0.8379, allocations: 15.44 kB / 1.175 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of SimCode: time 2.41e-07/0.8379, allocations: 0 / 1.175 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of Templates: time 0.005228/0.8431, allocations: 2.586 MB / 1.178 GB, free: 2.941 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1)