Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.642/2.642, allocations: 287.9 MB / 302.9 MB, free: 8.348 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.001468/0.001468, allocations: 175 kB / 371.4 MB, free: 10.66 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.364/2.364, allocations: 205.4 MB / 0.6301 GB, free: 10.38 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.001045/0.001045, allocations: 89.7 kB / 0.7434 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007732/0.0007736, allocations: 11 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2122, allocations: 115.3 MB / 0.9788 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.001463/0.2138, allocations: 1.191 MB / 0.9799 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001178/0.215, allocations: 0.7231 MB / 0.9806 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.1e-05/0.2151, allocations: 0 / 0.9806 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.297e-05/0.2151, allocations: 7.922 kB / 0.9806 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.966e-05/0.2152, allocations: 15.92 kB / 0.9806 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004888/0.2157, allocations: 87.7 kB / 0.9807 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.142e-05/0.2158, allocations: 47.92 kB / 0.9808 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.672e-05/0.2159, allocations: 12 kB / 0.9808 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.578e-05/0.216, allocations: 31.91 kB / 0.9808 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.708e-05/0.216, allocations: 35.83 kB / 0.9808 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.2161, allocations: 0 / 0.9808 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001631/0.2162, allocations: 71.88 kB / 0.9809 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.224e-05/0.2163, allocations: 19.91 kB / 0.9809 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.061e-05/0.2163, allocations: 29.7 kB / 0.981 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.2165, allocations: 100 kB / 0.9811 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.144e-06/0.2165, allocations: 0 / 0.9811 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.168e-06/0.2165, allocations: 4 kB / 0.9811 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.435e-06/0.2165, allocations: 0 / 0.9811 GB, free: 25.79 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.0005089/0.2171, allocations: 408.8 kB / 0.9815 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.2171, allocations: 8.031 kB / 0.9815 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.39e-05/0.2172, allocations: 11.86 kB / 0.9815 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.632e-05/0.2173, allocations: 171 kB / 0.9816 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.987e-05/0.2173, allocations: 11.94 kB / 0.9816 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.2173, allocations: 4 kB / 0.9817 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.2175, allocations: 69.66 kB / 0.9817 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.2176, allocations: 0 / 0.9817 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.2176, allocations: 0 / 0.9817 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.023e-06/0.2176, allocations: 0 / 0.9817 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001822/0.2178, allocations: 47.97 kB / 0.9818 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005853/0.2184, allocations: 320.7 kB / 0.9821 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.2186, allocations: 54.5 kB / 0.9821 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.2186, allocations: 8 kB / 0.9821 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002018/0.2188, allocations: 79.56 kB / 0.9822 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.621e-06/0.2188, allocations: 0 / 0.9822 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004532/0.2193, allocations: 153.5 kB / 0.9824 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.2193, allocations: 55.41 kB / 0.9824 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.652e-05/0.2194, allocations: 125.7 kB / 0.9825 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.2195, allocations: 29.7 kB / 0.9826 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.154e-05/0.2195, allocations: 88.33 kB / 0.9826 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.2195, allocations: 19.73 kB / 0.9827 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.198e-06/0.2196, allocations: 4 kB / 0.9827 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.215e-05/0.2196, allocations: 318.8 kB / 0.983 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.2197, allocations: 27.98 kB / 0.983 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.2199, allocations: 50.55 kB / 0.983 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.22, allocations: 43.97 kB / 0.9831 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.652e-06/0.22, allocations: 0 / 0.9831 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002982/0.2203, allocations: 117.4 kB / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.2203, allocations: 4 kB / 0.9832 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.681e-06/0.2204, allocations: 7.984 kB / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.2204, allocations: 3.938 kB / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.2205, allocations: 16 kB / 0.9832 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.2205, allocations: 15.94 kB / 0.9832 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.92e-05/0.2206, allocations: 4 kB / 0.9832 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.2207, allocations: 4 kB / 0.9832 GB, free: 23.32 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.579e-05/0.2207, allocations: 113.8 kB / 0.9834 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.136e-05/0.2208, allocations: 7.906 kB / 0.9834 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.676e-05/0.2208, allocations: 12.36 kB / 0.9834 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.62e-06/0.2208, allocations: 0 / 0.9834 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.756e-06/0.2208, allocations: 8 kB / 0.9834 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.843e-06/0.2209, allocations: 3.953 kB / 0.9834 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004861/0.2213, allocations: 386.4 kB / 0.9838 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.2214, allocations: 0 / 0.9838 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.492e-05/0.2214, allocations: 4 kB / 0.9838 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.886e-06/0.2215, allocations: 0 / 0.9838 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.2215, allocations: 11.98 kB / 0.9838 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.015e-06/0.2215, allocations: 3.953 kB / 0.9838 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.681e-06/0.2215, allocations: 0 / 0.9838 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000329/0.2218, allocations: 211.4 kB / 0.984 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.281e-05/0.2219, allocations: 81.02 kB / 0.9841 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.2219, allocations: 19.98 kB / 0.9841 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.222, allocations: 4 kB / 0.9841 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.153e-05/0.2221, allocations: 7.938 kB / 0.9841 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.2221, allocations: 4 kB / 0.9841 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.419e-05/0.2222, allocations: 91.27 kB / 0.9842 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.61e-07/0.2222, allocations: 0 / 0.9842 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003924/0.2226, allocations: 36 kB / 0.9842 GB, free: 22.24 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.0003531/0.223, allocations: 172.3 kB / 0.9844 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002797/0.2233, allocations: 75.89 kB / 0.9844 GB, free: 22 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.761e-06/0.2233, allocations: 0 / 0.9844 GB, free: 22 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.2234, allocations: 48.09 kB / 0.9845 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002073/0.2236, allocations: 3.938 kB / 0.9845 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000384/0.224, allocations: 201.1 kB / 0.9847 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/0.2242, allocations: 0.6965 MB / 0.9854 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.203e-05/0.2242, allocations: 4.172 kB / 0.9854 GB, free: 21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.153e-05/0.2243, allocations: 11.44 kB / 0.9854 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of SimCode: time 1.342e-06/0.2243, allocations: 0 / 0.9854 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of Templates: time 0.00445/0.2287, allocations: 1.333 MB / 0.9867 GB, free: 19.66 MB / 0.6198 GB