Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.603/1.603, allocations: 297.8 MB / 313.8 MB, free: 112 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.0009673/0.0009674, allocations: 180.5 kB / 384.6 MB, free: 10.86 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.327/1.327, allocations: 223.2 MB / 0.6626 GB, free: 4.332 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.0007302/0.0007302, allocations: 97.17 kB / 0.7808 GB, free: 50.3 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003818/0.0003818, allocations: 13.53 kB / 0.9088 GB, free: 2.879 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5993/0.5997, allocations: 120.3 MB / 1.026 GB, free: 56.01 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1771/0.7768, allocations: 141.3 MB / 1.164 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001924/0.7771, allocations: 71.41 kB / 1.164 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.007725/0.7848, allocations: 2.941 MB / 1.167 GB, free: 16 kB / 0.7292 GB Notification: Performance of FrontEnd: time 1.843e-06/0.7848, allocations: 0.5312 kB / 1.167 GB, free: 16 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.7849, allocations: 0 / 1.167 GB, free: 16 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004181/0.7853, allocations: 409.5 kB / 1.168 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.7853, allocations: 8.781 kB / 1.168 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.333e-05/0.7854, allocations: 12.84 kB / 1.168 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.7855, allocations: 176.2 kB / 1.168 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.7855, allocations: 5.391 kB / 1.168 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.938e-05/0.7856, allocations: 14.02 kB / 1.168 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.7857, allocations: 49.45 kB / 1.168 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.7857, allocations: 192 / 1.168 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.7857, allocations: 5.125 kB / 1.168 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.7857, allocations: 3.938 kB / 1.168 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.739e-05/0.7858, allocations: 14.84 kB / 1.168 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004456/0.7862, allocations: 346.4 kB / 1.168 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.653e-05/0.7863, allocations: 39.31 kB / 1.168 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.636e-05/0.7863, allocations: 13.98 kB / 1.168 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.7863, allocations: 3.875 kB / 1.168 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001763/0.7865, allocations: 90.8 kB / 1.168 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.7865, allocations: 4 kB / 1.168 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002264/0.7868, allocations: 94.8 kB / 1.168 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.7868, allocations: 51.92 kB / 1.169 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.458e-05/0.7869, allocations: 125.9 kB / 1.169 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/0.787, allocations: 34.27 kB / 1.169 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.023e-05/0.787, allocations: 93.41 kB / 1.169 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.587e-05/0.787, allocations: 12.92 kB / 1.169 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.99e-05/0.7871, allocations: 9.438 kB / 1.169 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.7e-05/0.7872, allocations: 321.2 kB / 1.169 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.7873, allocations: 56.91 kB / 1.169 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.7875, allocations: 97.97 kB / 1.169 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.7877, allocations: 157.1 kB / 1.169 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.7877, allocations: 0.5 kB / 1.169 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003842/0.7881, allocations: 258.3 kB / 1.17 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.899e-05/0.7881, allocations: 67.44 kB / 1.17 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.7881, allocations: 5.188 kB / 1.17 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.7881, allocations: 0.6562 kB / 1.17 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.534e-05/0.7882, allocations: 12.64 kB / 1.17 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.7882, allocations: 4.344 kB / 1.17 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003141/0.7885, allocations: 69.81 kB / 1.17 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.185e-05/0.7885, allocations: 13 kB / 1.17 GB, free: 13.31 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 9.625e-05/0.7886, allocations: 123.1 kB / 1.17 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.543e-05/0.7887, allocations: 17.91 kB / 1.17 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.499e-05/0.7887, allocations: 8.984 kB / 1.17 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.7887, allocations: 4 kB / 1.17 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.7887, allocations: 2.391 kB / 1.17 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.7887, allocations: 0 / 1.17 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.7889, allocations: 175.7 kB / 1.17 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.7889, allocations: 0.7969 kB / 1.17 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.112e-05/0.7889, allocations: 7.938 kB / 1.17 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.7889, allocations: 0.8438 kB / 1.17 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.7889, allocations: 0.8125 kB / 1.17 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.7889, allocations: 8.609 kB / 1.17 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.7889, allocations: 0 / 1.17 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.7891, allocations: 108.7 kB / 1.17 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.401e-05/0.7891, allocations: 85.77 kB / 1.17 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.7891, allocations: 2.719 kB / 1.17 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.83e-05/0.7891, allocations: 1.5 kB / 1.17 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/0.7892, allocations: 6.625 kB / 1.17 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-06/0.7892, allocations: 4.797 kB / 1.17 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.036e-05/0.7892, allocations: 94.23 kB / 1.17 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7893, allocations: 0 / 1.17 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002304/0.7895, allocations: 41.3 kB / 1.17 GB, free: 12.58 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001534/0.7896, allocations: 110.4 kB / 1.171 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003058/0.79, allocations: 251.3 kB / 1.171 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.79, allocations: 0 / 1.171 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.308e-05/0.79, allocations: 26.59 kB / 1.171 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002133/0.7902, allocations: 20.59 kB / 1.171 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003262/0.7906, allocations: 166.1 kB / 1.171 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002185/0.7908, allocations: 0.6905 MB / 1.172 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.644e-05/0.7908, allocations: 5.219 kB / 1.172 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.269e-05/0.7909, allocations: 8.141 kB / 1.172 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of SimCode: time 2.21e-07/0.7909, allocations: 7.938 kB / 1.172 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of Templates: time 0.004488/0.7954, allocations: 1.712 MB / 1.173 GB, free: 10.33 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1)