Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Switch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.561/1.561, allocations: 297.8 MB / 313.7 MB, free: 48 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.000905/0.0009051, allocations: 172.5 kB / 384.6 MB, free: 10.8 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.274/1.274, allocations: 223.2 MB / 0.6626 GB, free: 4.273 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.0007404/0.0007405, allocations: 95.09 kB / 0.7808 GB, free: 50.39 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003589/0.0003589, allocations: 12.53 kB / 0.9088 GB, free: 2.789 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5963/0.5967, allocations: 120.3 MB / 1.026 GB, free: 55.87 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1812/0.778, allocations: 141.5 MB / 1.165 GB, free: 2.027 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/0.7783, allocations: 72.61 kB / 1.165 GB, free: 1.969 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.006265/0.7845, allocations: 2.234 MB / 1.167 GB, free: 376 kB / 0.7292 GB Notification: Performance of FrontEnd: time 1.963e-06/0.7846, allocations: 0 / 1.167 GB, free: 376 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.7846, allocations: 4 kB / 1.167 GB, free: 372 kB / 0.7292 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.0005306/0.7851, allocations: 424.6 kB / 1.167 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.7852, allocations: 10.25 kB / 1.167 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.732e-05/0.7852, allocations: 10.34 kB / 1.167 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.7854, allocations: 178 kB / 1.167 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.349e-05/0.7854, allocations: 8.375 kB / 1.167 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.984e-05/0.7855, allocations: 12.97 kB / 1.167 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002794/0.7857, allocations: 86.72 kB / 1.167 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.7858, allocations: 192 / 1.167 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.7858, allocations: 8.547 kB / 1.167 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.7858, allocations: 0.8125 kB / 1.167 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003209/0.7861, allocations: 93.69 kB / 1.168 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005459/0.7867, allocations: 331.7 kB / 1.168 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.7869, allocations: 65.17 kB / 1.168 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.7871, allocations: 55.77 kB / 1.168 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.7871, allocations: 0.5938 kB / 1.168 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003288/0.7874, allocations: 106.5 kB / 1.168 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 1.883e-06/0.7875, allocations: 0.5312 kB / 1.168 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0006381/0.7881, allocations: 200 kB / 1.168 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.7882, allocations: 60.2 kB / 1.168 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.7883, allocations: 116.3 kB / 1.168 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.7883, allocations: 29.7 kB / 1.169 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.779e-05/0.7884, allocations: 98.94 kB / 1.169 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.7884, allocations: 17.19 kB / 1.169 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.027e-05/0.7884, allocations: 0 / 1.169 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.7886, allocations: 325.4 kB / 1.169 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000221/0.7888, allocations: 74.11 kB / 1.169 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002142/0.789, allocations: 90.66 kB / 1.169 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003703/0.7894, allocations: 167.1 kB / 1.169 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.7894, allocations: 0 / 1.169 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005578/0.79, allocations: 234.7 kB / 1.169 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.642e-05/0.79, allocations: 36.14 kB / 1.169 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.79, allocations: 3.938 kB / 1.17 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.7901, allocations: 0.8125 kB / 1.17 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.7902, allocations: 29.45 kB / 1.17 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.7902, allocations: 0.5625 kB / 1.17 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002363/0.7905, allocations: 59.52 kB / 1.17 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.813e-05/0.7905, allocations: 5.359 kB / 1.17 GB, free: 13.54 MB / 0.7448 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 () * Number of clocked 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 0.0001191/0.7906, allocations: 126.9 kB / 1.17 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.76e-05/0.7907, allocations: 7.906 kB / 1.17 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.499e-05/0.7907, allocations: 10.2 kB / 1.17 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.7907, allocations: 0 / 1.17 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.7907, allocations: 1.453 kB / 1.17 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.7907, allocations: 0.5625 kB / 1.17 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.7909, allocations: 190.6 kB / 1.17 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.7909, allocations: 4.516 kB / 1.17 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.7911, allocations: 21.44 kB / 1.17 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.7911, allocations: 1.219 kB / 1.17 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.7911, allocations: 1.688 kB / 1.17 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.7911, allocations: 0 / 1.17 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.7911, allocations: 0 / 1.17 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004012/0.7915, allocations: 181.9 kB / 1.17 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.451e-05/0.7916, allocations: 85.61 kB / 1.17 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.7916, allocations: 8.609 kB / 1.17 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.533e-05/0.7917, allocations: 17.11 kB / 1.17 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.7917, allocations: 2.766 kB / 1.17 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.098e-06/0.7917, allocations: 4.797 kB / 1.17 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.79e-05/0.7918, allocations: 95.67 kB / 1.17 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7918, allocations: 4 kB / 1.17 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002317/0.7921, allocations: 28.61 kB / 1.17 GB, free: 12.73 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * 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.0001912/0.7923, allocations: 110.8 kB / 1.17 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005072/0.7928, allocations: 215 kB / 1.171 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.7928, allocations: 0 / 1.171 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.793, allocations: 59.7 kB / 1.171 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.7932, allocations: 20.39 kB / 1.171 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003993/0.7936, allocations: 173.4 kB / 1.171 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.7939, allocations: 0.6919 MB / 1.172 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.287e-05/0.794, allocations: 4.656 kB / 1.172 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.926e-05/0.794, allocations: 12.66 kB / 1.172 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of SimCode: time 6.41e-07/0.794, allocations: 0 / 1.172 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of Templates: time 0.00437/0.7984, allocations: 1.362 MB / 1.173 GB, free: 10.71 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Switch.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Switch.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Switch.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Switch.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Switch.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Switch.pipe 2>&1)