Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.455/1.455, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001062/0.001062, allocations: 174.5 kB / 326.5 MB, free: 2.715 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.823/1.823, allocations: 205 MB / 0.5766 GB, free: 21.05 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008556/0.0008554, allocations: 90.05 kB / 0.6804 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003166/0.0003166, allocations: 15.83 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.1781, allocations: 105.4 MB / 0.8967 GB, free: 68.22 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.001639/0.1798, allocations: 1.227 MB / 0.8979 GB, free: 66.98 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.1809, allocations: 0.789 MB / 0.8987 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.499e-05/0.181, allocations: 4 kB / 0.8987 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.318e-05/0.181, allocations: 0 / 0.8987 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.161e-05/0.1811, allocations: 3.938 kB / 0.8987 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004742/0.1816, allocations: 103.8 kB / 0.8988 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.947e-05/0.1817, allocations: 75.7 kB / 0.8989 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.123e-05/0.1817, allocations: 12 kB / 0.8989 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.507e-05/0.1818, allocations: 31.91 kB / 0.8989 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.934e-05/0.1819, allocations: 35.83 kB / 0.899 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.1819, allocations: 4 kB / 0.899 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001831/0.1821, allocations: 91.84 kB / 0.8991 GB, free: 65.83 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.302e-05/0.1821, allocations: 11.97 kB / 0.8991 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.738e-05/0.1822, allocations: 31.8 kB / 0.8991 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001638/0.1824, allocations: 103.8 kB / 0.8992 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1824, allocations: 0 / 0.8992 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.134e-06/0.1824, allocations: 0 / 0.8992 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.1824, allocations: 3.938 kB / 0.8992 GB, free: 65.68 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.0004902/0.1829, allocations: 409 kB / 0.8996 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.1829, allocations: 8.031 kB / 0.8996 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.173e-05/0.183, allocations: 8.844 kB / 0.8996 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.152e-05/0.1831, allocations: 168.3 kB / 0.8998 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.646e-05/0.1831, allocations: 4.375 kB / 0.8998 GB, free: 65 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.1831, allocations: 8.375 kB / 0.8998 GB, free: 65 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.1833, allocations: 77.91 kB / 0.8999 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.1833, allocations: 0 / 0.8999 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.1833, allocations: 3.984 kB / 0.8999 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1833, allocations: 4 kB / 0.8999 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.1835, allocations: 35.98 kB / 0.8999 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005166/0.184, allocations: 328.7 kB / 0.9002 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.1841, allocations: 62.44 kB / 0.9003 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.414e-05/0.1842, allocations: 36.97 kB / 0.9003 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.1842, allocations: 0 / 0.9003 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001618/0.1844, allocations: 83.28 kB / 0.9004 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.1844, allocations: 0 / 0.9004 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003487/0.1848, allocations: 141.6 kB / 0.9005 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.1848, allocations: 63.33 kB / 0.9006 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.926e-05/0.1849, allocations: 121.8 kB / 0.9007 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.1849, allocations: 25.7 kB / 0.9007 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.395e-05/0.1849, allocations: 100.2 kB / 0.9008 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.59e-05/0.1849, allocations: 7.812 kB / 0.9008 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.578e-05/0.185, allocations: 17.72 kB / 0.9008 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.675e-05/0.185, allocations: 330.8 kB / 0.9012 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.443e-05/0.1851, allocations: 27.98 kB / 0.9012 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.656e-05/0.1852, allocations: 50.55 kB / 0.9012 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.1853, allocations: 78.5 kB / 0.9013 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1853, allocations: 4 kB / 0.9013 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002079/0.1856, allocations: 117.6 kB / 0.9014 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.1856, allocations: 8 kB / 0.9014 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1856, allocations: 0 / 0.9014 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.1856, allocations: 7.984 kB / 0.9014 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.704e-05/0.1857, allocations: 11.98 kB / 0.9015 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.1857, allocations: 0 / 0.9015 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.418e-05/0.1858, allocations: 15.92 kB / 0.9015 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.1858, allocations: 4 kB / 0.9015 GB, free: 63.11 MB / 0.6042 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,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.131e-05/0.1859, allocations: 129.7 kB / 0.9016 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.433e-05/0.1859, allocations: 11.84 kB / 0.9016 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.59e-05/0.1859, allocations: 4.375 kB / 0.9016 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1859, allocations: 0 / 0.9016 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.1859, allocations: 3.938 kB / 0.9016 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.1859, allocations: 3.984 kB / 0.9016 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003363/0.1863, allocations: 386.5 kB / 0.902 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1863, allocations: 4 kB / 0.902 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.961e-05/0.1863, allocations: 11.92 kB / 0.902 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.1864, allocations: 0 / 0.902 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.1864, allocations: 4 kB / 0.902 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1864, allocations: 0 / 0.902 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.1864, allocations: 4.406 kB / 0.902 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.1866, allocations: 223.4 kB / 0.9022 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.006e-05/0.1867, allocations: 81.02 kB / 0.9023 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.1867, allocations: 4 kB / 0.9023 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.372e-05/0.1868, allocations: 7.984 kB / 0.9023 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.247e-05/0.1868, allocations: 3.938 kB / 0.9023 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.1868, allocations: 7.984 kB / 0.9023 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.273e-05/0.1869, allocations: 91.28 kB / 0.9024 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1869, allocations: 4 kB / 0.9024 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000268/0.1871, allocations: 35.98 kB / 0.9025 GB, free: 62.01 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 (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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002867/0.1874, allocations: 168 kB / 0.9026 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002055/0.1876, allocations: 79.94 kB / 0.9027 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1877, allocations: 0 / 0.9027 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.767e-05/0.1878, allocations: 39.92 kB / 0.9027 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.188, allocations: 11.88 kB / 0.9027 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000338/0.1883, allocations: 220.8 kB / 0.9029 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001/0.1884, allocations: 0.6848 MB / 0.9036 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.743e-05/0.1885, allocations: 15.42 kB / 0.9036 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.1885, allocations: 0 / 0.9036 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of Templates: time 0.002854/0.1913, allocations: 1.605 MB / 0.9052 GB, free: 59.15 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1)