Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.59/2.59, allocations: 285 MB / 292.5 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001515/0.001514, allocations: 188.9 kB / 360.7 MB, free: 7.23 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.017/2.017, allocations: 205.3 MB / 0.6192 GB, free: 12.14 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001102/0.001102, allocations: 100.8 kB / 0.7322 GB, free: 44.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.195e-05/3.191e-05, allocations: 8 kB / 0.8509 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8735/0.8736, allocations: 115.3 MB / 0.9635 GB, free: 78.4 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2423/1.116, allocations: 141.1 MB / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003012/1.116, allocations: 82.62 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03271/1.149, allocations: 6.973 MB / 1.108 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.603e-06/1.149, allocations: 0 / 1.108 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.078e-05/1.149, allocations: 4 kB / 1.108 GB, free: 8.441 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.001086/1.15, allocations: 0.4919 MB / 1.109 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/1.15, allocations: 12.02 kB / 1.109 GB, free: 7.891 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001338/1.15, allocations: 28.83 kB / 1.109 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008635/1.151, allocations: 298.7 kB / 1.109 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/1.151, allocations: 4 kB / 1.109 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.735e-05/1.151, allocations: 12 kB / 1.109 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002394/1.152, allocations: 56.36 kB / 1.109 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/1.152, allocations: 91.89 kB / 1.109 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/1.152, allocations: 0 / 1.109 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/1.152, allocations: 0 / 1.109 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/1.152, allocations: 4 kB / 1.109 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00134/1.153, allocations: 453.5 kB / 1.109 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003081/1.154, allocations: 112.5 kB / 1.11 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/1.154, allocations: 44.86 kB / 1.11 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.424e-05/1.154, allocations: 224 / 1.11 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002844/1.154, allocations: 108.3 kB / 1.11 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 2.355e-06/1.154, allocations: 0 / 1.11 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0005318/1.155, allocations: 161.3 kB / 1.11 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.117e-05/1.155, allocations: 55.41 kB / 1.11 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006047/1.156, allocations: 297.9 kB / 1.11 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.325e-05/1.156, allocations: 29.7 kB / 1.11 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/1.156, allocations: 136.5 kB / 1.11 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.716e-05/1.156, allocations: 35.61 kB / 1.11 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.103e-05/1.156, allocations: 0 / 1.11 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001777/1.156, allocations: 334.8 kB / 1.111 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/1.156, allocations: 75.98 kB / 1.111 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000268/1.157, allocations: 126.2 kB / 1.111 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004345/1.157, allocations: 91.31 kB / 1.111 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/1.157, allocations: 0 / 1.111 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008399/1.158, allocations: 269.4 kB / 1.111 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/1.158, allocations: 4 kB / 1.111 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/1.158, allocations: 10.98 kB / 1.111 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/1.158, allocations: 0 / 1.111 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003873/1.158, allocations: 47.88 kB / 1.111 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/1.158, allocations: 3.984 kB / 1.111 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003179/1.159, allocations: 32.86 kB / 1.111 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-05/1.159, allocations: 11.98 kB / 1.111 GB, free: 4.855 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.0001836/1.159, allocations: 122 kB / 1.112 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.627e-05/1.159, allocations: 23.7 kB / 1.112 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005291/1.16, allocations: 170.9 kB / 1.112 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/1.16, allocations: 7.984 kB / 1.112 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/1.16, allocations: 6.766 kB / 1.112 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/1.16, allocations: 4 kB / 1.112 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/1.161, allocations: 0.5 MB / 1.112 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/1.161, allocations: 0 / 1.112 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001995/1.161, allocations: 23.97 kB / 1.112 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/1.161, allocations: 0 / 1.112 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/1.161, allocations: 7.953 kB / 1.112 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/1.161, allocations: 0 / 1.112 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/1.161, allocations: 0 / 1.112 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005036/1.162, allocations: 269.2 kB / 1.112 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/1.162, allocations: 96.92 kB / 1.113 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.348e-05/1.162, allocations: 4 kB / 1.113 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000292/1.162, allocations: 23.92 kB / 1.113 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.669e-05/1.162, allocations: 11.98 kB / 1.113 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.563e-05/1.162, allocations: 7.984 kB / 1.113 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003383/1.163, allocations: 202 kB / 1.113 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.91e-07/1.163, allocations: 0 / 1.113 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006079/1.163, allocations: 63.83 kB / 1.113 GB, free: 3.25 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.001167/1.164, allocations: 366.4 kB / 1.113 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00053/1.165, allocations: 151.9 kB / 1.113 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/1.165, allocations: 0 / 1.113 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001724/1.165, allocations: 59.92 kB / 1.113 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005569/1.166, allocations: 38.97 kB / 1.113 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009385/1.167, allocations: 294.6 kB / 1.114 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004956/1.167, allocations: 0.7559 MB / 1.114 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.000255/1.168, allocations: 32.25 kB / 1.115 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/1.168, allocations: 32.17 kB / 1.115 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of SimCode: time 1.142e-06/1.168, allocations: 0 / 1.115 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of Templates: time 0.01037/1.178, allocations: 2.687 MB / 1.117 GB, free: 15.01 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)