Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Integers.Validation.Add.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.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Integers.Validation.Add") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.878/4.878, allocations: 0.5623 GB / 0.5769 GB, free: 3.355 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.002408/0.002408, allocations: 361.7 kB / 0.6441 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.097/4.097, allocations: 410.7 MB / 1.112 GB, free: 5.898 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.001793/0.001793, allocations: 188.6 kB / 1.225 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005042/0.0005045, allocations: 23.98 kB / 1.348 GB, free: 8.223 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6531/0.6536, 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.Add): time 0.001153/0.6548, allocations: 494.4 kB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001402/0.6562, allocations: 0.8494 MB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.524e-05/0.6563, allocations: 0 / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.747e-05/0.6564, allocations: 3.938 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.6565, allocations: 10.89 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001886/0.6567, allocations: 31.95 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.6568, allocations: 75.77 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.657, allocations: 21.44 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 8.676e-05/0.6571, allocations: 35.84 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.6572, allocations: 39.83 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.187e-05/0.6573, allocations: 0.75 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 2.282e-05/0.6573, allocations: 4 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.169e-05/0.6574, allocations: 25.19 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.16e-05/0.6574, allocations: 33.64 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.6576, allocations: 63.83 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.444e-06/0.6576, allocations: 0.5 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.533e-06/0.6576, allocations: 0 / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.251e-06/0.6576, allocations: 0.6875 kB / 1.462 GB, free: 282.6 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008349/0.6585, allocations: 391.9 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.6585, allocations: 12.12 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.899e-05/0.6586, allocations: 7.906 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.6588, allocations: 184.6 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/0.6588, allocations: 5.594 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.092e-05/0.6589, allocations: 8 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005797/0.6595, allocations: 117 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.6595, allocations: 0 / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.6596, allocations: 0 / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.978e-06/0.6596, allocations: 4 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008074/0.6604, allocations: 126.1 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00091/0.6613, allocations: 352.3 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/0.6625, allocations: 128.7 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003978/0.663, allocations: 68.19 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.927e-05/0.663, allocations: 0 / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.663, allocations: 36.47 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 4.228e-06/0.6631, allocations: 2.016 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.001318/0.6644, allocations: 222.2 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.483e-05/0.6645, allocations: 56.66 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.6646, allocations: 121.8 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.6646, allocations: 29.7 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.471e-05/0.6647, allocations: 96.64 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.064e-05/0.6648, allocations: 21.7 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.51e-05/0.6648, allocations: 4 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.732e-05/0.6649, allocations: 318.8 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003755/0.6653, allocations: 58.12 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00037/0.6657, allocations: 62.06 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003689/0.6661, allocations: 50.38 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.6661, allocations: 0 / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0008682/0.667, allocations: 167.2 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.667, allocations: 7.594 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.667, allocations: 3.953 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.6671, allocations: 3.938 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006618/0.6677, allocations: 33.12 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.6678, allocations: 0.5312 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004027/0.6682, allocations: 21.42 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.959e-05/0.6683, allocations: 3.984 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (add1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001877/0.6685, allocations: 115.3 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.6687, allocations: 7.906 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.024e-05/0.6688, allocations: 9.75 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.6688, allocations: 7.953 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.537e-06/0.6688, allocations: 0 / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.483e-06/0.6689, allocations: 0 / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005266/0.6694, allocations: 199 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.856e-06/0.6695, allocations: 0 / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005864/0.6701, allocations: 36.91 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.75e-06/0.6701, allocations: 0 / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.658e-05/0.6702, allocations: 8.766 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.813e-06/0.6702, allocations: 4 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.25e-06/0.6702, allocations: 5.203 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001427/0.6717, allocations: 256.6 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.319e-05/0.6718, allocations: 88.95 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.788e-05/0.6719, allocations: 1.062 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005251/0.6724, allocations: 16.95 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001968/0.6727, allocations: 27.92 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.812e-05/0.6727, allocations: 5.797 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001266/0.6729, allocations: 95.2 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.957e-06/0.6729, allocations: 2.406 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008928/0.6738, allocations: 20 kB / 1.466 GB, free: 278.8 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: 3 (add1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0001858/0.674, allocations: 103.2 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001363/0.6754, allocations: 127.9 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.947e-06/0.6755, allocations: 0.5312 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0006964/0.6762, allocations: 75 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009271/0.6772, allocations: 8 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.6782, allocations: 203.4 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.6786, allocations: 0.6965 MB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002621/0.6789, allocations: 7.75 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001859/0.6791, allocations: 20.02 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of SimCode: time 4.05e-06/0.6791, allocations: 0.7188 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.004501/0.6836, allocations: 1.302 MB / 1.468 GB, free: 276.3 MB / 0.8542 GB