Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004166/0.00417, allocations: 232.3 kB / 15.82 MB, free: 6.297 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001169/0.001169, allocations: 175.2 kB / 16.7 MB, free: 5.457 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.882/3.882, allocations: 389.1 MB / 406.5 MB, free: 11.75 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.14/4.14, allocations: 472.3 MB / 0.9024 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005077/0.0005079, allocations: 12 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1753, allocations: 98.71 MB / 1.105 GB, free: 42.02 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8278/1.003, allocations: 127.8 MB / 1.229 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002957/1.004, allocations: 84.89 kB / 1.23 GB, free: 25.9 MB / 0.6198 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$timTabLin$tab.getTableValueNoDer. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$timTabLin$tab.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$timTabLin$tab.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.02539/1.029, allocations: 6.121 MB / 1.236 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.903e-06/1.029, allocations: 0 / 1.236 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.127e-05/1.029, allocations: 4 kB / 1.236 GB, free: 22.54 MB / 0.6198 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.0009832/1.03, allocations: 0.5736 MB / 1.236 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/1.03, allocations: 12.03 kB / 1.236 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.089e-05/1.03, allocations: 25.78 kB / 1.236 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000515/1.031, allocations: 282.5 kB / 1.236 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/1.031, allocations: 8.062 kB / 1.236 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.068e-05/1.031, allocations: 15.75 kB / 1.236 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004368/1.031, allocations: 154.5 kB / 1.237 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/1.031, allocations: 0 / 1.237 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/1.031, allocations: 0 / 1.237 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/1.031, allocations: 4 kB / 1.237 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004455/1.032, allocations: 107.2 kB / 1.237 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/1.033, allocations: 0.5709 MB / 1.237 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004964/1.033, allocations: 145 kB / 1.237 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000251/1.034, allocations: 62.03 kB / 1.237 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/1.034, allocations: 0 / 1.237 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004041/1.034, allocations: 138.3 kB / 1.238 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 2.314e-06/1.034, allocations: 0 / 1.238 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.001031/1.035, allocations: 269.7 kB / 1.238 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/1.035, allocations: 56.09 kB / 1.238 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004602/1.036, allocations: 307.9 kB / 1.238 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.789e-05/1.036, allocations: 35.7 kB / 1.238 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/1.036, allocations: 139.1 kB / 1.238 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.638e-05/1.036, allocations: 39.8 kB / 1.238 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.871e-05/1.036, allocations: 5.594 kB / 1.238 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001577/1.036, allocations: 342.9 kB / 1.239 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003147/1.036, allocations: 79.94 kB / 1.239 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003399/1.037, allocations: 136.1 kB / 1.239 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003468/1.037, allocations: 126.9 kB / 1.239 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/1.037, allocations: 4 kB / 1.239 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008474/1.038, allocations: 303.9 kB / 1.239 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.389e-05/1.038, allocations: 44.86 kB / 1.239 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/1.038, allocations: 2.391 kB / 1.239 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/1.038, allocations: 4 kB / 1.239 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003024/1.038, allocations: 40.28 kB / 1.239 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/1.038, allocations: 5.719 kB / 1.239 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000248/1.039, allocations: 34.56 kB / 1.239 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.872e-05/1.039, allocations: 11.88 kB / 1.239 GB, free: 19.25 MB / 0.6198 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * 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.0002076/1.039, allocations: 160.9 kB / 1.24 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.535e-05/1.039, allocations: 19.72 kB / 1.24 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007132/1.04, allocations: 236.7 kB / 1.24 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/1.04, allocations: 0 / 1.24 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/1.04, allocations: 0 / 1.24 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.289e-06/1.04, allocations: 3.938 kB / 1.24 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/1.041, allocations: 0.59 MB / 1.24 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/1.041, allocations: 0 / 1.24 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/1.041, allocations: 23.92 kB / 1.24 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/1.041, allocations: 2.25 kB / 1.24 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/1.041, allocations: 0 / 1.24 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/1.041, allocations: 0 / 1.24 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.041, allocations: 8.531 kB / 1.24 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/1.042, allocations: 313.1 kB / 1.241 GB, free: 34.04 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/1.042, allocations: 115.8 kB / 1.241 GB, free: 33.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.055e-05/1.043, allocations: 11.19 kB / 1.241 GB, free: 33.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002383/1.043, allocations: 19.23 kB / 1.241 GB, free: 33.89 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.126e-05/1.043, allocations: 15.59 kB / 1.241 GB, free: 33.88 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/1.043, allocations: 8 kB / 1.241 GB, free: 33.87 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003357/1.043, allocations: 226 kB / 1.241 GB, free: 33.7 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.61e-07/1.043, allocations: 0 / 1.241 GB, free: 33.7 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005014/1.044, allocations: 72.39 kB / 1.241 GB, free: 33.63 MB / 0.6355 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.001119/1.045, allocations: 413 kB / 1.242 GB, free: 33.44 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007902/1.046, allocations: 274.9 kB / 1.242 GB, free: 33.22 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/1.046, allocations: 3.938 kB / 1.242 GB, free: 33.22 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002977/1.046, allocations: 89.58 kB / 1.242 GB, free: 33.15 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006187/1.047, allocations: 42.34 kB / 1.242 GB, free: 33.12 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009276/1.048, allocations: 439.2 kB / 1.242 GB, free: 32.71 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/1.048, allocations: 0.7532 MB / 1.243 GB, free: 31.95 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001678/1.048, allocations: 29.95 kB / 1.243 GB, free: 31.92 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.86e-05/1.048, allocations: 27.23 kB / 1.243 GB, free: 31.89 MB / 0.6355 GB Notification: Performance of SimCode: time 1.553e-06/1.048, allocations: 0 / 1.243 GB, free: 31.89 MB / 0.6355 GB Notification: Performance of Templates: time 0.008862/1.057, allocations: 2.854 MB / 1.246 GB, free: 29.27 MB / 0.6355 GB