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 5.399/5.399, allocations: 0.5623 GB / 0.5776 GB, free: 3.363 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.002524/0.002524, allocations: 355.2 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.639/4.639, allocations: 410.7 MB / 1.113 GB, free: 6.035 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.001827/0.001827, allocations: 186.5 kB / 1.226 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006672/0.0006676, allocations: 12 kB / 1.349 GB, free: 8.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7468/0.7475, 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.001076/0.7486, allocations: 490.6 kB / 1.462 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001106/0.7498, allocations: 0.8519 MB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.376e-05/0.7499, allocations: 0 / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.261e-05/0.7499, allocations: 7.922 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.75, allocations: 15.92 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001682/0.7502, allocations: 28.81 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.7503, allocations: 75.77 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.7504, allocations: 26.39 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 8.396e-05/0.7505, allocations: 31.84 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 9.909e-05/0.7507, allocations: 40.61 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.114e-05/0.7507, allocations: 4 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 1.926e-05/0.7507, allocations: 4.594 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.466e-05/0.7508, allocations: 21.69 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.016e-05/0.7508, allocations: 33.64 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.7509, allocations: 63.84 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.7509, allocations: 0 / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.813e-06/0.7509, allocations: 0 / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.751, allocations: 0.5 kB / 1.463 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.000764/0.7517, allocations: 387.9 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.7518, allocations: 15.62 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.607e-05/0.7518, allocations: 8.656 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.752, allocations: 178.9 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.752, allocations: 8.719 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/0.7521, allocations: 6.062 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004692/0.7525, allocations: 116.7 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.7526, allocations: 0 / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/0.7526, allocations: 4 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.7526, allocations: 2.078 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006849/0.7533, allocations: 119.7 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007359/0.754, allocations: 355.3 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.7551, allocations: 129.9 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003401/0.7555, allocations: 76.52 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.7555, allocations: 0 / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.7556, allocations: 30.56 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 2.665e-06/0.7556, allocations: 0.75 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.001139/0.7567, allocations: 219.1 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.262e-05/0.7568, allocations: 52.41 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.7569, allocations: 129.8 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.7569, allocations: 28.42 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.764e-05/0.757, allocations: 104 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.048e-05/0.757, allocations: 15.73 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.162e-05/0.757, allocations: 4 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.161e-05/0.7571, allocations: 318.8 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003286/0.7574, allocations: 54.27 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003224/0.7578, allocations: 61.92 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003742/0.7582, allocations: 62.66 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.7582, allocations: 1.469 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007271/0.7589, allocations: 156.6 kB / 1.466 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.759, allocations: 8.75 kB / 1.466 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.759, allocations: 4 kB / 1.466 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.759, allocations: 7.891 kB / 1.466 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003131/0.7593, allocations: 29.31 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.7593, allocations: 0 / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002154/0.7596, allocations: 23.41 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.7596, allocations: 4 kB / 1.466 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 9.655e-05/0.7597, allocations: 117.8 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.215e-05/0.7598, allocations: 5.125 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.559e-05/0.7598, allocations: 13.16 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.7598, allocations: 7.938 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.7598, allocations: 0.7188 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.46e-05/0.7599, allocations: 89.02 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/0.7599, allocations: 1.375 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/0.7602, allocations: 16.61 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.7603, allocations: 19.97 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009446/0.7612, allocations: 263.7 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007953/0.762, allocations: 334.5 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003638/0.7624, allocations: 70.78 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.724e-05/0.7625, allocations: 102.6 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of Backend: time 9.72e-07/0.7625, allocations: 3.094 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007563/0.7633, allocations: 147.4 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0006417/0.7639, allocations: 0.6238 MB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.005099/0.7691, allocations: 1.467 MB / 1.469 GB, free: 276.5 MB / 0.8542 GB