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.0157/0.0157, allocations: 110.6 kB / 15.05 MB, free: 5.961 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.001769/0.001769, allocations: 184.1 kB / 15.94 MB, free: 5.926 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 1.945/1.945, allocations: 194.6 MB / 211.3 MB, free: 11.04 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.561/2.561, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004723/0.0004724, allocations: 12 kB / 0.587 GB, free: 2.18 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6823/0.6828, allocations: 98.71 MB / 0.6834 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1895/0.8723, allocations: 127.8 MB / 0.8082 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/0.8727, allocations: 79.95 kB / 0.8083 GB, free: 14.39 MB / 0.6355 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.02499/0.8977, allocations: 6.113 MB / 0.8142 GB, free: 8.266 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.088e-06/0.8977, allocations: 0 / 0.8142 GB, free: 8.266 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.044e-05/0.8977, allocations: 4 kB / 0.8142 GB, free: 8.262 MB / 0.6355 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.000976/0.8987, allocations: 0.5802 MB / 0.8148 GB, free: 7.617 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.8988, allocations: 12.03 kB / 0.8148 GB, free: 7.605 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.715e-05/0.8989, allocations: 31.67 kB / 0.8149 GB, free: 7.574 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000515/0.8994, allocations: 273.8 kB / 0.8151 GB, free: 7.27 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.491e-05/0.8994, allocations: 12.19 kB / 0.8151 GB, free: 7.258 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.694e-05/0.8995, allocations: 16 kB / 0.8151 GB, free: 7.242 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004104/0.8999, allocations: 151.4 kB / 0.8153 GB, free: 7.086 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.742e-06/0.8999, allocations: 0 / 0.8153 GB, free: 7.086 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.973e-05/0.9, allocations: 0 / 0.8153 GB, free: 7.086 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.9, allocations: 4 kB / 0.8153 GB, free: 7.082 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003866/0.9004, allocations: 104.4 kB / 0.8154 GB, free: 6.98 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.9015, allocations: 0.5757 MB / 0.816 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004667/0.902, allocations: 146.6 kB / 0.8161 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.902, allocations: 0 / 0.8161 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003799/0.9024, allocations: 131.2 kB / 0.8162 GB, free: 6.059 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=16): time 2.996e-06/0.9025, allocations: 0 / 0.8162 GB, free: 6.059 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16): time 0.0008993/0.9034, allocations: 270.7 kB / 0.8165 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.895e-05/0.9034, allocations: 59.39 kB / 0.8165 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000458/0.9039, allocations: 280.1 kB / 0.8168 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.346e-05/0.904, allocations: 37.69 kB / 0.8168 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.9041, allocations: 132.4 kB / 0.817 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.189e-05/0.9042, allocations: 47.69 kB / 0.817 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.209e-05/0.9042, allocations: 4 kB / 0.817 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001872/0.9044, allocations: 334.9 kB / 0.8173 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002944/0.9047, allocations: 83.95 kB / 0.8174 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003358/0.9051, allocations: 139.5 kB / 0.8175 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003363/0.9054, allocations: 126.2 kB / 0.8177 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.941e-06/0.9055, allocations: 4 kB / 0.8177 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008563/0.9063, allocations: 308.8 kB / 0.818 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.799e-05/0.9064, allocations: 39.09 kB / 0.818 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.849e-06/0.9064, allocations: 0 / 0.818 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.387e-05/0.9064, allocations: 11.94 kB / 0.818 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000231/0.9067, allocations: 35.92 kB / 0.818 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.9067, allocations: 8.172 kB / 0.8181 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/0.9069, allocations: 39.81 kB / 0.8181 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-05/0.907, allocations: 8 kB / 0.8181 GB, free: 4.047 MB / 0.6355 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.0002366/0.9072, allocations: 159.5 kB / 0.8183 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.069e-05/0.9073, allocations: 23.66 kB / 0.8183 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006863/0.908, allocations: 223.7 kB / 0.8185 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.596e-06/0.908, allocations: 7.953 kB / 0.8185 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.882e-06/0.908, allocations: 0 / 0.8185 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-06/0.9081, allocations: 0 / 0.8185 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.9093, allocations: 0.5891 MB / 0.8191 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.608e-06/0.9093, allocations: 0 / 0.8191 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00014/0.9094, allocations: 27.88 kB / 0.8191 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.174e-06/0.9095, allocations: 4 kB / 0.8191 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.9095, allocations: 4 kB / 0.8191 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.18e-06/0.9095, allocations: 0 / 0.8191 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.842e-06/0.9095, allocations: 0 / 0.8191 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006752/0.9102, allocations: 321.6 kB / 0.8194 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001609/0.9104, allocations: 112.9 kB / 0.8195 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.253e-05/0.9104, allocations: 15.89 kB / 0.8195 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/0.9107, allocations: 19.98 kB / 0.8196 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.181e-05/0.9108, allocations: 15.97 kB / 0.8196 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/0.9108, allocations: 8 kB / 0.8196 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003475/0.9111, allocations: 220.4 kB / 0.8198 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.021e-06/0.9112, allocations: 0 / 0.8198 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004955/0.9117, allocations: 75.83 kB / 0.8199 GB, free: 2.141 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.001403/0.9131, allocations: 406.4 kB / 0.8202 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007846/0.9139, allocations: 271.2 kB / 0.8205 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.9139, allocations: 4.312 kB / 0.8205 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002726/0.9142, allocations: 87.94 kB / 0.8206 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000416/0.9146, allocations: 36.34 kB / 0.8206 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009799/0.9156, allocations: 453.8 kB / 0.8211 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004502/0.9161, allocations: 0.7479 MB / 0.8218 GB, free: 228 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001606/0.9163, allocations: 29.94 kB / 0.8218 GB, free: 196 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.744e-05/0.9164, allocations: 35.42 kB / 0.8219 GB, free: 160 kB / 0.6355 GB Notification: Performance of SimCode: time 1.765e-06/0.9164, allocations: 0 / 0.8219 GB, free: 160 kB / 0.6355 GB Notification: Performance of Templates: time 0.008921/0.9253, allocations: 2.835 MB / 0.8246 GB, free: 13.34 MB / 0.6511 GB