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.433/5.433, allocations: 0.5623 GB / 0.5776 GB, free: 3.359 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.002499/0.002499, allocations: 359.8 kB / 0.6447 GB, free: 185.6 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.354/4.354, allocations: 410.7 MB / 1.113 GB, free: 5.941 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.002815/0.002815, allocations: 182.5 kB / 1.226 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004856/0.0004858, allocations: 12 kB / 1.349 GB, free: 8.18 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7487/0.7492, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002692/0.752, allocations: 1.572 MB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002009/0.754, allocations: 0.9639 MB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.7542, allocations: 0 / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0003727/0.7546, allocations: 80.61 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002578/0.7549, allocations: 84.33 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004157/0.7553, allocations: 105.8 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002421/0.7556, allocations: 183.4 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.7557, allocations: 42.06 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.7559, allocations: 75.62 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.756, allocations: 84.44 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.825e-05/0.7561, allocations: 4 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.7562, allocations: 46.08 kB / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 6.908e-05/0.7563, allocations: 55.8 kB / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.436e-05/0.7564, allocations: 57.58 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002766/0.7567, allocations: 197.7 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.7567, allocations: 0 / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.003e-06/0.7567, allocations: 0 / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.7567, allocations: 0.875 kB / 1.465 GB, free: 280.7 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.001003/0.7577, allocations: 0.5119 MB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.7578, allocations: 11.62 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.976e-05/0.7579, allocations: 28.42 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004129/0.7583, allocations: 279.2 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.69e-05/0.7583, allocations: 12.83 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.473e-05/0.7584, allocations: 12 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000411/0.7588, allocations: 124.9 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.7588, allocations: 0 / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.057e-05/0.7589, allocations: 4.922 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.7589, allocations: 5.594 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004392/0.7593, allocations: 99.89 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008848/0.7602, allocations: 463.6 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005258/0.7608, allocations: 136.5 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002527/0.7611, allocations: 58.27 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.982e-05/0.7611, allocations: 6.75 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003939/0.7615, allocations: 131.2 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 3.847e-06/0.7615, allocations: 7.234 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0009617/0.7625, allocations: 259.6 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.7625, allocations: 55.41 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004197/0.763, allocations: 326.5 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/0.763, allocations: 38.36 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.28e-05/0.7631, allocations: 133 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.804e-05/0.7632, allocations: 39.55 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.815e-05/0.7632, allocations: 5.5 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.041e-05/0.7633, allocations: 338.8 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003226/0.7636, allocations: 89.39 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003504/0.764, allocations: 141.1 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000337/0.7643, allocations: 94.88 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.7644, allocations: 4.969 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008733/0.7653, allocations: 297.1 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.7653, allocations: 8 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.7653, allocations: 0 / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.7653, allocations: 4 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003449/0.7657, allocations: 48.78 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.7657, allocations: 4.625 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000263/0.766, allocations: 37.48 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-05/0.766, allocations: 8 kB / 1.468 GB, free: 276.8 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.0001794/0.7662, allocations: 172.1 kB / 1.469 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.309e-05/0.7663, allocations: 23.7 kB / 1.469 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.658e-05/0.7664, allocations: 23.88 kB / 1.469 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.7664, allocations: 6.781 kB / 1.469 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.7664, allocations: 3.984 kB / 1.469 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.889e-05/0.7665, allocations: 100.8 kB / 1.469 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.942e-05/0.7665, allocations: 4 kB / 1.469 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.7667, allocations: 23.97 kB / 1.469 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.126e-05/0.7668, allocations: 17.56 kB / 1.469 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007739/0.7676, allocations: 287.9 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006897/0.7683, allocations: 374.1 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002732/0.7686, allocations: 76.91 kB / 1.47 GB, free: 275.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002638/0.7689, allocations: 206 kB / 1.47 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of Backend: time 8.11e-07/0.7689, allocations: 0 / 1.47 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001962/0.7709, allocations: 0.5378 MB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of SimCode: time 0.00107/0.772, allocations: 0.867 MB / 1.471 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.00868/0.7807, allocations: 2.836 MB / 1.474 GB, free: 271.6 MB / 0.8542 GB