Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.Shade.Validation.Shade_T.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.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.Shade.Validation.Shade_T") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.815/4.815, allocations: 0.5623 GB / 0.5769 GB, free: 66.91 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002521/0.002521, allocations: 355.8 kB / 0.644 GB, free: 21.48 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.312/4.312, allocations: 410.7 MB / 1.112 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0018/0.0018, allocations: 180.8 kB / 1.225 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0004995/0.0004998, allocations: 15.5 kB / 1.348 GB, free: 320.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1603, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.0007335/0.1611, allocations: 421.7 kB / 1.461 GB, free: 220.3 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0008645/0.162, allocations: 0.8423 MB / 1.462 GB, free: 219.5 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.128e-05/0.1621, allocations: 0.5 kB / 1.462 GB, free: 219.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.884e-05/0.1621, allocations: 3.938 kB / 1.462 GB, free: 219.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.65e-05/0.1622, allocations: 18.3 kB / 1.462 GB, free: 219.4 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001253/0.1623, allocations: 15.97 kB / 1.462 GB, free: 219.4 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.175e-05/0.1624, allocations: 51.8 kB / 1.462 GB, free: 219.4 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.38e-05/0.1625, allocations: 17.17 kB / 1.462 GB, free: 219.4 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 8.438e-05/0.1626, allocations: 11.94 kB / 1.462 GB, free: 219.4 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.478e-05/0.1627, allocations: 29.36 kB / 1.462 GB, free: 219.3 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.1627, allocations: 0 / 1.462 GB, free: 219.3 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.246e-05/0.1627, allocations: 7.938 kB / 1.462 GB, free: 219.3 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.295e-05/0.1628, allocations: 4 kB / 1.462 GB, free: 219.3 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.06e-05/0.1628, allocations: 34.61 kB / 1.462 GB, free: 219.3 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 7.548e-05/0.1629, allocations: 56.05 kB / 1.462 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.1629, allocations: 0 / 1.462 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.946e-06/0.1629, allocations: 0.5312 kB / 1.462 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.222e-06/0.1629, allocations: 1.094 kB / 1.462 GB, free: 219.2 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000387/0.1633, allocations: 360.1 kB / 1.463 GB, free: 218.8 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.1634, allocations: 9.25 kB / 1.463 GB, free: 218.8 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.433e-05/0.1634, allocations: 4 kB / 1.463 GB, free: 218.8 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.1636, allocations: 200.2 kB / 1.463 GB, free: 218.6 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.1637, allocations: 5.969 kB / 1.463 GB, free: 218.6 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.1637, allocations: 8 kB / 1.463 GB, free: 218.6 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.1639, allocations: 57.66 kB / 1.463 GB, free: 218.5 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.396e-06/0.1639, allocations: 0 / 1.463 GB, free: 218.5 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.1639, allocations: 4.5 kB / 1.463 GB, free: 218.5 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.703e-06/0.1639, allocations: 3.031 kB / 1.463 GB, free: 218.5 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.1641, allocations: 39.91 kB / 1.463 GB, free: 218.5 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003906/0.1645, allocations: 293.7 kB / 1.463 GB, free: 218.1 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003152/0.1648, allocations: 90.55 kB / 1.463 GB, free: 218 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.938e-05/0.1649, allocations: 22.23 kB / 1.463 GB, free: 218 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.1649, allocations: 0 / 1.463 GB, free: 218 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.686e-05/0.1649, allocations: 44.25 kB / 1.463 GB, free: 218 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.998e-06/0.165, allocations: 0 / 1.463 GB, free: 218 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0002838/0.1652, allocations: 74.91 kB / 1.463 GB, free: 217.9 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/0.1653, allocations: 55.36 kB / 1.463 GB, free: 217.8 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.723e-05/0.1654, allocations: 121.3 kB / 1.464 GB, free: 217.7 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.1654, allocations: 25.7 kB / 1.464 GB, free: 217.7 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.218e-05/0.1655, allocations: 100.7 kB / 1.464 GB, free: 217.6 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.1655, allocations: 8.531 kB / 1.464 GB, free: 217.5 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.75e-06/0.1655, allocations: 3.938 kB / 1.464 GB, free: 217.5 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.069e-05/0.1656, allocations: 320.6 kB / 1.464 GB, free: 217.2 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.818e-05/0.1656, allocations: 19.94 kB / 1.464 GB, free: 217.2 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.444e-05/0.1657, allocations: 31.42 kB / 1.464 GB, free: 217.2 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.553e-05/0.1658, allocations: 16.48 kB / 1.464 GB, free: 217.1 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.397e-06/0.1658, allocations: 3.938 kB / 1.464 GB, free: 217.1 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001737/0.166, allocations: 69.12 kB / 1.464 GB, free: 217.1 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.166, allocations: 4 kB / 1.464 GB, free: 217.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.866e-06/0.166, allocations: 0 / 1.464 GB, free: 217.1 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.1661, allocations: 4 kB / 1.464 GB, free: 217.1 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.786e-05/0.1662, allocations: 7.984 kB / 1.464 GB, free: 217.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.881e-06/0.1662, allocations: 7.891 kB / 1.464 GB, free: 217.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.264e-05/0.1663, allocations: 17.05 kB / 1.464 GB, free: 217 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.1663, allocations: 4 kB / 1.464 GB, free: 217 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.shaT.hys.y,shaT.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.003e-05/0.1664, allocations: 115.3 kB / 1.464 GB, free: 216.9 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.1664, allocations: 336 / 1.464 GB, free: 216.9 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.674e-05/0.1664, allocations: 12.69 kB / 1.464 GB, free: 216.9 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.602e-06/0.1665, allocations: 3.984 kB / 1.464 GB, free: 216.9 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.326e-06/0.1665, allocations: 1.688 kB / 1.464 GB, free: 216.9 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.096e-06/0.1665, allocations: 3.953 kB / 1.464 GB, free: 216.9 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.1667, allocations: 173.7 kB / 1.464 GB, free: 216.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.194e-06/0.1667, allocations: 4 kB / 1.464 GB, free: 216.7 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.974e-05/0.1668, allocations: 8.781 kB / 1.464 GB, free: 216.7 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.175e-06/0.1668, allocations: 0 / 1.464 GB, free: 216.7 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.744e-06/0.1668, allocations: 5.547 kB / 1.464 GB, free: 216.7 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.137e-06/0.1668, allocations: 0 / 1.464 GB, free: 216.7 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.68e-06/0.1668, allocations: 0 / 1.464 GB, free: 216.7 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001868/0.167, allocations: 168.9 kB / 1.465 GB, free: 216.5 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.61e-05/0.167, allocations: 81.8 kB / 1.465 GB, free: 216.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.1671, allocations: 4 kB / 1.465 GB, free: 216.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.1672, allocations: 9.234 kB / 1.465 GB, free: 216.4 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.944e-05/0.1673, allocations: 7.984 kB / 1.465 GB, free: 216.4 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.534e-06/0.1673, allocations: 0.5938 kB / 1.465 GB, free: 216.4 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.603e-05/0.1673, allocations: 100.3 kB / 1.465 GB, free: 216.3 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.462e-06/0.1673, allocations: 0 / 1.465 GB, free: 216.3 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002983/0.1676, allocations: 13.31 kB / 1.465 GB, free: 216.2 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (shaT.hys.y) * Number of discrete states: 1 (shaT.hys.y) * 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 7.944e-05/0.1677, allocations: 97.11 kB / 1.465 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001838/0.1679, allocations: 33.55 kB / 1.465 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.168, allocations: 1.562 kB / 1.465 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.319e-05/0.168, allocations: 23.92 kB / 1.465 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.1684, allocations: 11.95 kB / 1.465 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003248/0.1687, allocations: 181.2 kB / 1.465 GB, free: 215.9 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/0.1689, allocations: 0.6926 MB / 1.466 GB, free: 215.2 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.481e-05/0.1689, allocations: 1.844 kB / 1.466 GB, free: 215.2 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.439e-05/0.169, allocations: 11.44 kB / 1.466 GB, free: 215.1 MB / 0.8073 GB Notification: Performance of SimCode: time 1.396e-06/0.169, allocations: 3.938 kB / 1.466 GB, free: 215.1 MB / 0.8073 GB Notification: Performance of Templates: time 0.003056/0.1721, allocations: 0.5875 MB / 1.466 GB, free: 214.6 MB / 0.8073 GB