Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.572/2.572, allocations: 287.9 MB / 302.9 MB, free: 8.34 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00144/0.001439, allocations: 190.1 kB / 371.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.262/2.262, allocations: 205.4 MB / 0.6301 GB, free: 10.4 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001011/0.001011, allocations: 82.98 kB / 0.7434 GB, free: 6.426 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004629/0.0004632, allocations: 15 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1557, allocations: 115.3 MB / 0.9788 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.001492/0.1572, allocations: 1.199 MB / 0.9799 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.1585, allocations: 0.7192 MB / 0.9806 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.863e-05/0.1586, allocations: 0 / 0.9806 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.62e-05/0.1586, allocations: 3.938 kB / 0.9806 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.305e-05/0.1587, allocations: 15.95 kB / 0.9806 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004293/0.1591, allocations: 95.77 kB / 0.9807 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.532e-05/0.1592, allocations: 39.89 kB / 0.9808 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8e-05/0.1593, allocations: 11.98 kB / 0.9808 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.163e-05/0.1594, allocations: 27.91 kB / 0.9808 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.803e-05/0.1595, allocations: 39.83 kB / 0.9809 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.1595, allocations: 4 kB / 0.9809 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001555/0.1597, allocations: 63.88 kB / 0.9809 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.076e-05/0.1597, allocations: 19.92 kB / 0.9809 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.394e-05/0.1598, allocations: 33.7 kB / 0.981 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.1599, allocations: 100 kB / 0.9811 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.699e-06/0.1599, allocations: 0 / 0.9811 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.999e-06/0.16, allocations: 0 / 0.9811 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.365e-06/0.16, allocations: 0 / 0.9811 GB, free: 25.81 MB / 0.6198 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.0004947/0.1605, allocations: 408.8 kB / 0.9815 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.1605, allocations: 8.031 kB / 0.9815 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.216e-05/0.1606, allocations: 15.86 kB / 0.9815 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.842e-05/0.1607, allocations: 171 kB / 0.9816 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.731e-05/0.1607, allocations: 11.88 kB / 0.9816 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.1607, allocations: 8 kB / 0.9817 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.1609, allocations: 65.66 kB / 0.9817 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.206e-06/0.161, allocations: 3.938 kB / 0.9817 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.161, allocations: 0 / 0.9817 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.577e-06/0.161, allocations: 0 / 0.9817 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001616/0.1612, allocations: 51.95 kB / 0.9818 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005869/0.1618, allocations: 324.7 kB / 0.9821 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.1619, allocations: 54.5 kB / 0.9821 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.162, allocations: 7.984 kB / 0.9821 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002002/0.1622, allocations: 75.52 kB / 0.9822 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.57e-06/0.1622, allocations: 0 / 0.9822 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004638/0.1627, allocations: 153.6 kB / 0.9824 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.47e-05/0.1627, allocations: 59.41 kB / 0.9824 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.239e-05/0.1628, allocations: 121.8 kB / 0.9825 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.1629, allocations: 29.69 kB / 0.9826 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.936e-05/0.1629, allocations: 88.33 kB / 0.9826 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.1629, allocations: 19.75 kB / 0.9827 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.43e-06/0.163, allocations: 0 / 0.9827 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.482e-05/0.163, allocations: 322.8 kB / 0.983 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.1631, allocations: 27.98 kB / 0.983 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.1633, allocations: 54.55 kB / 0.9831 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.1634, allocations: 28 kB / 0.9831 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.01e-06/0.1634, allocations: 0 / 0.9831 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003016/0.1637, allocations: 121.8 kB / 0.9832 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.1637, allocations: 12.06 kB / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.99e-06/0.1638, allocations: 0 / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.1638, allocations: 0 / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.1639, allocations: 15.92 kB / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.1639, allocations: 7.953 kB / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.119e-05/0.164, allocations: 15.92 kB / 0.9832 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.1641, allocations: 4 kB / 0.9832 GB, free: 23.34 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.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 7.999e-05/0.1642, allocations: 117.8 kB / 0.9834 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.105e-05/0.1642, allocations: 7.906 kB / 0.9834 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.797e-05/0.1642, allocations: 8.375 kB / 0.9834 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.568e-06/0.1642, allocations: 4 kB / 0.9834 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.347e-06/0.1643, allocations: 0 / 0.9834 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.726e-06/0.1643, allocations: 7.938 kB / 0.9834 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004971/0.1648, allocations: 382.4 kB / 0.9838 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.239e-06/0.1648, allocations: 3.984 kB / 0.9838 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.847e-05/0.1649, allocations: 4 kB / 0.9838 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.912e-06/0.1649, allocations: 4 kB / 0.9838 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.1649, allocations: 3.938 kB / 0.9838 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.789e-06/0.1649, allocations: 3.953 kB / 0.9838 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.017e-06/0.1649, allocations: 0 / 0.9838 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003194/0.1653, allocations: 227.3 kB / 0.984 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.351e-05/0.1653, allocations: 81.02 kB / 0.9841 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.1653, allocations: 4 kB / 0.9841 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.1655, allocations: 7.984 kB / 0.9841 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.445e-05/0.1655, allocations: 7.953 kB / 0.9841 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.1656, allocations: 7.984 kB / 0.9841 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.322e-05/0.1656, allocations: 87.28 kB / 0.9842 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.78e-07/0.1656, allocations: 4 kB / 0.9842 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003918/0.166, allocations: 39.98 kB / 0.9842 GB, free: 22.25 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: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.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.0003677/0.1664, allocations: 161.9 kB / 0.9844 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000285/0.1667, allocations: 88.06 kB / 0.9845 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.782e-06/0.1667, allocations: 0 / 0.9845 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.1669, allocations: 36.14 kB / 0.9845 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.1671, allocations: 4 kB / 0.9845 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000409/0.1675, allocations: 209.3 kB / 0.9847 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/0.1677, allocations: 0.6965 MB / 0.9854 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.944e-05/0.1677, allocations: 4.188 kB / 0.9854 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.094e-05/0.1678, allocations: 7.438 kB / 0.9854 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of SimCode: time 1.628e-06/0.1678, allocations: 0 / 0.9854 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of Templates: time 0.00445/0.1722, allocations: 1.331 MB / 0.9867 GB, free: 19.68 MB / 0.6198 GB