Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.009/5.009, allocations: 0.5623 GB / 0.5769 GB, free: 3.32 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.002357/0.002357, allocations: 360.4 kB / 0.644 GB, free: 185.7 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.874/3.874, 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.001685/0.001684, allocations: 187.7 kB / 1.225 GB, free: 35.91 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004806/0.0004808, allocations: 16 kB / 1.348 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1556, allocations: 115.2 MB / 1.461 GB, free: 6.625 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002277/0.158, allocations: 1.21 MB / 1.462 GB, free: 5.398 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002089/0.1601, allocations: 0.7348 MB / 1.463 GB, free: 4.656 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.907e-05/0.1602, allocations: 0 / 1.463 GB, free: 4.656 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.04e-05/0.1603, allocations: 7.922 kB / 1.463 GB, free: 4.648 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.564e-05/0.1604, allocations: 11.86 kB / 1.463 GB, free: 4.637 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006199/0.161, allocations: 95.77 kB / 1.463 GB, free: 4.543 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.1612, allocations: 83.7 kB / 1.463 GB, free: 4.461 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.1613, allocations: 11.98 kB / 1.463 GB, free: 4.449 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.1614, allocations: 31.91 kB / 1.463 GB, free: 4.418 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.658e-05/0.1615, allocations: 43.77 kB / 1.463 GB, free: 4.375 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.877e-05/0.1616, allocations: 4 kB / 1.463 GB, free: 4.371 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002585/0.1619, allocations: 79.86 kB / 1.463 GB, free: 4.293 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.355e-05/0.1619, allocations: 19.95 kB / 1.463 GB, free: 4.273 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.799e-05/0.162, allocations: 45.64 kB / 1.463 GB, free: 4.223 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.1622, allocations: 104 kB / 1.463 GB, free: 4.121 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.355e-06/0.1623, allocations: 0 / 1.463 GB, free: 4.121 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.14e-06/0.1623, allocations: 0 / 1.463 GB, free: 4.121 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.959e-06/0.1623, allocations: 0 / 1.463 GB, free: 4.121 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000706/0.163, allocations: 454.4 kB / 1.464 GB, free: 3.617 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.1631, allocations: 8.031 kB / 1.464 GB, free: 3.609 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.676e-05/0.1632, allocations: 11.89 kB / 1.464 GB, free: 3.598 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.1633, allocations: 178.7 kB / 1.464 GB, free: 3.387 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.719e-05/0.1634, allocations: 7.938 kB / 1.464 GB, free: 3.379 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.117e-05/0.1634, allocations: 8 kB / 1.464 GB, free: 3.371 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003823/0.1638, allocations: 85.62 kB / 1.464 GB, free: 3.281 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1639, allocations: 3.938 kB / 1.464 GB, free: 3.277 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.1639, allocations: 4 kB / 1.464 GB, free: 3.273 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.581e-06/0.1639, allocations: 4 kB / 1.464 GB, free: 3.27 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002934/0.1642, allocations: 51.97 kB / 1.464 GB, free: 3.219 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007434/0.165, allocations: 320.7 kB / 1.464 GB, free: 2.855 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003107/0.1653, allocations: 70.55 kB / 1.464 GB, free: 2.777 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002326/0.1656, allocations: 52.83 kB / 1.464 GB, free: 2.723 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.1656, allocations: 0 / 1.464 GB, free: 2.723 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003548/0.166, allocations: 95.39 kB / 1.464 GB, free: 2.617 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 3.567e-06/0.166, allocations: 4 kB / 1.464 GB, free: 2.613 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0009591/0.167, allocations: 201.4 kB / 1.465 GB, free: 2.41 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.1671, allocations: 55.55 kB / 1.465 GB, free: 2.344 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.1672, allocations: 133.7 kB / 1.465 GB, free: 2.203 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.1673, allocations: 25.7 kB / 1.465 GB, free: 2.172 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.006e-05/0.1673, allocations: 96.38 kB / 1.465 GB, free: 2.074 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.263e-05/0.1674, allocations: 23.73 kB / 1.465 GB, free: 2.051 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.236e-05/0.1674, allocations: 0 / 1.465 GB, free: 2.051 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.431e-05/0.1675, allocations: 314.8 kB / 1.465 GB, free: 1.734 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001807/0.1677, allocations: 35.97 kB / 1.465 GB, free: 1.699 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.1679, allocations: 77.8 kB / 1.465 GB, free: 1.605 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002135/0.1682, allocations: 39.92 kB / 1.465 GB, free: 1.566 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.501e-06/0.1682, allocations: 4 kB / 1.465 GB, free: 1.562 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005303/0.1687, allocations: 141.4 kB / 1.466 GB, free: 1.418 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.1688, allocations: 8 kB / 1.466 GB, free: 1.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.1688, allocations: 3.938 kB / 1.466 GB, free: 1.406 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.1689, allocations: 4 kB / 1.466 GB, free: 1.402 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/0.1691, allocations: 24.08 kB / 1.466 GB, free: 1.379 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.1691, allocations: 4.328 kB / 1.466 GB, free: 1.375 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/0.1693, allocations: 15.91 kB / 1.466 GB, free: 1.359 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-05/0.1693, allocations: 4 kB / 1.466 GB, free: 1.355 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.pDown,bli.pDown,$PRE.bli.pUp,bli.pUp,$PRE.bli.blindState,bli.blindState,$PRE.bli.isOpen,bli.isOpen,occ.y,$whenCondition1,bli.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001945/0.1695, allocations: 135.9 kB / 1.466 GB, free: 1.215 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.378e-05/0.1696, allocations: 11.84 kB / 1.466 GB, free: 1.203 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.887e-05/0.1697, allocations: 4.375 kB / 1.466 GB, free: 1.203 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.161e-06/0.1697, allocations: 8 kB / 1.466 GB, free: 1.195 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.614e-06/0.1697, allocations: 4 kB / 1.466 GB, free: 1.191 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.571e-06/0.1697, allocations: 3.953 kB / 1.466 GB, free: 1.188 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001251/0.171, allocations: 434.4 kB / 1.466 GB, free: 0.707 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.957e-06/0.171, allocations: 0 / 1.466 GB, free: 0.707 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.718e-05/0.1711, allocations: 7.984 kB / 1.466 GB, free: 0.6992 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.283e-06/0.1712, allocations: 4 kB / 1.466 GB, free: 0.6953 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.1e-05/0.1712, allocations: 4 kB / 1.466 GB, free: 0.6914 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.533e-06/0.1712, allocations: 3.953 kB / 1.466 GB, free: 0.6875 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.67e-06/0.1713, allocations: 3.984 kB / 1.466 GB, free: 0.6836 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008487/0.1721, allocations: 251.3 kB / 1.466 GB, free: 432 kB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.692e-05/0.1722, allocations: 85.02 kB / 1.467 GB, free: 328 kB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.178e-05/0.1723, allocations: 7.984 kB / 1.467 GB, free: 320 kB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002526/0.1726, allocations: 8 kB / 1.467 GB, free: 312 kB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.36e-05/0.1727, allocations: 11.94 kB / 1.467 GB, free: 300 kB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.937e-05/0.1727, allocations: 0 / 1.467 GB, free: 300 kB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001197/0.1729, allocations: 95.27 kB / 1.467 GB, free: 204 kB / 0.6042 GB Notification: Performance of sort global known variables: time 1.285e-06/0.1729, allocations: 0 / 1.467 GB, free: 204 kB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008128/0.1737, allocations: 43.98 kB / 1.467 GB, free: 160 kB / 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: 8 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0006403/0.1744, allocations: 173.3 kB / 1.467 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006478/0.1751, allocations: 96.14 kB / 1.467 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.567e-06/0.1751, allocations: 4.062 kB / 1.467 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003172/0.1754, allocations: 55.89 kB / 1.467 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006764/0.1761, allocations: 15.92 kB / 1.467 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008874/0.177, allocations: 224.8 kB / 1.467 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004782/0.1776, allocations: 0.6965 MB / 1.468 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.537e-05/0.1777, allocations: 4 kB / 1.468 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.004e-05/0.1777, allocations: 15.44 kB / 1.468 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of SimCode: time 2.357e-06/0.1778, allocations: 4 kB / 1.468 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of Templates: time 0.009507/0.1873, allocations: 1.565 MB / 1.469 GB, free: 13.28 MB / 0.6198 GB