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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.112/4.112, allocations: 432.6 MB / 445.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.558e-05/3.569e-05, allocations: 4.641 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2089, allocations: 98.73 MB / 0.6347 GB, free: 1.93 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2353/0.4443, allocations: 127.8 MB / 0.7595 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/0.4446, allocations: 79.94 kB / 0.7596 GB, free: 1.926 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.02726/0.4719, allocations: 6.087 MB / 0.7655 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.483e-06/0.472, allocations: 0 / 0.7655 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.552e-05/0.472, allocations: 4 kB / 0.7655 GB, free: 11.82 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.001017/0.473, allocations: 0.5368 MB / 0.766 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.4731, allocations: 15.97 kB / 0.766 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.025e-05/0.4732, allocations: 38.55 kB / 0.7661 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.876e-05/0.4733, allocations: 35.67 kB / 0.7661 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005764/0.4739, allocations: 269.9 kB / 0.7664 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.03e-05/0.4739, allocations: 12.19 kB / 0.7664 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.603e-05/0.474, allocations: 8 kB / 0.7664 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003386/0.4743, allocations: 134.8 kB / 0.7665 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.4743, allocations: 0 / 0.7665 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.4744, allocations: 4 kB / 0.7665 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.4744, allocations: 12 kB / 0.7665 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002227/0.4746, allocations: 64.5 kB / 0.7666 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.4759, allocations: 0.5756 MB / 0.7672 GB, free: 9.961 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000335/0.4763, allocations: 122.5 kB / 0.7673 GB, free: 9.832 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.4765, allocations: 52.78 kB / 0.7673 GB, free: 9.777 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.4765, allocations: 0 / 0.7673 GB, free: 9.777 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002992/0.4768, allocations: 115.3 kB / 0.7674 GB, free: 9.652 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 2.485e-06/0.4768, allocations: 0 / 0.7674 GB, free: 9.652 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.0005373/0.4774, allocations: 173.3 kB / 0.7676 GB, free: 9.477 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/0.4774, allocations: 55.41 kB / 0.7677 GB, free: 9.41 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005184/0.478, allocations: 284.9 kB / 0.7679 GB, free: 9.129 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.169e-05/0.478, allocations: 37.64 kB / 0.768 GB, free: 9.086 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.4782, allocations: 128.5 kB / 0.7681 GB, free: 8.953 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.352e-05/0.4783, allocations: 43.44 kB / 0.7681 GB, free: 8.91 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.323e-05/0.4783, allocations: 12 kB / 0.7681 GB, free: 8.898 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.4785, allocations: 334.8 kB / 0.7685 GB, free: 8.562 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002153/0.4787, allocations: 67.98 kB / 0.7685 GB, free: 8.496 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/0.4789, allocations: 106 kB / 0.7686 GB, free: 8.371 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002572/0.4792, allocations: 111.6 kB / 0.7687 GB, free: 8.258 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.4792, allocations: 0 / 0.7687 GB, free: 8.258 MB / 0.6511 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007177/0.48, allocations: 262.9 kB / 0.769 GB, free: 7.988 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.484e-05/0.48, allocations: 45.64 kB / 0.769 GB, free: 7.938 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.4801, allocations: 192 / 0.769 GB, free: 7.938 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.4801, allocations: 8 kB / 0.769 GB, free: 7.93 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000332/0.4804, allocations: 35.92 kB / 0.7691 GB, free: 7.895 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.4805, allocations: 224 / 0.7691 GB, free: 7.895 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002826/0.4808, allocations: 35.77 kB / 0.7691 GB, free: 7.859 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.842e-05/0.4808, allocations: 11.98 kB / 0.7691 GB, free: 7.848 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.0001456/0.481, allocations: 130.7 kB / 0.7692 GB, free: 7.715 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.694e-05/0.481, allocations: 15.81 kB / 0.7693 GB, free: 7.699 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005479/0.4816, allocations: 190.3 kB / 0.7694 GB, free: 7.504 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.4816, allocations: 4 kB / 0.7694 GB, free: 7.5 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.4816, allocations: 0 / 0.7694 GB, free: 7.5 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.4816, allocations: 3.984 kB / 0.7694 GB, free: 7.496 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.4827, allocations: 0.5411 MB / 0.77 GB, free: 6.898 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.4828, allocations: 4 kB / 0.77 GB, free: 6.895 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001891/0.483, allocations: 27.91 kB / 0.77 GB, free: 6.867 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/0.483, allocations: 0 / 0.77 GB, free: 6.867 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.483, allocations: 0 / 0.77 GB, free: 6.867 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.483, allocations: 4 kB / 0.77 GB, free: 6.863 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.483, allocations: 0 / 0.77 GB, free: 6.863 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004945/0.4835, allocations: 277.2 kB / 0.7703 GB, free: 6.578 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001887/0.4837, allocations: 124.7 kB / 0.7704 GB, free: 6.438 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.833e-05/0.4838, allocations: 7.984 kB / 0.7704 GB, free: 6.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002524/0.4841, allocations: 19.98 kB / 0.7704 GB, free: 6.41 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.818e-05/0.4842, allocations: 15.97 kB / 0.7704 GB, free: 6.395 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.418e-05/0.4842, allocations: 8 kB / 0.7704 GB, free: 6.387 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003736/0.4846, allocations: 221.3 kB / 0.7707 GB, free: 6.168 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.3e-07/0.4846, allocations: 0 / 0.7707 GB, free: 6.168 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004749/0.4851, allocations: 67.88 kB / 0.7707 GB, free: 6.102 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.001868/0.487, allocations: 1.079 MB / 0.7718 GB, free: 5.09 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006488/0.4877, allocations: 234.8 kB / 0.772 GB, free: 4.852 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.4877, allocations: 0 / 0.772 GB, free: 4.852 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001937/0.4879, allocations: 63.92 kB / 0.7721 GB, free: 4.789 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005092/0.4884, allocations: 47.7 kB / 0.7721 GB, free: 4.746 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.4896, allocations: 367.8 kB / 0.7725 GB, free: 4.348 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004455/0.4901, allocations: 0.7558 MB / 0.7732 GB, free: 3.562 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001871/0.4903, allocations: 38.05 kB / 0.7732 GB, free: 3.523 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001944/0.4905, allocations: 71.41 kB / 0.7733 GB, free: 3.453 MB / 0.6511 GB Notification: Performance of SimCode: time 9.42e-07/0.4905, allocations: 0 / 0.7733 GB, free: 3.453 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5671/1.058, allocations: 5.012 MB / 0.7782 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002097/1.058, allocations: 197 kB / 0.7784 GB, free: 138 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.423/3.481, allocations: 6.016 kB / 0.7784 GB, free: 138 MB / 0.6511 GB