Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.386/2.386, allocations: 252.6 MB / 265.2 MB, free: 5.707 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001391/0.001391, allocations: 170.4 kB / 324.5 MB, free: 14.35 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.218/2.218, allocations: 205.4 MB / 0.5754 GB, free: 10.47 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 109 kB / 0.6797 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.109e-05/3.126e-05, allocations: 4 kB / 0.7911 GB, free: 96.58 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2347, allocations: 106.2 MB / 0.8949 GB, free: 6.242 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8592/1.094, allocations: 135.5 MB / 1.027 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/1.094, allocations: 82.33 kB / 1.027 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.0293/1.124, allocations: 6.85 MB / 1.034 GB, free: 9.176 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.644e-06/1.124, allocations: 0 / 1.034 GB, free: 9.176 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.482e-05/1.124, allocations: 4 kB / 1.034 GB, free: 9.172 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0009463/1.125, allocations: 495.5 kB / 1.034 GB, free: 8.648 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/1.125, allocations: 12.03 kB / 1.034 GB, free: 8.637 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.775e-05/1.125, allocations: 27.72 kB / 1.035 GB, free: 8.609 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006215/1.125, allocations: 294.3 kB / 1.035 GB, free: 8.309 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/1.125, allocations: 11.38 kB / 1.035 GB, free: 8.301 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.815e-05/1.126, allocations: 11.44 kB / 1.035 GB, free: 8.293 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003133/1.126, allocations: 122.1 kB / 1.035 GB, free: 8.191 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/1.126, allocations: 4 kB / 1.035 GB, free: 8.188 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/1.126, allocations: 11.86 kB / 1.035 GB, free: 8.176 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/1.126, allocations: 7.984 kB / 1.035 GB, free: 8.168 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001985/1.126, allocations: 59.55 kB / 1.035 GB, free: 8.129 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/1.127, allocations: 0.5515 MB / 1.036 GB, free: 7.59 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002945/1.128, allocations: 114.5 kB / 1.036 GB, free: 7.5 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/1.128, allocations: 50.91 kB / 1.036 GB, free: 7.461 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/1.128, allocations: 11.02 kB / 1.036 GB, free: 7.453 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002674/1.128, allocations: 101.6 kB / 1.036 GB, free: 7.359 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 2.665e-06/1.128, allocations: 4 kB / 1.036 GB, free: 7.355 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.0004823/1.129, allocations: 166.2 kB / 1.036 GB, free: 7.219 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/1.129, allocations: 55.41 kB / 1.036 GB, free: 7.152 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005077/1.129, allocations: 295.4 kB / 1.036 GB, free: 6.91 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/1.129, allocations: 37.27 kB / 1.036 GB, free: 6.871 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000118/1.129, allocations: 148.2 kB / 1.036 GB, free: 6.75 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.199e-05/1.129, allocations: 34.3 kB / 1.037 GB, free: 6.727 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.398e-05/1.129, allocations: 11.62 kB / 1.037 GB, free: 6.719 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001287/1.13, allocations: 333.4 kB / 1.037 GB, free: 6.395 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/1.13, allocations: 76.55 kB / 1.037 GB, free: 6.344 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000258/1.13, allocations: 135.5 kB / 1.037 GB, free: 6.223 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002335/1.13, allocations: 90.89 kB / 1.037 GB, free: 6.16 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/1.13, allocations: 0 / 1.037 GB, free: 6.16 MB / 0.6511 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006564/1.131, allocations: 279.4 kB / 1.037 GB, free: 5.938 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/1.131, allocations: 7.953 kB / 1.037 GB, free: 5.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/1.131, allocations: 4 kB / 1.037 GB, free: 5.926 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.393e-05/1.131, allocations: 7.984 kB / 1.037 GB, free: 5.918 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003858/1.132, allocations: 43.36 kB / 1.037 GB, free: 5.879 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.547e-05/1.132, allocations: 7.984 kB / 1.037 GB, free: 5.871 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002864/1.132, allocations: 31.3 kB / 1.038 GB, free: 5.844 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.54e-05/1.132, allocations: 15.19 kB / 1.038 GB, free: 5.832 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 21 ($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,cha.u_start) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.0001207/1.132, allocations: 121.8 kB / 1.038 GB, free: 5.711 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.933e-05/1.132, allocations: 19.72 kB / 1.038 GB, free: 5.691 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004703/1.133, allocations: 189.8 kB / 1.038 GB, free: 5.543 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/1.133, allocations: 4 kB / 1.038 GB, free: 5.539 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/1.133, allocations: 0 / 1.038 GB, free: 5.539 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/1.133, allocations: 0 / 1.038 GB, free: 5.539 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009951/1.134, allocations: 0.5427 MB / 1.038 GB, free: 5.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/1.134, allocations: 0 / 1.038 GB, free: 5.02 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/1.134, allocations: 23.92 kB / 1.038 GB, free: 4.996 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/1.134, allocations: 0 / 1.038 GB, free: 4.996 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/1.134, allocations: 7.297 kB / 1.038 GB, free: 4.992 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/1.134, allocations: 0 / 1.038 GB, free: 4.992 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/1.134, allocations: 11.88 kB / 1.038 GB, free: 4.98 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004489/1.134, allocations: 264.1 kB / 1.039 GB, free: 4.742 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/1.134, allocations: 111.8 kB / 1.039 GB, free: 4.617 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.306e-05/1.135, allocations: 7.375 kB / 1.039 GB, free: 4.613 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002558/1.135, allocations: 19.97 kB / 1.039 GB, free: 4.594 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.336e-05/1.135, allocations: 15.41 kB / 1.039 GB, free: 4.582 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/1.135, allocations: 7.375 kB / 1.039 GB, free: 4.578 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000299/1.135, allocations: 209.7 kB / 1.039 GB, free: 4.406 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.51e-07/1.135, allocations: 0 / 1.039 GB, free: 4.406 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004533/1.136, allocations: 54.75 kB / 1.039 GB, free: 4.359 MB / 0.6511 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.00113/1.137, allocations: 393.2 kB / 1.039 GB, free: 4.102 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004709/1.137, allocations: 169.5 kB / 1.04 GB, free: 3.98 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/1.137, allocations: 384 / 1.04 GB, free: 3.98 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001712/1.138, allocations: 63.25 kB / 1.04 GB, free: 3.934 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004729/1.138, allocations: 49.83 kB / 1.04 GB, free: 3.895 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008103/1.139, allocations: 300.3 kB / 1.04 GB, free: 3.621 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003881/1.139, allocations: 0.7595 MB / 1.041 GB, free: 2.84 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001732/1.139, allocations: 34.05 kB / 1.041 GB, free: 2.809 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/1.14, allocations: 22.62 kB / 1.041 GB, free: 2.789 MB / 0.6511 GB Notification: Performance of SimCode: time 1.322e-06/1.14, allocations: 0 / 1.041 GB, free: 2.789 MB / 0.6511 GB Notification: Performance of Templates: time 0.009483/1.149, allocations: 2.724 MB / 1.043 GB, free: 96 kB / 0.6511 GB