Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.715/1.715, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001291/0.001291, allocations: 180.9 kB / 361.4 MB, free: 6.816 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.892/1.892, allocations: 205.2 MB / 0.62 GB, free: 11.67 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.0009692/0.0009693, allocations: 87.27 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.655e-05/2.688e-05, allocations: 4 kB / 0.8518 GB, free: 2.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.711/0.711, allocations: 115.3 MB / 0.9644 GB, free: 78.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2031/0.9142, allocations: 141.2 MB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000203/0.9144, allocations: 82.92 kB / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01966/0.9341, allocations: 6.972 MB / 1.109 GB, free: 7.637 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9341, allocations: 0 / 1.109 GB, free: 7.637 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.987e-05/0.9342, allocations: 4 kB / 1.109 GB, free: 7.633 MB / 0.7136 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.0007998/0.935, allocations: 0.4964 MB / 1.11 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.935, allocations: 8.031 kB / 1.11 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.9351, allocations: 28.66 kB / 1.11 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005851/0.9357, allocations: 294.7 kB / 1.11 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.9358, allocations: 4 kB / 1.11 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.9358, allocations: 12 kB / 1.11 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001511/0.936, allocations: 60.34 kB / 1.11 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.9361, allocations: 88.47 kB / 1.11 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.9362, allocations: 0 / 1.11 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.9362, allocations: 4 kB / 1.11 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.9362, allocations: 4 kB / 1.11 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008799/0.9371, allocations: 455.7 kB / 1.111 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.9373, allocations: 110.6 kB / 1.111 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.597e-05/0.9374, allocations: 41.08 kB / 1.111 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.9374, allocations: 3.938 kB / 1.111 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001844/0.9376, allocations: 105.5 kB / 1.111 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 3.216e-06/0.9376, allocations: 3.984 kB / 1.111 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0003357/0.938, allocations: 161.3 kB / 1.111 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.938, allocations: 58.11 kB / 1.111 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003417/0.9384, allocations: 294 kB / 1.111 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.9384, allocations: 37.62 kB / 1.111 GB, free: 5.227 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.81e-05/0.9385, allocations: 136.5 kB / 1.111 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.507e-05/0.9385, allocations: 35.61 kB / 1.112 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.423e-05/0.9386, allocations: 0 / 1.112 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.9387, allocations: 338.8 kB / 1.112 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.9388, allocations: 67.98 kB / 1.112 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/0.939, allocations: 131 kB / 1.112 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002593/0.9393, allocations: 87.5 kB / 1.112 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.9393, allocations: 4 kB / 1.112 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004971/0.9398, allocations: 269.4 kB / 1.112 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.9398, allocations: 9.094 kB / 1.112 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.9398, allocations: 0 / 1.112 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.9399, allocations: 4 kB / 1.112 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.9401, allocations: 47.91 kB / 1.112 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.9401, allocations: 7.953 kB / 1.112 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.9403, allocations: 24.11 kB / 1.112 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.842e-05/0.9403, allocations: 12 kB / 1.112 GB, free: 4.043 MB / 0.7136 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 () * 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.0001087/0.9405, allocations: 121.1 kB / 1.113 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.654e-05/0.9405, allocations: 23.72 kB / 1.113 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003052/0.9408, allocations: 174.3 kB / 1.113 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.9408, allocations: 4 kB / 1.113 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.9408, allocations: 0 / 1.113 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.657e-06/0.9408, allocations: 7.953 kB / 1.113 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006152/0.9415, allocations: 0.5036 MB / 1.113 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.9415, allocations: 0 / 1.113 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.9416, allocations: 19.98 kB / 1.113 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.9416, allocations: 0 / 1.113 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.9416, allocations: 0.6562 kB / 1.113 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.096e-06/0.9416, allocations: 7.953 kB / 1.113 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.9416, allocations: 4 kB / 1.113 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003048/0.942, allocations: 260.2 kB / 1.114 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.571e-05/0.942, allocations: 96.92 kB / 1.114 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.114e-05/0.9421, allocations: 11.92 kB / 1.114 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.9423, allocations: 11.98 kB / 1.114 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.328e-05/0.9423, allocations: 27.3 kB / 1.114 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.9424, allocations: 12 kB / 1.114 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001941/0.9426, allocations: 194 kB / 1.114 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.91e-07/0.9426, allocations: 0 / 1.114 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003496/0.9429, allocations: 63.83 kB / 1.114 GB, free: 2.441 MB / 0.7136 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) * 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.0008549/0.9438, allocations: 359.5 kB / 1.114 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002866/0.9441, allocations: 159.8 kB / 1.114 GB, free: 2.055 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.9441, allocations: 0 / 1.114 GB, free: 2.055 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.9442, allocations: 59.92 kB / 1.115 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.9446, allocations: 39.39 kB / 1.115 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005755/0.9451, allocations: 290 kB / 1.115 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.9455, allocations: 0.7598 MB / 1.116 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001164/0.9456, allocations: 34.47 kB / 1.116 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.344e-05/0.9457, allocations: 23.42 kB / 1.116 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.9457, allocations: 4 kB / 1.116 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of Templates: time 0.0065/0.9522, allocations: 2.699 MB / 1.118 GB, free: 14.17 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)