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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.748/1.748, allocations: 293 MB / 309 MB, free: 4.812 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.001215/0.001215, allocations: 172.6 kB / 378.7 MB, free: 1.035 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.65/1.65, allocations: 205.4 MB / 0.6383 GB, free: 8.23 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.0007826/0.0007827, allocations: 90.45 kB / 0.7527 GB, free: 62.73 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000659/0.0006591, allocations: 19.98 kB / 0.8768 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2983, allocations: 116.4 MB / 0.9905 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8098/1.108, allocations: 143.1 MB / 1.13 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/1.109, allocations: 82.67 kB / 1.13 GB, free: 31.58 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01823/1.127, allocations: 7.075 MB / 1.137 GB, free: 26.7 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.013e-06/1.127, allocations: 0 / 1.137 GB, free: 26.7 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.484e-05/1.127, allocations: 8 kB / 1.137 GB, free: 26.69 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.0008051/1.128, allocations: 0.5317 MB / 1.138 GB, free: 26.14 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/1.128, allocations: 8.031 kB / 1.138 GB, free: 26.13 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.633e-05/1.128, allocations: 24.66 kB / 1.138 GB, free: 26.11 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004694/1.128, allocations: 308.5 kB / 1.138 GB, free: 25.8 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/1.128, allocations: 13.17 kB / 1.138 GB, free: 25.79 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/1.128, allocations: 13.84 kB / 1.138 GB, free: 25.77 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002813/1.129, allocations: 128.9 kB / 1.138 GB, free: 25.67 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/1.129, allocations: 3.938 kB / 1.138 GB, free: 25.66 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/1.129, allocations: 4 kB / 1.138 GB, free: 25.66 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/1.129, allocations: 4 kB / 1.138 GB, free: 25.66 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002532/1.129, allocations: 104.8 kB / 1.138 GB, free: 25.57 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008036/1.13, allocations: 485.9 kB / 1.139 GB, free: 25.12 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003082/1.13, allocations: 140.2 kB / 1.139 GB, free: 25 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/1.13, allocations: 58.98 kB / 1.139 GB, free: 24.95 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/1.13, allocations: 4 kB / 1.139 GB, free: 24.95 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002909/1.131, allocations: 136.8 kB / 1.139 GB, free: 24.82 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.794e-06/1.131, allocations: 3.938 kB / 1.139 GB, free: 24.82 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0006176/1.131, allocations: 267 kB / 1.139 GB, free: 24.59 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/1.131, allocations: 56.62 kB / 1.139 GB, free: 24.52 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003364/1.132, allocations: 328.3 kB / 1.14 GB, free: 24.23 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/1.132, allocations: 34.5 kB / 1.14 GB, free: 24.2 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.995e-05/1.132, allocations: 131.2 kB / 1.14 GB, free: 24.07 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.871e-05/1.132, allocations: 43.11 kB / 1.14 GB, free: 24.03 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.175e-05/1.132, allocations: 8 kB / 1.14 GB, free: 24.02 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.2e-05/1.132, allocations: 342.7 kB / 1.14 GB, free: 23.69 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/1.132, allocations: 96.5 kB / 1.14 GB, free: 23.61 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/1.132, allocations: 164.5 kB / 1.14 GB, free: 23.45 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003599/1.133, allocations: 216.4 kB / 1.141 GB, free: 23.23 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.133, allocations: 0.75 kB / 1.141 GB, free: 23.23 MB / 0.7292 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005577/1.133, allocations: 318.7 kB / 1.141 GB, free: 22.95 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/1.133, allocations: 4.703 kB / 1.141 GB, free: 22.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/1.133, allocations: 7.938 kB / 1.141 GB, free: 22.94 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/1.133, allocations: 0 / 1.141 GB, free: 22.94 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/1.134, allocations: 48.86 kB / 1.141 GB, free: 22.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/1.134, allocations: 7.875 kB / 1.141 GB, free: 22.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001576/1.134, allocations: 36.64 kB / 1.141 GB, free: 22.86 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.355e-05/1.134, allocations: 10.44 kB / 1.141 GB, free: 22.85 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.0001363/1.134, allocations: 165.4 kB / 1.141 GB, free: 22.69 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.812e-05/1.134, allocations: 20.33 kB / 1.141 GB, free: 22.67 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004564/1.134, allocations: 219.4 kB / 1.141 GB, free: 22.48 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/1.134, allocations: 4 kB / 1.141 GB, free: 22.47 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/1.134, allocations: 3.938 kB / 1.141 GB, free: 22.47 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/1.134, allocations: 2.344 kB / 1.141 GB, free: 22.47 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000731/1.135, allocations: 0.5765 MB / 1.142 GB, free: 21.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/1.135, allocations: 3.938 kB / 1.142 GB, free: 21.91 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.847e-05/1.135, allocations: 16.08 kB / 1.142 GB, free: 21.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/1.135, allocations: 0.7031 kB / 1.142 GB, free: 21.9 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/1.135, allocations: 13.92 kB / 1.142 GB, free: 21.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/1.135, allocations: 4.875 kB / 1.142 GB, free: 21.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/1.135, allocations: 0 / 1.142 GB, free: 21.88 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004071/1.136, allocations: 309.3 kB / 1.142 GB, free: 21.59 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.778e-05/1.136, allocations: 108.7 kB / 1.142 GB, free: 21.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.488e-05/1.136, allocations: 8 kB / 1.142 GB, free: 21.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/1.136, allocations: 21.91 kB / 1.142 GB, free: 21.45 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.658e-05/1.136, allocations: 15.41 kB / 1.143 GB, free: 21.44 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/1.136, allocations: 9.031 kB / 1.143 GB, free: 21.43 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001895/1.136, allocations: 213 kB / 1.143 GB, free: 21.25 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.136, allocations: 0 / 1.143 GB, free: 21.25 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003284/1.137, allocations: 58.2 kB / 1.143 GB, free: 21.19 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.0009528/1.138, allocations: 435.7 kB / 1.143 GB, free: 20.96 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004386/1.138, allocations: 209.2 kB / 1.143 GB, free: 20.78 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.138, allocations: 3.938 kB / 1.143 GB, free: 20.78 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001795/1.138, allocations: 83.27 kB / 1.143 GB, free: 20.71 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/1.139, allocations: 54.25 kB / 1.144 GB, free: 20.67 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006975/1.139, allocations: 453.7 kB / 1.144 GB, free: 20.24 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/1.14, allocations: 0.7518 MB / 1.145 GB, free: 19.49 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001311/1.14, allocations: 36.02 kB / 1.145 GB, free: 19.46 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.03e-05/1.14, allocations: 25.55 kB / 1.145 GB, free: 19.45 MB / 0.7292 GB Notification: Performance of SimCode: time 3.71e-07/1.14, allocations: 0 / 1.145 GB, free: 19.45 MB / 0.7292 GB Notification: Performance of Templates: time 0.006772/1.147, allocations: 2.887 MB / 1.148 GB, free: 17.77 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)