Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.679/2.679, allocations: 287.9 MB / 302.9 MB, free: 8.219 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.001434/0.001433, allocations: 173.1 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.088/2.088, allocations: 205.4 MB / 0.6301 GB, free: 10.43 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.001034/0.001034, allocations: 93.14 kB / 0.7434 GB, free: 6.449 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004698/0.00047, allocations: 12 kB / 0.8662 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1886, allocations: 115.3 MB / 0.9788 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.001488/0.1902, allocations: 1.191 MB / 0.9799 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.1914, allocations: 0.727 MB / 0.9806 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.881e-05/0.1915, allocations: 3.938 kB / 0.9806 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.607e-05/0.1915, allocations: 0 / 0.9806 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.852e-05/0.1916, allocations: 7.984 kB / 0.9806 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004814/0.1921, allocations: 95.69 kB / 0.9807 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.105e-05/0.1922, allocations: 43.94 kB / 0.9808 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.414e-05/0.1923, allocations: 19.92 kB / 0.9808 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.652e-05/0.1924, allocations: 27.92 kB / 0.9808 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.667e-05/0.1925, allocations: 31.83 kB / 0.9808 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.1925, allocations: 4 kB / 0.9808 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001678/0.1927, allocations: 75.86 kB / 0.9809 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.103e-05/0.1927, allocations: 15.92 kB / 0.9809 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.325e-05/0.1928, allocations: 29.7 kB / 0.981 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.1929, allocations: 100 kB / 0.9811 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.913e-06/0.193, allocations: 4 kB / 0.9811 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.124e-06/0.193, allocations: 0 / 0.9811 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.295e-06/0.193, 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.0005197/0.1935, allocations: 408.8 kB / 0.9815 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.1936, allocations: 11.97 kB / 0.9815 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.282e-05/0.1936, allocations: 11.86 kB / 0.9815 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.593e-05/0.1937, allocations: 171 kB / 0.9816 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.044e-05/0.1938, allocations: 8 kB / 0.9816 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.1938, allocations: 4 kB / 0.9817 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.194, allocations: 77.58 kB / 0.9817 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.233e-06/0.194, allocations: 0 / 0.9817 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.1941, allocations: 4 kB / 0.9817 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.157e-06/0.1941, allocations: 0 / 0.9817 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001646/0.1943, allocations: 47.97 kB / 0.9818 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005842/0.1949, allocations: 320.6 kB / 0.9821 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.195, allocations: 54.56 kB / 0.9821 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.434e-05/0.1951, allocations: 3.984 kB / 0.9821 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002003/0.1953, allocations: 71.52 kB / 0.9822 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 4.171e-06/0.1953, allocations: 0 / 0.9822 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004596/0.1958, allocations: 157.5 kB / 0.9824 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.1958, allocations: 51.41 kB / 0.9824 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.231e-05/0.1959, allocations: 121.8 kB / 0.9825 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.1959, allocations: 33.69 kB / 0.9826 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.143e-05/0.196, allocations: 88.33 kB / 0.9826 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.364e-05/0.196, allocations: 23.81 kB / 0.9827 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.251e-06/0.196, allocations: 0 / 0.9827 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.458e-05/0.1961, allocations: 322.8 kB / 0.983 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.1962, allocations: 27.98 kB / 0.983 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.1963, allocations: 50.55 kB / 0.983 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.1965, allocations: 39.94 kB / 0.9831 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.181e-06/0.1965, allocations: 0 / 0.9831 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003094/0.1968, allocations: 113.5 kB / 0.9832 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.872e-05/0.1968, allocations: 4 kB / 0.9832 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.014e-06/0.1969, allocations: 0 / 0.9832 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.1969, allocations: 7.938 kB / 0.9832 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.197, allocations: 24.05 kB / 0.9832 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.505e-06/0.197, allocations: 7.891 kB / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.088e-05/0.1971, allocations: 11.98 kB / 0.9832 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.1972, 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 8.752e-05/0.1973, allocations: 121.8 kB / 0.9834 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.129e-05/0.1973, allocations: 7.906 kB / 0.9834 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.949e-05/0.1973, allocations: 8.375 kB / 0.9834 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.99e-06/0.1974, allocations: 4 kB / 0.9834 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.764e-06/0.1974, allocations: 0 / 0.9834 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.059e-06/0.1974, allocations: 7.938 kB / 0.9834 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005258/0.1979, allocations: 382.5 kB / 0.9838 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.327e-06/0.1979, allocations: 3.984 kB / 0.9838 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.803e-05/0.198, allocations: 7.938 kB / 0.9838 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.965e-06/0.198, allocations: 4 kB / 0.9838 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.1981, allocations: 0 / 0.9838 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.065e-06/0.1981, allocations: 7.953 kB / 0.9838 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.1981, allocations: 0 / 0.9838 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000327/0.1984, allocations: 211.9 kB / 0.984 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.558e-05/0.1985, allocations: 85.02 kB / 0.9841 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.1985, allocations: 4 kB / 0.9841 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.1986, allocations: 7.984 kB / 0.9841 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/0.1987, allocations: 7.953 kB / 0.9841 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.1987, allocations: 7.984 kB / 0.9841 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.659e-05/0.1988, allocations: 87.28 kB / 0.9842 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.4e-07/0.1988, allocations: 0 / 0.9842 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004017/0.1992, allocations: 39.98 kB / 0.9842 GB, free: 22.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: 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.0003888/0.1996, allocations: 171.8 kB / 0.9844 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003066/0.1999, allocations: 79.88 kB / 0.9844 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.309e-06/0.1999, allocations: 4.125 kB / 0.9845 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.2001, allocations: 39.92 kB / 0.9845 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.2003, 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.0004222/0.2007, allocations: 201.1 kB / 0.9847 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.2009, allocations: 0.6887 MB / 0.9854 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.193e-05/0.201, allocations: 8.172 kB / 0.9854 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.203e-05/0.201, allocations: 11.44 kB / 0.9854 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of SimCode: time 1.498e-06/0.201, allocations: 0 / 0.9854 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of Templates: time 0.004553/0.2056, allocations: 1.339 MB / 0.9867 GB, free: 19.68 MB / 0.6198 GB