Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.227/4.227, allocations: 432.7 MB / 445.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.932e-05/2.949e-05, allocations: 4.406 kB / 0.5383 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1778, allocations: 98.73 MB / 0.6347 GB, free: 1.887 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1983/0.3762, allocations: 127.8 MB / 0.7595 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/0.3765, allocations: 83.95 kB / 0.7596 GB, free: 1.879 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/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@2/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.02626/0.4028, allocations: 6.087 MB / 0.7655 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.805e-06/0.4028, allocations: 0 / 0.7655 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.973e-05/0.4028, allocations: 4 kB / 0.7655 GB, free: 11.78 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.0009056/0.4037, allocations: 0.533 MB / 0.766 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.4038, allocations: 12.03 kB / 0.7661 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.359e-05/0.4039, allocations: 31.67 kB / 0.7661 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005262/0.4044, allocations: 277.9 kB / 0.7663 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.4045, allocations: 4.188 kB / 0.7663 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.076e-05/0.4045, allocations: 16 kB / 0.7664 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002977/0.4048, allocations: 130.8 kB / 0.7665 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.482e-06/0.4049, allocations: 0 / 0.7665 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/0.4049, allocations: 11.98 kB / 0.7665 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.568e-06/0.4049, allocations: 0 / 0.7665 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001927/0.4051, allocations: 72.5 kB / 0.7666 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.4062, allocations: 0.5717 MB / 0.7671 GB, free: 9.969 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002963/0.4066, allocations: 118.5 kB / 0.7672 GB, free: 9.844 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.4067, allocations: 48.89 kB / 0.7673 GB, free: 9.793 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.4067, allocations: 4 kB / 0.7673 GB, free: 9.789 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002596/0.407, allocations: 111.3 kB / 0.7674 GB, free: 9.668 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 3.171e-06/0.407, allocations: 0 / 0.7674 GB, free: 9.668 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.0004581/0.4075, allocations: 165.4 kB / 0.7676 GB, free: 9.5 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.089e-05/0.4076, allocations: 63.34 kB / 0.7676 GB, free: 9.426 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004464/0.408, allocations: 281 kB / 0.7679 GB, free: 9.148 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.472e-05/0.4081, allocations: 33.7 kB / 0.7679 GB, free: 9.109 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.4082, allocations: 140.3 kB / 0.7681 GB, free: 8.965 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.283e-05/0.4083, allocations: 35.56 kB / 0.7681 GB, free: 8.93 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.024e-05/0.4083, allocations: 8 kB / 0.7681 GB, free: 8.922 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.4085, allocations: 334.8 kB / 0.7684 GB, free: 8.586 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.4087, allocations: 71.92 kB / 0.7685 GB, free: 8.516 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/0.409, allocations: 110 kB / 0.7686 GB, free: 8.387 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002282/0.4092, allocations: 103.5 kB / 0.7687 GB, free: 8.281 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.4092, allocations: 0 / 0.7687 GB, free: 8.281 MB / 0.6511 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006376/0.4099, allocations: 269.3 kB / 0.7689 GB, free: 8.008 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.684e-05/0.4099, allocations: 39.72 kB / 0.769 GB, free: 7.965 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.41, allocations: 8.141 kB / 0.769 GB, free: 7.957 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.41, allocations: 4 kB / 0.769 GB, free: 7.953 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002603/0.4103, allocations: 39.92 kB / 0.769 GB, free: 7.914 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.4103, allocations: 4 kB / 0.769 GB, free: 7.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002248/0.4105, allocations: 39.88 kB / 0.7691 GB, free: 7.871 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.071e-05/0.4106, allocations: 12 kB / 0.7691 GB, free: 7.859 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 (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.0001423/0.4107, allocations: 126.7 kB / 0.7692 GB, free: 7.73 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.545e-05/0.4108, allocations: 15.81 kB / 0.7692 GB, free: 7.715 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004911/0.4113, allocations: 187.5 kB / 0.7694 GB, free: 7.52 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.352e-06/0.4113, allocations: 3.953 kB / 0.7694 GB, free: 7.516 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.576e-06/0.4113, allocations: 0 / 0.7694 GB, free: 7.516 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.936e-06/0.4114, allocations: 3.984 kB / 0.7694 GB, free: 7.512 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009801/0.4123, allocations: 0.5424 MB / 0.7699 GB, free: 6.914 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.02e-06/0.4124, allocations: 7.953 kB / 0.7699 GB, free: 6.906 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.4125, allocations: 23.98 kB / 0.77 GB, free: 6.883 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.179e-06/0.4126, allocations: 0 / 0.77 GB, free: 6.883 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/0.4126, allocations: 4 kB / 0.77 GB, free: 6.879 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.752e-06/0.4126, allocations: 3.938 kB / 0.77 GB, free: 6.875 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.249e-06/0.4126, allocations: 0 / 0.77 GB, free: 6.875 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004556/0.4131, allocations: 273.6 kB / 0.7702 GB, free: 6.594 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.4133, allocations: 128.8 kB / 0.7704 GB, free: 6.449 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.06e-05/0.4133, allocations: 7.984 kB / 0.7704 GB, free: 6.441 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002082/0.4135, allocations: 15.98 kB / 0.7704 GB, free: 6.426 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.257e-05/0.4136, allocations: 23.88 kB / 0.7704 GB, free: 6.402 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.4137, allocations: 8 kB / 0.7704 GB, free: 6.395 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000334/0.414, allocations: 221.3 kB / 0.7706 GB, free: 6.176 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.86e-07/0.414, allocations: 0 / 0.7706 GB, free: 6.176 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004903/0.4145, allocations: 55.94 kB / 0.7707 GB, free: 6.121 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.001353/0.4159, allocations: 392.2 kB / 0.771 GB, free: 5.828 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005547/0.4165, allocations: 235.3 kB / 0.7713 GB, free: 5.586 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4165, allocations: 0 / 0.7713 GB, free: 5.586 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.4167, allocations: 63.27 kB / 0.7713 GB, free: 5.527 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/0.4171, allocations: 34.16 kB / 0.7714 GB, free: 5.496 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007904/0.4179, allocations: 298.5 kB / 0.7716 GB, free: 5.18 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004626/0.4184, allocations: 0.7558 MB / 0.7724 GB, free: 4.395 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001587/0.4186, allocations: 34.06 kB / 0.7724 GB, free: 4.359 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.971e-05/0.4187, allocations: 19.44 kB / 0.7724 GB, free: 4.34 MB / 0.6511 GB Notification: Performance of SimCode: time 2.208e-06/0.4187, allocations: 4 kB / 0.7724 GB, free: 4.336 MB / 0.6511 GB Notification: Performance of Templates: time 0.009008/0.4277, allocations: 2.864 MB / 0.7752 GB, free: 1.496 MB / 0.6511 GB