Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.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.Continuous.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.11/5.11, allocations: 0.5623 GB / 0.5769 GB, free: 3.305 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.00385/0.00385, allocations: 358.1 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 3.983/3.983, 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.002698/0.002698, allocations: 179.8 kB / 1.225 GB, free: 35.91 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005031/0.0005034, allocations: 12 kB / 1.348 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1583, allocations: 115.3 MB / 1.461 GB, free: 6.602 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.0007523/0.1591, allocations: 425.2 kB / 1.461 GB, free: 6.18 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007953/0.1599, allocations: 0.7988 MB / 1.462 GB, free: 5.367 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.374e-05/0.16, allocations: 3.938 kB / 1.462 GB, free: 5.363 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.428e-05/0.16, allocations: 3.938 kB / 1.462 GB, free: 5.359 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.583e-05/0.1601, allocations: 7.922 kB / 1.462 GB, free: 5.352 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 7.781e-05/0.1602, allocations: 8 kB / 1.462 GB, free: 5.344 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.803e-05/0.1603, allocations: 39.89 kB / 1.462 GB, free: 5.305 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.757e-05/0.1603, allocations: 4 kB / 1.462 GB, free: 5.301 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.121e-05/0.1604, allocations: 19.92 kB / 1.462 GB, free: 5.281 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.607e-05/0.1605, allocations: 19.92 kB / 1.462 GB, free: 5.262 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.1605, allocations: 4 kB / 1.462 GB, free: 5.258 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.12e-05/0.1605, allocations: 0 / 1.462 GB, free: 5.258 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.315e-05/0.1606, allocations: 7.922 kB / 1.462 GB, free: 5.25 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.131e-05/0.1606, allocations: 33.7 kB / 1.462 GB, free: 5.211 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.493e-05/0.1606, allocations: 23.94 kB / 1.462 GB, free: 5.188 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1607, allocations: 3.938 kB / 1.462 GB, free: 5.184 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.225e-06/0.1607, allocations: 0 / 1.462 GB, free: 5.184 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.624e-06/0.1607, allocations: 4 kB / 1.462 GB, free: 5.18 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004142/0.1611, allocations: 359.5 kB / 1.462 GB, free: 4.781 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.1612, allocations: 12.03 kB / 1.462 GB, free: 4.77 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.69e-05/0.1612, allocations: 7.906 kB / 1.462 GB, free: 4.762 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.982e-05/0.1613, allocations: 178.9 kB / 1.463 GB, free: 4.547 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.1613, allocations: 0 / 1.463 GB, free: 4.547 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.1614, allocations: 0 / 1.463 GB, free: 4.547 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.1616, allocations: 85.59 kB / 1.463 GB, free: 4.457 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.94e-06/0.1617, allocations: 0 / 1.463 GB, free: 4.457 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.1617, allocations: 0 / 1.463 GB, free: 4.457 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.797e-06/0.1617, allocations: 4 kB / 1.463 GB, free: 4.453 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003217/0.162, allocations: 83.92 kB / 1.463 GB, free: 4.371 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003408/0.1624, allocations: 272.9 kB / 1.463 GB, free: 4.055 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002396/0.1626, allocations: 66.47 kB / 1.463 GB, free: 3.98 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/0.1628, allocations: 52.92 kB / 1.463 GB, free: 3.926 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.1629, allocations: 4 kB / 1.463 GB, free: 3.922 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.1629, allocations: 30.56 kB / 1.463 GB, free: 3.883 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 3.361e-06/0.1629, allocations: 0 / 1.463 GB, free: 3.883 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0006113/0.1635, allocations: 173.4 kB / 1.463 GB, free: 3.707 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/0.1636, allocations: 51.41 kB / 1.463 GB, free: 3.645 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.159e-05/0.1636, allocations: 110 kB / 1.464 GB, free: 3.527 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.1637, allocations: 29.64 kB / 1.464 GB, free: 3.492 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.281e-05/0.1637, allocations: 88.14 kB / 1.464 GB, free: 3.402 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.1637, allocations: 11.89 kB / 1.464 GB, free: 3.391 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.097e-06/0.1637, allocations: 0 / 1.464 GB, free: 3.391 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.011e-05/0.1638, allocations: 314.8 kB / 1.464 GB, free: 3.074 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/0.164, allocations: 39.97 kB / 1.464 GB, free: 3.035 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.1642, allocations: 47.95 kB / 1.464 GB, free: 2.988 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.1643, allocations: 44.25 kB / 1.464 GB, free: 2.945 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.433e-06/0.1643, allocations: 0 / 1.464 GB, free: 2.945 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003814/0.1647, allocations: 125.5 kB / 1.464 GB, free: 2.816 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.1648, allocations: 7.984 kB / 1.464 GB, free: 2.809 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1648, allocations: 0 / 1.464 GB, free: 2.809 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.1648, allocations: 0 / 1.464 GB, free: 2.809 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.165, allocations: 19.98 kB / 1.464 GB, free: 2.789 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.397e-06/0.165, allocations: 4.062 kB / 1.464 GB, free: 2.785 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.771e-05/0.1651, allocations: 19.98 kB / 1.464 GB, free: 2.766 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.1651, allocations: 7.891 kB / 1.464 GB, free: 2.758 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 (3): * Single equations (assignments): 3 * 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 6.748e-05/0.1652, allocations: 113.8 kB / 1.464 GB, free: 2.637 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.756e-05/0.1652, allocations: 0 / 1.464 GB, free: 2.637 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004126/0.1657, allocations: 137.4 kB / 1.465 GB, free: 2.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.256e-06/0.1657, allocations: 0 / 1.465 GB, free: 2.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.746e-06/0.1657, allocations: 0 / 1.465 GB, free: 2.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.853e-06/0.1657, allocations: 0 / 1.465 GB, free: 2.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.1659, allocations: 177.5 kB / 1.465 GB, free: 2.277 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.606e-06/0.1659, allocations: 0 / 1.465 GB, free: 2.277 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.166, allocations: 19.98 kB / 1.465 GB, free: 2.258 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.166, allocations: 3.984 kB / 1.465 GB, free: 2.254 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.1661, allocations: 4 kB / 1.465 GB, free: 2.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.1661, allocations: 4 kB / 1.465 GB, free: 2.246 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.488e-06/0.1661, allocations: 3.938 kB / 1.465 GB, free: 2.242 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003983/0.1665, allocations: 219.4 kB / 1.465 GB, free: 2.012 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.268e-05/0.1665, allocations: 77.11 kB / 1.465 GB, free: 1.918 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.1666, allocations: 0 / 1.465 GB, free: 1.918 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/0.1667, allocations: 27.91 kB / 1.465 GB, free: 1.891 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.121e-05/0.1668, allocations: 4 kB / 1.465 GB, free: 1.887 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.23e-06/0.1668, allocations: 0 / 1.465 GB, free: 1.887 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.733e-05/0.1669, allocations: 87.27 kB / 1.465 GB, free: 1.801 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.15e-07/0.1669, allocations: 4 kB / 1.465 GB, free: 1.797 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003045/0.1672, allocations: 11.91 kB / 1.465 GB, free: 1.785 MB / 0.6042 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 (3): * Single equations (assignments): 3 * 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.0001174/0.1673, allocations: 95.78 kB / 1.465 GB, free: 1.684 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003906/0.1677, allocations: 95.86 kB / 1.465 GB, free: 1.59 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.704e-06/0.1677, allocations: 0 / 1.465 GB, free: 1.59 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001779/0.1679, allocations: 51.95 kB / 1.465 GB, free: 1.539 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.1683, allocations: 14.19 kB / 1.465 GB, free: 1.527 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003228/0.1686, allocations: 120.7 kB / 1.465 GB, free: 1.383 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.169, allocations: 0.6887 MB / 1.466 GB, free: 0.668 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.023e-05/0.169, allocations: 0 / 1.466 GB, free: 0.668 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.887e-05/0.1691, allocations: 11.44 kB / 1.466 GB, free: 0.6562 MB / 0.6042 GB Notification: Performance of SimCode: time 1.823e-06/0.1691, allocations: 0 / 1.466 GB, free: 0.6562 MB / 0.6042 GB Notification: Performance of Templates: time 0.003106/0.1722, allocations: 0.5333 MB / 1.467 GB, free: 136 kB / 0.6042 GB