Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.869/2.869, allocations: 287.9 MB / 302.9 MB, free: 8.363 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.002144/0.002144, allocations: 191 kB / 371.4 MB, free: 10.68 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.021/2.021, allocations: 205.4 MB / 0.6301 GB, free: 10.39 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.001018/0.001018, allocations: 96.11 kB / 0.7434 GB, free: 6.406 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004828/0.0004831, allocations: 19.2 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1816, allocations: 115.3 MB / 0.9788 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.00256/0.1842, allocations: 1.274 MB / 0.98 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002269/0.1866, allocations: 0.7766 MB / 0.9808 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.1867, allocations: 0 / 0.9808 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.951e-05/0.1868, allocations: 3.938 kB / 0.9808 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001409/0.187, allocations: 15.97 kB / 0.9808 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008431/0.1878, allocations: 123.6 kB / 0.9809 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.188, allocations: 71.91 kB / 0.981 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.1882, allocations: 19.91 kB / 0.981 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001642/0.1884, allocations: 43.91 kB / 0.981 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001754/0.1886, allocations: 67.78 kB / 0.9811 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.787e-05/0.1886, allocations: 7.938 kB / 0.9811 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002686/0.1889, allocations: 71.92 kB / 0.9812 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.675e-05/0.189, allocations: 27.91 kB / 0.9812 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.092e-05/0.189, allocations: 41.64 kB / 0.9812 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003314/0.1894, allocations: 139.9 kB / 0.9814 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.13e-06/0.1894, allocations: 0 / 0.9814 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.883e-06/0.1894, allocations: 0 / 0.9814 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.32e-06/0.1895, allocations: 4 kB / 0.9814 GB, free: 25.48 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009482/0.1904, allocations: 458.4 kB / 0.9818 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.1905, allocations: 8.031 kB / 0.9818 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.76e-05/0.1906, allocations: 15.91 kB / 0.9818 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.1908, allocations: 189 kB / 0.982 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.214e-05/0.1908, allocations: 4 kB / 0.982 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.427e-05/0.1909, allocations: 8 kB / 0.982 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004815/0.1914, allocations: 97.62 kB / 0.9821 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.1914, allocations: 4 kB / 0.9821 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.852e-05/0.1915, allocations: 0 / 0.9821 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.518e-06/0.1915, allocations: 7.922 kB / 0.9821 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004764/0.192, allocations: 75.89 kB / 0.9822 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001487/0.1935, allocations: 376.6 kB / 0.9826 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003719/0.1939, allocations: 74.55 kB / 0.9826 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.565e-05/0.194, allocations: 4 kB / 0.9826 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004757/0.1945, allocations: 107.3 kB / 0.9827 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 5.794e-06/0.1945, allocations: 4 kB / 0.9827 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.001221/0.1957, allocations: 233.3 kB / 0.983 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.1958, allocations: 59.55 kB / 0.983 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.196, allocations: 146.8 kB / 0.9832 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.393e-05/0.1961, allocations: 29.7 kB / 0.9832 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.188e-05/0.1962, allocations: 96.38 kB / 0.9833 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.706e-05/0.1962, allocations: 27.64 kB / 0.9833 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.792e-05/0.1963, allocations: 0 / 0.9833 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.282e-05/0.1964, allocations: 322.8 kB / 0.9836 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002702/0.1967, allocations: 43.98 kB / 0.9836 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003066/0.197, allocations: 84.19 kB / 0.9837 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003397/0.1974, allocations: 55.98 kB / 0.9838 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.793e-06/0.1974, allocations: 4 kB / 0.9838 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0008241/0.1982, allocations: 157.4 kB / 0.9839 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/0.1983, allocations: 4 kB / 0.9839 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.1983, allocations: 4 kB / 0.9839 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.658e-05/0.1984, allocations: 8.078 kB / 0.984 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002995/0.1987, allocations: 19.98 kB / 0.984 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/0.1987, allocations: 3.953 kB / 0.984 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/0.1989, allocations: 12 kB / 0.984 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.931e-05/0.199, allocations: 7.984 kB / 0.984 GB, free: 22.55 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,win.occ,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001565/0.1992, allocations: 133.7 kB / 0.9841 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.407e-05/0.1992, allocations: 11.81 kB / 0.9841 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.35e-05/0.1993, allocations: 12.72 kB / 0.9841 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.15e-06/0.1993, allocations: 112 / 0.9841 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.51e-06/0.1993, allocations: 3.938 kB / 0.9841 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.1993, allocations: 7.938 kB / 0.9842 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/0.2004, allocations: 466.4 kB / 0.9846 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.266e-06/0.2005, allocations: 480 / 0.9846 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.2006, allocations: 8 kB / 0.9846 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.27e-06/0.2006, allocations: 0 / 0.9846 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/0.2007, allocations: 7.984 kB / 0.9846 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.473e-06/0.2007, allocations: 3.953 kB / 0.9846 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.8e-06/0.2007, allocations: 3.938 kB / 0.9846 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008367/0.2016, allocations: 275.3 kB / 0.9849 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.881e-05/0.2017, allocations: 92.91 kB / 0.985 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.203e-05/0.2017, allocations: 0 / 0.985 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003272/0.2021, allocations: 16 kB / 0.985 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.082e-05/0.2022, allocations: 11.94 kB / 0.985 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.321e-05/0.2022, allocations: 3.984 kB / 0.985 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001112/0.2024, allocations: 106.1 kB / 0.9851 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.036e-06/0.2024, allocations: 3.938 kB / 0.9851 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007794/0.2032, allocations: 47.98 kB / 0.9852 GB, free: 21.26 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: 7 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0005555/0.2038, allocations: 172.9 kB / 0.9853 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007531/0.2045, allocations: 115.9 kB / 0.9854 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.345e-06/0.2046, allocations: 192 / 0.9854 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003282/0.2049, allocations: 67.91 kB / 0.9855 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004299/0.2054, allocations: 12.22 kB / 0.9855 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008397/0.2062, allocations: 257.2 kB / 0.9858 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001765/0.2064, allocations: 0.7043 MB / 0.9864 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001364/0.2066, allocations: 8 kB / 0.9864 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.297e-05/0.2067, allocations: 15.42 kB / 0.9865 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of SimCode: time 2.127e-06/0.2067, allocations: 0 / 0.9865 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of Templates: time 0.008941/0.2157, allocations: 1.779 MB / 0.9882 GB, free: 18.1 MB / 0.6198 GB