Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.413/1.413, allocations: 251.5 MB / 267.4 MB, free: 10.89 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.001009/0.001009, allocations: 176.4 kB / 326.5 MB, free: 2.668 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.789/1.789, allocations: 205 MB / 0.5766 GB, free: 20.91 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.0007901/0.0007902, allocations: 98.28 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003185/0.0003185, allocations: 8.469 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1796, allocations: 105.4 MB / 0.8967 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.001442/0.1811, allocations: 1.227 MB / 0.8979 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.1822, allocations: 0.7813 MB / 0.8987 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.35e-05/0.1822, allocations: 3.938 kB / 0.8987 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.837e-05/0.1823, allocations: 3.984 kB / 0.8987 GB, free: 66.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.765e-05/0.1823, allocations: 7.938 kB / 0.8987 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003995/0.1827, allocations: 99.77 kB / 0.8988 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.819e-05/0.1828, allocations: 71.72 kB / 0.8989 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.835e-05/0.1829, allocations: 19.98 kB / 0.8989 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.238e-05/0.183, allocations: 27.91 kB / 0.8989 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.357e-05/0.183, allocations: 35.84 kB / 0.899 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.183, allocations: 4 kB / 0.899 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.1832, allocations: 87.84 kB / 0.899 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.1832, allocations: 15.97 kB / 0.8991 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.455e-05/0.1833, allocations: 31.8 kB / 0.8991 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000125/0.1834, allocations: 95.81 kB / 0.8992 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1834, allocations: 4 kB / 0.8992 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.522e-06/0.1834, allocations: 4 kB / 0.8992 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.506e-06/0.1834, allocations: 0 / 0.8992 GB, free: 65.61 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.0004494/0.1839, allocations: 409 kB / 0.8996 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.1839, allocations: 8.031 kB / 0.8996 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.568e-05/0.184, allocations: 8.844 kB / 0.8996 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.482e-05/0.184, allocations: 176.2 kB / 0.8998 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.1841, allocations: 4.375 kB / 0.8998 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.1841, allocations: 16.31 kB / 0.8998 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.1842, allocations: 73.91 kB / 0.8999 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.1843, allocations: 0 / 0.8999 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.1843, allocations: 0 / 0.8999 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.1843, allocations: 3.984 kB / 0.8999 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.1844, allocations: 43.97 kB / 0.8999 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004811/0.1849, allocations: 324.7 kB / 0.9002 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.185, allocations: 58.42 kB / 0.9003 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.174e-05/0.1851, allocations: 40.97 kB / 0.9003 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.1851, allocations: 0 / 0.9003 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001539/0.1853, allocations: 87.27 kB / 0.9004 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.1853, allocations: 0 / 0.9004 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003323/0.1857, allocations: 141.6 kB / 0.9005 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.1857, allocations: 63.34 kB / 0.9006 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.232e-05/0.1858, allocations: 121.7 kB / 0.9007 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.1858, allocations: 29.7 kB / 0.9007 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.948e-05/0.1858, allocations: 88.14 kB / 0.9008 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.481e-05/0.1858, allocations: 19.88 kB / 0.9008 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.51e-05/0.1859, allocations: 21.7 kB / 0.9009 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.925e-05/0.1859, allocations: 322.8 kB / 0.9012 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.375e-05/0.186, allocations: 31.98 kB / 0.9012 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.768e-05/0.1861, allocations: 46.56 kB / 0.9012 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.1862, allocations: 82.48 kB / 0.9013 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1862, allocations: 0 / 0.9013 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001941/0.1864, allocations: 121.5 kB / 0.9014 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.1864, allocations: 6.656 kB / 0.9014 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1865, allocations: 0 / 0.9014 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.1865, allocations: 0 / 0.9014 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.636e-05/0.1866, allocations: 19.98 kB / 0.9015 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.1866, allocations: 0 / 0.9015 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.057e-05/0.1866, allocations: 7.938 kB / 0.9015 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.1867, allocations: 4 kB / 0.9015 GB, free: 63.03 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 5.914e-05/0.1867, allocations: 132.6 kB / 0.9016 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.425e-05/0.1867, allocations: 15.84 kB / 0.9016 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.27e-05/0.1868, allocations: 12.38 kB / 0.9016 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1868, allocations: 0 / 0.9016 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1868, allocations: 0 / 0.9016 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.1868, allocations: 0 / 0.9016 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003179/0.1871, allocations: 390.5 kB / 0.902 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1871, allocations: 0 / 0.902 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.763e-05/0.1872, allocations: 7.984 kB / 0.902 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.1872, allocations: 3.938 kB / 0.902 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.1872, allocations: 3.938 kB / 0.902 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1872, allocations: 0 / 0.902 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1872, allocations: 3.938 kB / 0.902 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.1874, allocations: 215.4 kB / 0.9022 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.892e-05/0.1874, allocations: 89 kB / 0.9023 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.1875, allocations: 0 / 0.9023 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.173e-05/0.1876, allocations: 4 kB / 0.9023 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.308e-05/0.1876, allocations: 11.92 kB / 0.9023 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.1876, allocations: 0 / 0.9023 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.852e-05/0.1876, allocations: 99.27 kB / 0.9024 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1877, allocations: 0 / 0.9024 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002458/0.1879, allocations: 36 kB / 0.9024 GB, free: 61.93 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.0002546/0.1882, allocations: 169.6 kB / 0.9026 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002113/0.1884, allocations: 79.95 kB / 0.9027 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.1884, allocations: 0 / 0.9027 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.399e-05/0.1885, allocations: 39.92 kB / 0.9027 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.1887, allocations: 15.8 kB / 0.9027 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003131/0.189, allocations: 220 kB / 0.9029 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.997e-05/0.1891, allocations: 0.6887 MB / 0.9036 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.437e-05/0.1892, allocations: 11.44 kB / 0.9036 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.1892, allocations: 0 / 0.9036 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of Templates: time 0.002588/0.1918, allocations: 1.603 MB / 0.9052 GB, free: 59.06 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1)