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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.079/4.079, allocations: 433.2 MB / 440.7 MB, free: 4.555 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.449e-05/2.441e-05, allocations: 6.547 kB / 0.5325 GB, free: 12.75 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2057, allocations: 98.75 MB / 0.6289 GB, free: 9.078 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.232/0.4377, allocations: 127.1 MB / 0.753 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/0.4381, allocations: 75.95 kB / 0.7531 GB, free: 9.754 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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.02673/0.4648, allocations: 6.041 MB / 0.759 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4649, allocations: 0 / 0.759 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.501e-05/0.4649, allocations: 4 kB / 0.759 GB, free: 3.699 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.001053/0.466, allocations: 0.5408 MB / 0.7595 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.4661, allocations: 12.03 kB / 0.7595 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.4662, allocations: 27.67 kB / 0.7596 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005887/0.4668, allocations: 277.9 kB / 0.7598 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.4668, allocations: 0 / 0.7598 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.655e-05/0.4669, allocations: 16 kB / 0.7598 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002171/0.4671, allocations: 56.3 kB / 0.7599 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002839/0.4674, allocations: 118.5 kB / 0.76 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.4674, allocations: 0 / 0.76 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.608e-05/0.4675, allocations: 11.92 kB / 0.76 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.4675, allocations: 0 / 0.76 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001319/0.4688, allocations: 0.5524 MB / 0.7606 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003111/0.4691, allocations: 114.6 kB / 0.7607 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.4693, allocations: 40.86 kB / 0.7607 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.4693, allocations: 0 / 0.7607 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002859/0.4696, allocations: 103.4 kB / 0.7608 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=16): time 2.505e-06/0.4696, allocations: 4 kB / 0.7608 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16): time 0.0005745/0.4702, allocations: 161.3 kB / 0.761 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.282e-05/0.4703, allocations: 55.41 kB / 0.761 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004713/0.4708, allocations: 280.3 kB / 0.7613 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.406e-05/0.4708, allocations: 29.7 kB / 0.7613 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.471, allocations: 136.4 kB / 0.7614 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.702e-05/0.471, allocations: 35.52 kB / 0.7615 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.956e-05/0.4711, allocations: 4 kB / 0.7615 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.4712, allocations: 334.8 kB / 0.7618 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.4714, allocations: 60 kB / 0.7619 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.4716, allocations: 102 kB / 0.762 GB, free: 440 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/0.4718, allocations: 73.64 kB / 0.762 GB, free: 368 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.4719, allocations: 0 / 0.762 GB, free: 368 kB / 0.6355 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006915/0.4726, allocations: 213.2 kB / 0.7622 GB, free: 148 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.27e-05/0.4726, allocations: 33.7 kB / 0.7623 GB, free: 108 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.4727, allocations: 8 kB / 0.7623 GB, free: 100 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.4727, allocations: 3.953 kB / 0.7623 GB, free: 96 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003287/0.473, allocations: 48.09 kB / 0.7623 GB, free: 48 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.4731, allocations: 4 kB / 0.7623 GB, free: 44 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000261/0.4733, allocations: 24.05 kB / 0.7623 GB, free: 20 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.285e-05/0.4734, allocations: 12 kB / 0.7624 GB, free: 8 kB / 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 () * 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.000155/0.4735, allocations: 122.6 kB / 0.7625 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000389/0.4739, allocations: 157.7 kB / 0.7626 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.099e-05/0.474, allocations: 23.67 kB / 0.7626 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004885/0.4745, allocations: 184.7 kB / 0.7628 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.4745, allocations: 0 / 0.7628 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.4745, allocations: 0 / 0.7628 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.4746, allocations: 3.938 kB / 0.7628 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.4756, allocations: 0.5119 MB / 0.7633 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.4756, allocations: 0 / 0.7633 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/0.4758, allocations: 23.98 kB / 0.7633 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.77e-06/0.4758, allocations: 0 / 0.7633 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/0.4759, allocations: 3.984 kB / 0.7633 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.4759, allocations: 0 / 0.7633 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/0.4759, allocations: 4 kB / 0.7634 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004707/0.4764, allocations: 263.1 kB / 0.7636 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001522/0.4765, allocations: 116.8 kB / 0.7637 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.244e-05/0.4766, allocations: 4 kB / 0.7637 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002503/0.4769, allocations: 23.97 kB / 0.7637 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.66e-05/0.477, allocations: 15.97 kB / 0.7638 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-05/0.477, allocations: 7.984 kB / 0.7638 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003423/0.4774, allocations: 212.5 kB / 0.764 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.31e-07/0.4774, allocations: 0 / 0.764 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004949/0.4779, allocations: 63.83 kB / 0.764 GB, free: 14.2 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.001709/0.4796, allocations: 1.028 MB / 0.765 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005411/0.4802, allocations: 223.2 kB / 0.7652 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4802, allocations: 3.938 kB / 0.7652 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001971/0.4804, allocations: 63.92 kB / 0.7653 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005098/0.4809, allocations: 36.66 kB / 0.7653 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.4821, allocations: 376.1 kB / 0.7657 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003979/0.4825, allocations: 0.7516 MB / 0.7664 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001964/0.4827, allocations: 34.06 kB / 0.7665 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000186/0.4829, allocations: 71.41 kB / 0.7665 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of SimCode: time 1.072e-06/0.4829, allocations: 4 kB / 0.7665 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04098/0.5239, allocations: 4.512 MB / 0.7709 GB, free: 7.082 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002999/0.5243, allocations: 177.5 kB / 0.7711 GB, free: 6.891 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.482/3.007, allocations: 0 / 0.7711 GB, free: 6.891 MB / 0.6511 GB