Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Integers.Validation.Change") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.103/5.103, allocations: 0.5623 GB / 0.577 GB, free: 3.348 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002394/0.002393, allocations: 363.6 kB / 0.644 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.161/4.161, allocations: 410.7 MB / 1.112 GB, free: 5.984 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002784/0.002784, allocations: 191.8 kB / 1.225 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004947/0.000495, allocations: 12 kB / 1.348 GB, free: 8.293 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6734/0.674, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002006/0.676, allocations: 1.582 MB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001647/0.6777, allocations: 0.9541 MB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.6779, allocations: 4 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.000326/0.6782, allocations: 92.16 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002448/0.6785, allocations: 69.45 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003876/0.6789, allocations: 110.7 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.000216/0.6791, allocations: 187.9 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.6793, allocations: 42.59 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.6794, allocations: 72.38 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.6796, allocations: 79.67 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.879e-05/0.6796, allocations: 8.75 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.6798, allocations: 51.83 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 6.445e-05/0.6798, allocations: 48.52 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.047e-05/0.6799, allocations: 57.58 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.6802, allocations: 199.8 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.803e-06/0.6802, allocations: 0 / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.365e-06/0.6802, allocations: 4 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.889e-06/0.6802, allocations: 0 / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0008334/0.6811, allocations: 0.5179 MB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.6811, allocations: 11.62 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.112e-05/0.6812, allocations: 23.72 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003623/0.6816, allocations: 278.7 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.6816, allocations: 8.188 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.049e-05/0.6816, allocations: 13.97 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003289/0.682, allocations: 124.1 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.682, allocations: 0.8438 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.682, allocations: 7.953 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.128e-06/0.682, allocations: 1.312 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003307/0.6824, allocations: 98.48 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007632/0.6832, allocations: 467.6 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003872/0.6836, allocations: 137 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/0.6838, allocations: 65.75 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/0.6838, allocations: 2.078 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003201/0.6842, allocations: 133.6 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 3.172e-06/0.6842, allocations: 0 / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0007683/0.685, allocations: 256.5 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.685, allocations: 62.19 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003537/0.6854, allocations: 322.5 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.6854, allocations: 33.7 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.148e-05/0.6855, allocations: 140.5 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.161e-05/0.6856, allocations: 39.55 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.59e-05/0.6856, allocations: 4 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.265e-05/0.6857, allocations: 344.3 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002499/0.6859, allocations: 84.77 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002766/0.6862, allocations: 145 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002645/0.6865, allocations: 99.09 kB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.712e-06/0.6865, allocations: 6.25 kB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006921/0.6872, allocations: 291.3 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.6873, allocations: 4 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.268e-06/0.6873, allocations: 7.25 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.6873, allocations: 4 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002549/0.6876, allocations: 47.91 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.301e-06/0.6876, allocations: 4 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002068/0.6878, allocations: 27.83 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.499e-05/0.6879, allocations: 12 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 20 ($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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * 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.0001596/0.688, allocations: 172.2 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.056e-05/0.6881, allocations: 23.72 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.798e-05/0.6882, allocations: 26.17 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.293e-06/0.6882, allocations: 0.625 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.182e-06/0.6882, allocations: 4 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.672e-06/0.6882, allocations: 1.062 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000905/0.6891, allocations: 0.5601 MB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.644e-06/0.6891, allocations: 0 / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.6893, allocations: 15.98 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.6893, allocations: 5.625 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/0.6893, allocations: 8.828 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.762e-06/0.6893, allocations: 0 / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.039e-06/0.6893, allocations: 3.938 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005131/0.6899, allocations: 306.1 kB / 1.469 GB, free: 275.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.44e-05/0.6899, allocations: 105.8 kB / 1.469 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.822e-05/0.69, allocations: 11.98 kB / 1.469 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.6902, allocations: 18.48 kB / 1.469 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.876e-05/0.6903, allocations: 11.98 kB / 1.469 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.6904, allocations: 11.98 kB / 1.469 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002158/0.6906, allocations: 206 kB / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.55e-07/0.6906, allocations: 0.5625 kB / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004223/0.691, allocations: 47.98 kB / 1.469 GB, free: 275.3 MB / 0.8542 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 (16): * Single equations (assignments): 11 * 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.00137/0.6924, allocations: 427.1 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005944/0.693, allocations: 195.4 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.222e-06/0.6931, allocations: 0 / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002286/0.6933, allocations: 82.64 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004979/0.6938, allocations: 40.53 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007501/0.6946, allocations: 438.6 kB / 1.47 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.6948, allocations: 0.7584 MB / 1.471 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001488/0.695, allocations: 36.45 kB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.936e-05/0.6951, allocations: 31.86 kB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.641e-06/0.6951, allocations: 1.031 kB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.007683/0.7028, allocations: 2.756 MB / 1.474 GB, free: 270.9 MB / 0.8542 GB