Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.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.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.606/1.606, allocations: 297.8 MB / 313.7 MB, free: 108 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.0009056/0.0009057, allocations: 180.4 kB / 384.6 MB, free: 10.85 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.328/1.328, allocations: 223.2 MB / 0.6626 GB, free: 4.281 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.0007264/0.0007264, allocations: 102.4 kB / 0.7808 GB, free: 50.26 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000434/0.000434, allocations: 12.5 kB / 0.9088 GB, free: 2.855 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5959/0.5963, allocations: 120.3 MB / 1.026 GB, free: 55.87 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1732/0.7696, allocations: 141 MB / 1.164 GB, free: 2.418 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001963/0.7698, allocations: 72.52 kB / 1.164 GB, free: 2.359 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002415/0.7722, allocations: 0.9604 MB / 1.165 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.375e-06/0.7722, allocations: 0.6875 kB / 1.165 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.7723, allocations: 0 / 1.165 GB, free: 1.629 MB / 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.0003957/0.7727, allocations: 377.3 kB / 1.165 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.7727, allocations: 9.344 kB / 1.165 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.192e-05/0.7728, allocations: 4.938 kB / 1.165 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.483e-05/0.7728, allocations: 175 kB / 1.166 GB, free: 1.012 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.7729, allocations: 0.9844 kB / 1.166 GB, free: 1.012 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.7729, allocations: 5 kB / 1.166 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.7731, allocations: 70.09 kB / 1.166 GB, free: 0.9453 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.7731, allocations: 1.938 kB / 1.166 GB, free: 0.9453 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.7731, allocations: 8.641 kB / 1.166 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-06/0.7731, allocations: 4 kB / 1.166 GB, free: 0.9336 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001683/0.7733, allocations: 54.16 kB / 1.166 GB, free: 0.8945 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004569/0.7738, allocations: 308.9 kB / 1.166 GB, free: 0.5742 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002308/0.774, allocations: 64.45 kB / 1.166 GB, free: 0.5117 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.875e-05/0.7741, allocations: 31.83 kB / 1.166 GB, free: 496 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.7741, allocations: 0 / 1.166 GB, free: 496 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.58e-05/0.7742, allocations: 32.52 kB / 1.166 GB, free: 456 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.7742, allocations: 0 / 1.166 GB, free: 456 kB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0003318/0.7745, allocations: 106 kB / 1.166 GB, free: 364 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.134e-05/0.7745, allocations: 55.34 kB / 1.166 GB, free: 296 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.431e-05/0.7746, allocations: 116.3 kB / 1.166 GB, free: 176 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.978e-06/0.7746, allocations: 26.73 kB / 1.166 GB, free: 144 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.851e-05/0.7747, allocations: 92.88 kB / 1.166 GB, free: 52 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.522e-05/0.7747, allocations: 7.109 kB / 1.166 GB, free: 48 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-06/0.7747, allocations: 0 / 1.166 GB, free: 48 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.7748, allocations: 320.6 kB / 1.167 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.694e-05/0.7749, allocations: 27.17 kB / 1.167 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.934e-05/0.775, allocations: 30.41 kB / 1.167 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.7752, allocations: 55.59 kB / 1.167 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.7752, allocations: 0 / 1.167 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002087/0.7754, allocations: 94.61 kB / 1.167 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.7754, allocations: 4 kB / 1.167 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.7754, allocations: 0.5312 kB / 1.167 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.7754, allocations: 3.031 kB / 1.167 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.124e-05/0.7755, allocations: 17.3 kB / 1.167 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.319e-06/0.7755, allocations: 1.719 kB / 1.167 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.7756, allocations: 26.08 kB / 1.167 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.7757, allocations: 4 kB / 1.167 GB, free: 15.52 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.194e-05/0.7757, allocations: 115.2 kB / 1.167 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/0.7758, allocations: 7.906 kB / 1.167 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002469/0.776, allocations: 93.11 kB / 1.167 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.776, allocations: 2.156 kB / 1.167 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.776, allocations: 4 kB / 1.167 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.7761, allocations: 0.7969 kB / 1.167 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.7762, allocations: 170.3 kB / 1.167 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.7762, allocations: 0.6094 kB / 1.167 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.546e-05/0.7763, allocations: 11.61 kB / 1.167 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.7763, allocations: 0 / 1.167 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-06/0.7763, allocations: 1.406 kB / 1.167 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.7763, allocations: 6.406 kB / 1.167 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.7763, allocations: 0.6562 kB / 1.167 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002344/0.7766, allocations: 176.8 kB / 1.168 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.505e-05/0.7766, allocations: 89.72 kB / 1.168 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.7766, allocations: 5.188 kB / 1.168 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.7768, allocations: 17.86 kB / 1.168 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/0.7768, allocations: 12.34 kB / 1.168 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-06/0.7769, allocations: 0.9375 kB / 1.168 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.848e-05/0.7769, allocations: 90.8 kB / 1.168 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7769, allocations: 4 kB / 1.168 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000201/0.7771, allocations: 8 kB / 1.168 GB, free: 14.68 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: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0001057/0.7772, allocations: 97.27 kB / 1.168 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002166/0.7775, allocations: 59.53 kB / 1.168 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.7775, allocations: 4 kB / 1.168 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.286e-05/0.7776, allocations: 30.59 kB / 1.168 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.7778, allocations: 13.67 kB / 1.168 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003006/0.7782, allocations: 138.3 kB / 1.168 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/0.7784, allocations: 0.6817 MB / 1.169 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.944e-05/0.7784, allocations: 1.094 kB / 1.169 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.082e-05/0.7785, allocations: 12.05 kB / 1.169 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of SimCode: time 2.2e-07/0.7785, allocations: 0 / 1.169 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of Templates: time 0.002639/0.7811, allocations: 0.6292 MB / 1.169 GB, free: 13.29 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)