Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.811/4.811, 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.002442/0.002441, allocations: 356.5 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.265/4.265, allocations: 410.8 MB / 1.112 GB, free: 147.7 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.001689/0.001689, allocations: 182.7 kB / 1.225 GB, free: 35.96 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004969/0.0004971, allocations: 13.41 kB / 1.348 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1682, allocations: 115.3 MB / 1.461 GB, free: 6.59 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.001408/0.1696, allocations: 1.191 MB / 1.462 GB, free: 5.383 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001347/0.171, allocations: 0.7153 MB / 1.463 GB, free: 4.66 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.075e-05/0.1711, allocations: 0 / 1.463 GB, free: 4.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.937e-05/0.1711, allocations: 3.938 kB / 1.463 GB, free: 4.656 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.257e-05/0.1712, allocations: 15.91 kB / 1.463 GB, free: 4.641 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006226/0.1719, allocations: 83.72 kB / 1.463 GB, free: 4.559 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.172, allocations: 67.77 kB / 1.463 GB, free: 4.492 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.66e-05/0.1721, allocations: 8 kB / 1.463 GB, free: 4.484 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.1723, allocations: 27.86 kB / 1.463 GB, free: 4.457 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.254e-05/0.1724, allocations: 35.89 kB / 1.463 GB, free: 4.422 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.1724, allocations: 0 / 1.463 GB, free: 4.422 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002858/0.1727, allocations: 87.78 kB / 1.463 GB, free: 4.336 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.952e-05/0.1727, allocations: 11.98 kB / 1.463 GB, free: 4.324 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.222e-05/0.1728, allocations: 37.64 kB / 1.463 GB, free: 4.281 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002532/0.1731, allocations: 92.06 kB / 1.463 GB, free: 4.191 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.684e-06/0.1731, allocations: 0 / 1.463 GB, free: 4.191 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.084e-06/0.1731, allocations: 0 / 1.463 GB, free: 4.191 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.844e-06/0.1732, allocations: 0 / 1.463 GB, free: 4.191 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007339/0.1739, allocations: 434.5 kB / 1.463 GB, free: 3.707 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.174, allocations: 12.03 kB / 1.463 GB, free: 3.695 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.125e-05/0.1741, allocations: 11.86 kB / 1.463 GB, free: 3.684 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.1742, allocations: 174.9 kB / 1.464 GB, free: 3.473 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.98e-05/0.1743, allocations: 8 kB / 1.464 GB, free: 3.465 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.98e-05/0.1743, allocations: 4 kB / 1.464 GB, free: 3.461 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003518/0.1747, allocations: 69.59 kB / 1.464 GB, free: 3.387 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.1747, allocations: 4 kB / 1.464 GB, free: 3.383 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.1748, allocations: 4 kB / 1.464 GB, free: 3.379 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.866e-06/0.1748, allocations: 4 kB / 1.464 GB, free: 3.375 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003063/0.1751, allocations: 43.97 kB / 1.464 GB, free: 3.332 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006506/0.1758, allocations: 300.7 kB / 1.464 GB, free: 2.988 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/0.176, allocations: 54.5 kB / 1.464 GB, free: 2.926 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/0.1762, allocations: 32.97 kB / 1.464 GB, free: 2.891 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.1763, allocations: 0 / 1.464 GB, free: 2.891 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002804/0.1766, allocations: 87.44 kB / 1.464 GB, free: 2.793 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 3.266e-06/0.1766, allocations: 0 / 1.464 GB, free: 2.793 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0006938/0.1773, allocations: 141.6 kB / 1.464 GB, free: 2.648 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.1773, allocations: 59.33 kB / 1.464 GB, free: 2.578 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.1775, allocations: 125.8 kB / 1.465 GB, free: 2.445 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.1775, allocations: 33.64 kB / 1.465 GB, free: 2.406 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.261e-05/0.1776, allocations: 96.25 kB / 1.465 GB, free: 2.309 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.259e-05/0.1776, allocations: 15.81 kB / 1.465 GB, free: 2.293 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.314e-06/0.1776, allocations: 0 / 1.465 GB, free: 2.293 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.692e-05/0.1777, allocations: 318.8 kB / 1.465 GB, free: 1.973 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.1779, allocations: 23.98 kB / 1.465 GB, free: 1.949 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.1781, allocations: 65.58 kB / 1.465 GB, free: 1.867 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.1783, allocations: 31.98 kB / 1.465 GB, free: 1.836 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.779e-06/0.1783, allocations: 4 kB / 1.465 GB, free: 1.832 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000528/0.1788, allocations: 121.4 kB / 1.465 GB, free: 1.707 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.1789, allocations: 4 kB / 1.465 GB, free: 1.703 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.662e-06/0.1789, allocations: 0 / 1.465 GB, free: 1.703 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.1789, allocations: 8.156 kB / 1.465 GB, free: 1.695 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.1791, allocations: 23.92 kB / 1.465 GB, free: 1.672 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.1792, allocations: 0 / 1.465 GB, free: 1.672 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.1793, allocations: 15.98 kB / 1.465 GB, free: 1.656 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.1793, allocations: 4 kB / 1.465 GB, free: 1.652 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.blindState,bli.blindState,$PRE.bli.pDown,bli.pDown,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 (11): * Single equations (assignments): 11 * 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.0001126/0.1795, allocations: 126.2 kB / 1.465 GB, free: 1.52 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.251e-05/0.1795, allocations: 7.906 kB / 1.465 GB, free: 1.512 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.423e-05/0.1796, allocations: 12.38 kB / 1.465 GB, free: 1.504 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.694e-06/0.1796, allocations: 0 / 1.465 GB, free: 1.504 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.982e-06/0.1796, allocations: 3.953 kB / 1.465 GB, free: 1.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.1796, allocations: 4 kB / 1.465 GB, free: 1.496 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008884/0.1805, allocations: 374.5 kB / 1.466 GB, free: 1.074 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.1806, allocations: 0 / 1.466 GB, free: 1.074 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.984e-05/0.1807, allocations: 11.98 kB / 1.466 GB, free: 1.062 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.782e-06/0.1807, allocations: 0 / 1.466 GB, free: 1.062 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/0.1807, allocations: 7.891 kB / 1.466 GB, free: 1.055 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.33e-06/0.1808, allocations: 0 / 1.466 GB, free: 1.055 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.033e-06/0.1808, allocations: 4 kB / 1.466 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006324/0.1814, allocations: 223.8 kB / 1.466 GB, free: 0.8164 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.84e-05/0.1815, allocations: 85.02 kB / 1.466 GB, free: 0.7148 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.517e-05/0.1816, allocations: 0 / 1.466 GB, free: 0.7148 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.1818, allocations: 7.953 kB / 1.466 GB, free: 0.707 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.322e-05/0.1819, allocations: 7.984 kB / 1.466 GB, free: 0.6992 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.162e-05/0.1819, allocations: 0 / 1.466 GB, free: 0.6992 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001123/0.1821, allocations: 99.42 kB / 1.466 GB, free: 0.6016 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.84e-07/0.1821, allocations: 0 / 1.466 GB, free: 0.6016 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007804/0.1829, allocations: 35.98 kB / 1.466 GB, free: 0.5664 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: 6 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pDown,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0005797/0.1835, allocations: 169.2 kB / 1.466 GB, free: 412 kB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004718/0.184, allocations: 76.03 kB / 1.466 GB, free: 336 kB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.402e-06/0.184, allocations: 0 / 1.466 GB, free: 336 kB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002367/0.1843, allocations: 39.97 kB / 1.467 GB, free: 296 kB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005967/0.1849, allocations: 10.23 kB / 1.467 GB, free: 288 kB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007227/0.1856, allocations: 211.3 kB / 1.467 GB, free: 52 kB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000493/0.1861, allocations: 0.6887 MB / 1.467 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8e-05/0.1863, allocations: 12.25 kB / 1.467 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.38e-05/0.1863, allocations: 11.44 kB / 1.467 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of SimCode: time 2.22e-06/0.1863, allocations: 0 / 1.467 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of Templates: time 0.008219/0.1946, allocations: 1.337 MB / 1.469 GB, free: 13.99 MB / 0.6198 GB