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: "" <> 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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01116/0.01116, allocations: 107.6 kB / 15.05 MB, free: 5.934 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.001179/0.001178, allocations: 182.2 kB / 15.94 MB, free: 5.898 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 2.03/2.03, allocations: 194.6 MB / 211.3 MB, free: 11.25 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.305/2.305, allocations: 236.2 MB / 492.6 MB, free: 11.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004745/0.0004746, allocations: 16 kB / 0.587 GB, free: 2.102 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7189/0.7194, allocations: 98.72 MB / 0.6834 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2369/0.9564, allocations: 127.8 MB / 0.8083 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003169/0.9568, allocations: 79.95 kB / 0.8084 GB, free: 14.28 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.03263/0.9894, allocations: 6.106 MB / 0.8143 GB, free: 8.16 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.375e-06/0.9895, allocations: 4 kB / 0.8143 GB, free: 8.156 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.296e-05/0.9895, allocations: 4 kB / 0.8143 GB, free: 8.152 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.001421/0.991, allocations: 0.5763 MB / 0.8149 GB, free: 7.512 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.884e-05/0.991, allocations: 12.03 kB / 0.8149 GB, free: 7.5 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.378e-05/0.9911, allocations: 38.56 kB / 0.8149 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.9913, allocations: 27.67 kB / 0.815 GB, free: 7.426 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008057/0.9921, allocations: 289.7 kB / 0.8153 GB, free: 7.105 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.654e-05/0.9921, allocations: 8.188 kB / 0.8153 GB, free: 7.098 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.804e-05/0.9922, allocations: 15.98 kB / 0.8153 GB, free: 7.082 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006727/0.9929, allocations: 141 kB / 0.8154 GB, free: 6.934 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.9929, allocations: 3.984 kB / 0.8154 GB, free: 6.93 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.164e-05/0.993, allocations: 4 kB / 0.8154 GB, free: 6.926 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.993, allocations: 11.98 kB / 0.8154 GB, free: 6.914 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006968/0.9937, allocations: 104.4 kB / 0.8155 GB, free: 6.812 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001707/0.9954, allocations: 0.5795 MB / 0.8161 GB, free: 6.18 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007941/0.9963, allocations: 134.7 kB / 0.8162 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.301e-05/0.9963, allocations: 4 kB / 0.8162 GB, free: 6.035 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006178/0.997, allocations: 131.3 kB / 0.8164 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=16): time 3.797e-06/0.997, allocations: 0 / 0.8164 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16): time 0.001582/0.9986, allocations: 275.4 kB / 0.8166 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/0.9987, allocations: 51.41 kB / 0.8167 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007418/0.9994, allocations: 288 kB / 0.8169 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.663e-05/0.9995, allocations: 33.7 kB / 0.817 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002028/0.9997, allocations: 136.6 kB / 0.8171 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.858e-05/0.9998, allocations: 43.53 kB / 0.8171 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.812e-05/0.9999, allocations: 0 / 0.8171 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002038/1, allocations: 338.9 kB / 0.8175 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005178/1.001, allocations: 83.95 kB / 0.8175 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005603/1.001, allocations: 143.4 kB / 0.8177 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005716/1.002, allocations: 122.3 kB / 0.8178 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/1.002, allocations: 0 / 0.8178 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001428/1.003, allocations: 308.6 kB / 0.8181 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.715e-05/1.003, allocations: 33.7 kB / 0.8181 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/1.003, allocations: 11.94 kB / 0.8181 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/1.003, allocations: 0 / 0.8181 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004169/1.004, allocations: 48.09 kB / 0.8182 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/1.004, allocations: 4 kB / 0.8182 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000388/1.004, allocations: 31.73 kB / 0.8182 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.694e-05/1.004, allocations: 16 kB / 0.8182 GB, free: 3.883 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.0003217/1.005, allocations: 159.5 kB / 0.8184 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.233e-05/1.005, allocations: 19.81 kB / 0.8184 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001117/1.006, allocations: 229 kB / 0.8186 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.739e-05/1.006, allocations: 7.953 kB / 0.8186 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/1.006, allocations: 3.938 kB / 0.8186 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/1.006, allocations: 0 / 0.8186 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/1.008, allocations: 0.5879 MB / 0.8192 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/1.008, allocations: 3.953 kB / 0.8192 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002334/1.008, allocations: 23.98 kB / 0.8192 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/1.008, allocations: 0 / 0.8192 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.481e-05/1.008, allocations: 4 kB / 0.8192 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/1.008, allocations: 0 / 0.8192 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/1.008, allocations: 0 / 0.8192 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/1.009, allocations: 323.9 kB / 0.8195 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000234/1.01, allocations: 124.7 kB / 0.8197 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.242e-05/1.01, allocations: 11.98 kB / 0.8197 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003668/1.01, allocations: 15.98 kB / 0.8197 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/1.01, allocations: 11.98 kB / 0.8197 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.499e-05/1.01, allocations: 11.98 kB / 0.8197 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005456/1.011, allocations: 224.4 kB / 0.8199 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.61e-07/1.011, allocations: 4 kB / 0.8199 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008461/1.012, allocations: 59.94 kB / 0.82 GB, free: 1.98 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.003172/1.015, allocations: 1.158 MB / 0.8211 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00128/1.016, allocations: 271.5 kB / 0.8214 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.016, allocations: 4.062 kB / 0.8214 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004569/1.017, allocations: 83.64 kB / 0.8215 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006564/1.017, allocations: 36.41 kB / 0.8215 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002663/1.02, allocations: 1.637 MB / 0.8231 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005642/1.021, allocations: 0.7557 MB / 0.8238 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002958/1.021, allocations: 37.88 kB / 0.8239 GB, free: 14 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002613/1.021, allocations: 75.34 kB / 0.8239 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of SimCode: time 1.192e-06/1.021, allocations: 0 / 0.8239 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08221/1.104, allocations: 4.953 MB / 0.8288 GB, free: 9.078 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002788/1.104, allocations: 232.4 kB / 0.829 GB, free: 8.836 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.501/3.605, allocations: 8 kB / 0.829 GB, free: 8.828 MB / 0.6511 GB