Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.803/1.803, allocations: 292.6 MB / 307.5 MB, free: 5.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001685/0.001685, allocations: 187.4 kB / 377.1 MB, free: 1.512 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.931/1.931, allocations: 205.4 MB / 0.6367 GB, free: 8.594 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008831/0.0008829, allocations: 95.19 kB / 0.751 GB, free: 62.98 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000371/0.0003709, allocations: 8 kB / 0.8748 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2801, allocations: 116.3 MB / 0.9884 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8033/1.084, allocations: 142.9 MB / 1.128 GB, free: 32.6 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/1.084, allocations: 83.44 kB / 1.128 GB, free: 32.53 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01981/1.104, allocations: 7.043 MB / 1.135 GB, free: 27.66 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.114e-06/1.104, allocations: 0 / 1.135 GB, free: 27.66 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.852e-05/1.104, allocations: 8 kB / 1.135 GB, free: 27.66 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0009955/1.105, allocations: 0.5355 MB / 1.135 GB, free: 27.11 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/1.105, allocations: 16.02 kB / 1.135 GB, free: 27.09 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/1.105, allocations: 26.44 kB / 1.136 GB, free: 27.07 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005578/1.105, allocations: 295.2 kB / 1.136 GB, free: 26.77 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/1.106, allocations: 13.62 kB / 1.136 GB, free: 26.76 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.156e-05/1.106, allocations: 12.23 kB / 1.136 GB, free: 26.75 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003187/1.106, allocations: 128.7 kB / 1.136 GB, free: 26.64 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/1.106, allocations: 0 / 1.136 GB, free: 26.64 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/1.106, allocations: 4.609 kB / 1.136 GB, free: 26.64 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.83e-06/1.106, allocations: 7.938 kB / 1.136 GB, free: 26.63 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002915/1.106, allocations: 102.2 kB / 1.136 GB, free: 26.55 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009249/1.107, allocations: 485.6 kB / 1.137 GB, free: 26.11 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003353/1.108, allocations: 139.2 kB / 1.137 GB, free: 25.98 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/1.108, allocations: 4 kB / 1.137 GB, free: 25.98 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002848/1.108, allocations: 129.4 kB / 1.137 GB, free: 25.87 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.773e-06/1.108, allocations: 0 / 1.137 GB, free: 25.87 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0006269/1.108, allocations: 273.1 kB / 1.137 GB, free: 25.63 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/1.109, allocations: 56.16 kB / 1.137 GB, free: 25.56 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003253/1.109, allocations: 302.8 kB / 1.137 GB, free: 25.3 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/1.109, allocations: 33.7 kB / 1.137 GB, free: 25.26 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.152e-05/1.109, allocations: 135.9 kB / 1.138 GB, free: 25.13 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.704e-05/1.109, allocations: 42.41 kB / 1.138 GB, free: 25.09 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.552e-05/1.109, allocations: 8.516 kB / 1.138 GB, free: 25.08 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.135e-05/1.109, allocations: 334.9 kB / 1.138 GB, free: 24.75 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002165/1.109, allocations: 95.56 kB / 1.138 GB, free: 24.68 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002413/1.11, allocations: 158.1 kB / 1.138 GB, free: 24.52 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002251/1.11, allocations: 112.9 kB / 1.138 GB, free: 24.42 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/1.11, allocations: 0 / 1.138 GB, free: 24.42 MB / 0.7292 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005838/1.11, allocations: 315.2 kB / 1.139 GB, free: 24.14 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/1.11, allocations: 4.938 kB / 1.139 GB, free: 24.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/1.11, allocations: 1.766 kB / 1.139 GB, free: 24.14 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/1.111, allocations: 4.656 kB / 1.139 GB, free: 24.13 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/1.111, allocations: 56.55 kB / 1.139 GB, free: 24.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/1.111, allocations: 3.938 kB / 1.139 GB, free: 24.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/1.111, allocations: 36.31 kB / 1.139 GB, free: 24.05 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.8e-05/1.111, allocations: 10.23 kB / 1.139 GB, free: 24.04 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.cha.y,$PRE.decreaseSampler.y,decreaseSampler.y,$PRE.increaseSampler.y,increaseSampler.y,$PRE.changeSampler.y,changeSampler.y,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition1,$PRE.cha.u,cha.u,cha.y,cha.up,cha.down,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0001395/1.111, allocations: 160.5 kB / 1.139 GB, free: 23.88 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.339e-05/1.111, allocations: 24.42 kB / 1.139 GB, free: 23.86 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004718/1.112, allocations: 228.7 kB / 1.139 GB, free: 23.66 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/1.112, allocations: 4 kB / 1.139 GB, free: 23.66 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/1.112, allocations: 6.188 kB / 1.139 GB, free: 23.66 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/1.112, allocations: 0.7969 kB / 1.139 GB, free: 23.66 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008104/1.112, allocations: 0.5729 MB / 1.14 GB, free: 23.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/1.113, allocations: 0 / 1.14 GB, free: 23.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.664e-05/1.113, allocations: 16.45 kB / 1.14 GB, free: 23.09 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/1.113, allocations: 3.953 kB / 1.14 GB, free: 23.09 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.832e-05/1.113, allocations: 9.453 kB / 1.14 GB, free: 23.08 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/1.113, allocations: 0 / 1.14 GB, free: 23.08 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.113, allocations: 4.797 kB / 1.14 GB, free: 23.07 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000434/1.113, allocations: 310.6 kB / 1.14 GB, free: 22.78 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.958e-05/1.113, allocations: 103.4 kB / 1.14 GB, free: 22.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.984e-05/1.113, allocations: 16.61 kB / 1.14 GB, free: 22.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/1.113, allocations: 22.41 kB / 1.14 GB, free: 22.63 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.331e-05/1.113, allocations: 14.66 kB / 1.14 GB, free: 22.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/1.114, allocations: 5.5 kB / 1.14 GB, free: 22.62 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001965/1.114, allocations: 212.9 kB / 1.14 GB, free: 22.44 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.114, allocations: 0 / 1.14 GB, free: 22.44 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003436/1.114, allocations: 53.69 kB / 1.14 GB, free: 22.39 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 (cha.y,cha.up,cha.down,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cha.u,changeSampler.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,increaseSampler.y,decreaseSampler.y) * Number of discrete states: 3 (timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001021/1.115, allocations: 444.8 kB / 1.141 GB, free: 22.14 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004564/1.116, allocations: 209.4 kB / 1.141 GB, free: 21.96 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.116, allocations: 0 / 1.141 GB, free: 21.96 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001836/1.116, allocations: 83.66 kB / 1.141 GB, free: 21.89 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/1.116, allocations: 40.41 kB / 1.141 GB, free: 21.86 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006742/1.117, allocations: 464.1 kB / 1.142 GB, free: 21.43 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/1.117, allocations: 0.7559 MB / 1.142 GB, free: 20.68 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000113/1.117, allocations: 40.59 kB / 1.142 GB, free: 20.64 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.1e-05/1.117, allocations: 21.64 kB / 1.142 GB, free: 20.62 MB / 0.7292 GB Notification: Performance of SimCode: time 2.71e-07/1.117, allocations: 0 / 1.142 GB, free: 20.62 MB / 0.7292 GB Notification: Performance of Templates: time 0.007071/1.124, allocations: 2.855 MB / 1.145 GB, free: 18.96 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)