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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 3.932/3.932, allocations: 433.4 MB / 440.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.178e-05/2.182e-05, allocations: 4 kB / 0.5325 GB, free: 1.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4901/0.4901, allocations: 98.7 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.194/0.6842, allocations: 127.1 MB / 0.753 GB, free: 488 kB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/0.6845, allocations: 79.95 kB / 0.7531 GB, free: 408 kB / 0.6198 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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/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/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.02404/0.7086, allocations: 6.047 MB / 0.759 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.269e-06/0.7086, allocations: 0 / 0.759 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.28e-05/0.7086, allocations: 12 kB / 0.759 GB, free: 10.33 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.0008604/0.7095, allocations: 0.533 MB / 0.7595 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.7096, allocations: 12.02 kB / 0.7596 GB, free: 9.727 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.256e-05/0.7097, allocations: 27.67 kB / 0.7596 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000513/0.7102, allocations: 277.9 kB / 0.7598 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.7102, allocations: 12 kB / 0.7599 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.685e-05/0.7103, allocations: 8 kB / 0.7599 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001955/0.7105, allocations: 60.34 kB / 0.7599 GB, free: 9.312 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002561/0.7108, allocations: 116.8 kB / 0.76 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1e-05/0.7108, allocations: 0 / 0.76 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.7108, allocations: 0 / 0.76 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.7108, allocations: 7.953 kB / 0.76 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.7119, allocations: 0.5407 MB / 0.7606 GB, free: 8.598 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002554/0.7121, allocations: 110.6 kB / 0.7607 GB, free: 8.48 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.7122, allocations: 44.89 kB / 0.7607 GB, free: 8.434 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.7123, allocations: 0 / 0.7607 GB, free: 8.434 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000238/0.7125, allocations: 111.5 kB / 0.7608 GB, free: 8.312 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=16): time 5.965e-06/0.7125, allocations: 0 / 0.7608 GB, free: 8.312 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16): time 0.0004227/0.713, allocations: 165.2 kB / 0.761 GB, free: 8.145 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.713, allocations: 59.41 kB / 0.761 GB, free: 8.074 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004048/0.7135, allocations: 268.5 kB / 0.7613 GB, free: 7.809 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.746e-05/0.7135, allocations: 29.7 kB / 0.7613 GB, free: 7.773 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.7137, allocations: 136.3 kB / 0.7614 GB, free: 7.633 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.41e-05/0.7137, allocations: 39.59 kB / 0.7615 GB, free: 7.594 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.377e-05/0.7137, allocations: 0 / 0.7615 GB, free: 7.594 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001836/0.7139, allocations: 338.8 kB / 0.7618 GB, free: 7.254 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.7141, allocations: 48 kB / 0.7619 GB, free: 7.207 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000206/0.7143, allocations: 121.9 kB / 0.762 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.7145, allocations: 66.84 kB / 0.762 GB, free: 7.004 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.332e-06/0.7145, allocations: 0 / 0.762 GB, free: 7.004 MB / 0.6355 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005137/0.715, allocations: 213.2 kB / 0.7622 GB, free: 6.789 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.586e-05/0.7151, allocations: 41.69 kB / 0.7623 GB, free: 6.742 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.608e-06/0.7151, allocations: 4 kB / 0.7623 GB, free: 6.738 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.7152, allocations: 7.953 kB / 0.7623 GB, free: 6.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/0.7154, allocations: 35.86 kB / 0.7623 GB, free: 6.695 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.7154, allocations: 7.984 kB / 0.7623 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/0.7157, allocations: 31.98 kB / 0.7624 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.066e-05/0.7157, allocations: 8 kB / 0.7624 GB, free: 6.648 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 () * 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.0001267/0.7158, allocations: 122.6 kB / 0.7625 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.94e-05/0.7159, allocations: 15.81 kB / 0.7625 GB, free: 6.508 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000418/0.7163, allocations: 182 kB / 0.7627 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.7163, allocations: 0 / 0.7627 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.75e-06/0.7164, allocations: 7.953 kB / 0.7627 GB, free: 6.316 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.963e-06/0.7164, allocations: 11.92 kB / 0.7627 GB, free: 6.305 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00087/0.7173, allocations: 0.4987 MB / 0.7632 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.64e-06/0.7173, allocations: 0 / 0.7632 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.7174, allocations: 19.98 kB / 0.7632 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.104e-06/0.7174, allocations: 0 / 0.7632 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.7175, allocations: 3.953 kB / 0.7632 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.729e-06/0.7175, allocations: 4 kB / 0.7632 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.076e-06/0.7175, allocations: 4 kB / 0.7632 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000419/0.7179, allocations: 271.1 kB / 0.7635 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/0.7181, allocations: 112.9 kB / 0.7636 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.231e-05/0.7182, allocations: 8 kB / 0.7636 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/0.7184, allocations: 19.94 kB / 0.7636 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.897e-05/0.7185, allocations: 23.88 kB / 0.7636 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.7185, allocations: 4 kB / 0.7636 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002895/0.7188, allocations: 212.5 kB / 0.7638 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.01e-07/0.7188, allocations: 0 / 0.7638 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005035/0.7193, allocations: 59.94 kB / 0.7639 GB, free: 5 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) * 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.001158/0.7205, allocations: 353.8 kB / 0.7642 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004663/0.721, allocations: 215.6 kB / 0.7644 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.883e-06/0.721, allocations: 4.125 kB / 0.7644 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.7212, allocations: 67.91 kB / 0.7645 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003867/0.7216, allocations: 36.05 kB / 0.7645 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007368/0.7223, allocations: 289.1 kB / 0.7648 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004641/0.7228, allocations: 0.7555 MB / 0.7656 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001525/0.723, allocations: 38.05 kB / 0.7656 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.098e-05/0.7231, allocations: 23.44 kB / 0.7656 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of SimCode: time 1.511e-06/0.7231, allocations: 0 / 0.7656 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of Templates: time 0.0086/0.7317, allocations: 2.634 MB / 0.7682 GB, free: 0.6133 MB / 0.6355 GB