Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.786/4.786, allocations: 0.5623 GB / 0.5769 GB, free: 3.34 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.002431/0.00243, allocations: 362.8 kB / 0.644 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.383/4.383, allocations: 410.7 MB / 1.112 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001698/0.001698, allocations: 177.3 kB / 1.225 GB, free: 35.91 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004902/0.0004907, allocations: 20.48 kB / 1.348 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1602, allocations: 115.3 MB / 1.461 GB, free: 6.605 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.0005883/0.1609, allocations: 280.3 kB / 1.461 GB, free: 6.328 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 3.672e-05/0.1609, allocations: 4 kB / 1.461 GB, free: 6.324 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.086e-05/0.161, allocations: 0 / 1.461 GB, free: 6.324 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.082e-05/0.161, allocations: 4 kB / 1.461 GB, free: 6.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.714e-05/0.161, allocations: 0 / 1.461 GB, free: 6.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 2.247e-05/0.1611, allocations: 0 / 1.461 GB, free: 6.32 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.737e-05/0.1611, allocations: 0 / 1.461 GB, free: 6.32 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.816e-05/0.1612, allocations: 4 kB / 1.461 GB, free: 6.316 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.258e-05/0.1612, allocations: 3.938 kB / 1.461 GB, free: 6.312 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 1.442e-05/0.1612, allocations: 0 / 1.461 GB, free: 6.312 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.473e-06/0.1612, allocations: 0 / 1.461 GB, free: 6.312 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.892e-06/0.1612, allocations: 0 / 1.461 GB, free: 6.312 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.654e-06/0.1613, allocations: 0 / 1.461 GB, free: 6.312 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.398e-05/0.1613, allocations: 25.7 kB / 1.461 GB, free: 6.281 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 3.396e-05/0.1613, allocations: 7.984 kB / 1.461 GB, free: 6.273 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1613, allocations: 4 kB / 1.461 GB, free: 6.27 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.086e-06/0.1613, allocations: 0 / 1.461 GB, free: 6.27 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.802e-06/0.1614, allocations: 0 / 1.461 GB, free: 6.27 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001893/0.1616, allocations: 307.4 kB / 1.461 GB, free: 5.922 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.1616, allocations: 12.56 kB / 1.461 GB, free: 5.91 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.627e-05/0.1616, allocations: 4 kB / 1.461 GB, free: 5.906 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.62e-05/0.1617, allocations: 167 kB / 1.462 GB, free: 5.703 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.1618, allocations: 0 / 1.462 GB, free: 5.703 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.1618, allocations: 4 kB / 1.462 GB, free: 5.699 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.844e-05/0.1619, allocations: 33.64 kB / 1.462 GB, free: 5.66 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.443e-06/0.1619, allocations: 0 / 1.462 GB, free: 5.66 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.986e-06/0.1619, allocations: 0 / 1.462 GB, free: 5.66 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.86e-06/0.1619, allocations: 0 / 1.462 GB, free: 5.66 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.465e-05/0.1619, allocations: 0 / 1.462 GB, free: 5.66 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002228/0.1622, allocations: 385.1 kB / 1.462 GB, free: 5.234 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.472e-05/0.1622, allocations: 181 kB / 1.462 GB, free: 5.047 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.046e-05/0.1623, allocations: 80.14 kB / 1.462 GB, free: 4.965 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.1623, allocations: 79.27 kB / 1.462 GB, free: 4.887 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.1623, allocations: 109.9 kB / 1.462 GB, free: 4.77 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.751e-06/0.1623, allocations: 0 / 1.462 GB, free: 4.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 7.348e-05/0.1624, allocations: 29.61 kB / 1.462 GB, free: 4.734 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.1625, allocations: 138.6 kB / 1.463 GB, free: 4.586 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.435e-05/0.1625, allocations: 97.86 kB / 1.463 GB, free: 4.48 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.673e-06/0.1626, allocations: 25.7 kB / 1.463 GB, free: 4.449 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.787e-05/0.1626, allocations: 84.08 kB / 1.463 GB, free: 4.363 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.295e-06/0.1626, allocations: 0 / 1.463 GB, free: 4.363 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.37e-07/0.1626, allocations: 0 / 1.463 GB, free: 4.363 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.969e-05/0.1627, allocations: 310.8 kB / 1.463 GB, free: 4.051 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.223e-06/0.1627, allocations: 8.125 kB / 1.463 GB, free: 4.043 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.9e-06/0.1627, allocations: 0 / 1.463 GB, free: 4.043 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.364e-05/0.1627, allocations: 75.28 kB / 1.463 GB, free: 3.969 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.144e-05/0.1627, allocations: 75.28 kB / 1.463 GB, free: 3.895 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.577e-05/0.1628, allocations: 29.69 kB / 1.463 GB, free: 3.859 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.1628, allocations: 83.28 kB / 1.463 GB, free: 3.777 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/0.1629, allocations: 79.22 kB / 1.463 GB, free: 3.699 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.53e-05/0.1629, allocations: 158.6 kB / 1.464 GB, free: 3.543 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.428e-05/0.1629, allocations: 83.28 kB / 1.464 GB, free: 3.461 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.481e-05/0.163, allocations: 158.5 kB / 1.464 GB, free: 3.305 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.842e-05/0.163, allocations: 79.23 kB / 1.464 GB, free: 3.227 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.1631, allocations: 79.22 kB / 1.464 GB, free: 3.148 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 7.467e-05/0.1632, allocations: 264.4 kB / 1.464 GB, free: 2.879 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.772e-05/0.1632, allocations: 106.1 kB / 1.464 GB, free: 2.77 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.684e-05/0.1633, allocations: 108.1 kB / 1.464 GB, free: 2.66 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.697e-05/0.1633, allocations: 180.2 kB / 1.465 GB, free: 2.477 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.923e-05/0.1633, allocations: 180.3 kB / 1.465 GB, free: 2.293 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-05/0.1634, allocations: 184.2 kB / 1.465 GB, free: 2.105 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.1635, allocations: 409.1 kB / 1.465 GB, free: 1.648 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.772e-05/0.1636, allocations: 108.9 kB / 1.465 GB, free: 1.535 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.838e-05/0.1636, allocations: 105 kB / 1.465 GB, free: 1.426 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.6e-05/0.1637, allocations: 176.3 kB / 1.466 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-05/0.1638, allocations: 180.5 kB / 1.466 GB, free: 1.062 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.756e-05/0.1639, allocations: 184.2 kB / 1.466 GB, free: 0.875 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.819e-05/0.164, allocations: 192.2 kB / 1.466 GB, free: 0.6797 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001875/0.1642, allocations: 307.8 kB / 1.466 GB, free: 364 kB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.1643, allocations: 182 kB / 1.467 GB, free: 156 kB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001271/0.1644, allocations: 180.3 kB / 1.467 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.1646, allocations: 112.9 kB / 1.467 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.32e-05/0.1647, allocations: 180.2 kB / 1.467 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.485e-05/0.1647, allocations: 101 kB / 1.467 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.207e-05/0.1648, allocations: 79.28 kB / 1.467 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.97e-07/0.1648, allocations: 0 / 1.467 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003363/0.1652, allocations: 0 / 1.467 GB, free: 15.48 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0001595/0.1653, allocations: 182.5 kB / 1.467 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 3.961e-05/0.1654, allocations: 0 / 1.467 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.1654, allocations: 0 / 1.467 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.464e-06/0.1654, allocations: 4 kB / 1.467 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005337/0.1659, allocations: 0.5266 MB / 1.468 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002227/0.1662, allocations: 150 kB / 1.468 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.1665, allocations: 0.677 MB / 1.469 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.781e-06/0.1666, allocations: 0 / 1.469 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.76e-05/0.1666, allocations: 7.438 kB / 1.469 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of SimCode: time 3.823e-06/0.1666, allocations: 0 / 1.469 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of Templates: time 0.002066/0.1687, allocations: 160.2 kB / 1.469 GB, free: 13.72 MB / 0.6198 GB