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.418/1.418, allocations: 252 MB / 267.6 MB, free: 10.98 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.00109/0.00109, allocations: 190 kB / 327.3 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.075/2.075, allocations: 205.4 MB / 0.5783 GB, free: 20.3 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.0007142/0.0007143, allocations: 97.41 kB / 0.6829 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003784/0.0003786, allocations: 9.562 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1772, allocations: 106.3 MB / 0.9008 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.001414/0.1787, allocations: 1.204 MB / 0.902 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009039/0.1796, allocations: 0.7334 MB / 0.9027 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.293e-05/0.1796, allocations: 0 / 0.9027 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.479e-05/0.1796, allocations: 3.938 kB / 0.9027 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.499e-05/0.1797, allocations: 7.938 kB / 0.9027 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003817/0.1801, allocations: 91.77 kB / 0.9028 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.232e-05/0.1802, allocations: 67.77 kB / 0.9029 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.024e-05/0.1803, allocations: 19.94 kB / 0.9029 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.704e-05/0.1803, allocations: 27.91 kB / 0.9029 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.984e-05/0.1804, allocations: 31.89 kB / 0.903 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.1804, allocations: 7.938 kB / 0.903 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.1806, allocations: 83.91 kB / 0.903 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.65e-05/0.1806, allocations: 19.91 kB / 0.9031 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.834e-05/0.1806, allocations: 37.64 kB / 0.9031 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.1807, allocations: 87.83 kB / 0.9032 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1808, allocations: 4 kB / 0.9032 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1808, allocations: 0 / 0.9032 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.1808, allocations: 4 kB / 0.9032 GB, free: 61.5 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.0004675/0.1813, allocations: 405.1 kB / 0.9036 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.943e-05/0.1813, allocations: 12.02 kB / 0.9036 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.425e-05/0.1813, allocations: 15.86 kB / 0.9036 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.555e-05/0.1814, allocations: 178.8 kB / 0.9038 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.1814, allocations: 4 kB / 0.9038 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.1815, allocations: 4 kB / 0.9038 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.1816, allocations: 73.66 kB / 0.9038 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.1817, allocations: 0 / 0.9038 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.1817, allocations: 3.938 kB / 0.9039 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1817, allocations: 0 / 0.9039 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.1818, allocations: 47.97 kB / 0.9039 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004857/0.1823, allocations: 320.7 kB / 0.9042 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.1824, allocations: 54.55 kB / 0.9043 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.442e-05/0.1825, allocations: 32.97 kB / 0.9043 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.1825, allocations: 4 kB / 0.9043 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001548/0.1827, allocations: 83.38 kB / 0.9044 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/0.1827, allocations: 4 kB / 0.9044 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003334/0.1831, allocations: 153.7 kB / 0.9045 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.244e-05/0.1831, allocations: 51.41 kB / 0.9046 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.345e-05/0.1832, allocations: 125.8 kB / 0.9047 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.1832, allocations: 25.7 kB / 0.9047 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.879e-05/0.1832, allocations: 92.33 kB / 0.9048 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.385e-05/0.1832, allocations: 15.8 kB / 0.9048 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-06/0.1832, allocations: 0 / 0.9048 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.915e-05/0.1833, allocations: 318.8 kB / 0.9051 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.351e-05/0.1834, allocations: 27.98 kB / 0.9051 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.538e-05/0.1834, allocations: 54.55 kB / 0.9052 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.124e-05/0.1835, allocations: 39.98 kB / 0.9052 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1835, allocations: 0 / 0.9052 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001976/0.1837, allocations: 121.5 kB / 0.9054 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.1838, allocations: 14.03 kB / 0.9054 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1838, allocations: 0 / 0.9054 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.1838, allocations: 0 / 0.9054 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.889e-05/0.1839, allocations: 19.94 kB / 0.9054 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.1839, allocations: 0 / 0.9054 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.475e-05/0.184, allocations: 15.78 kB / 0.9054 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.184, allocations: 8 kB / 0.9054 GB, free: 58.99 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,$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 6.012e-05/0.1841, allocations: 121.8 kB / 0.9055 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.281e-05/0.1841, allocations: 11.92 kB / 0.9055 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.313e-05/0.1841, allocations: 8.375 kB / 0.9055 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1841, allocations: 0 / 0.9055 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.1841, allocations: 3.953 kB / 0.9055 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1841, allocations: 0 / 0.9055 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003285/0.1845, allocations: 386.4 kB / 0.9059 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1845, allocations: 0 / 0.9059 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.018e-05/0.1845, allocations: 8 kB / 0.9059 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1845, allocations: 0 / 0.9059 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.1845, allocations: 7.938 kB / 0.9059 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1845, allocations: 3.938 kB / 0.9059 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1845, allocations: 0 / 0.9059 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002199/0.1848, allocations: 215.4 kB / 0.9061 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.92e-05/0.1848, allocations: 81.11 kB / 0.9062 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.1848, allocations: 3.984 kB / 0.9062 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.767e-05/0.1849, allocations: 7.953 kB / 0.9062 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.185, allocations: 7.984 kB / 0.9062 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.185, allocations: 4 kB / 0.9062 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.017e-05/0.185, allocations: 91.92 kB / 0.9063 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.185, allocations: 4 kB / 0.9063 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002503/0.1853, allocations: 39.94 kB / 0.9064 GB, free: 57.9 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 (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.0003189/0.1856, allocations: 166.2 kB / 0.9065 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002112/0.1858, allocations: 83.83 kB / 0.9066 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1858, allocations: 0 / 0.9066 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.894e-05/0.1859, allocations: 40.31 kB / 0.9066 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.1862, allocations: 11.98 kB / 0.9067 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003164/0.1865, allocations: 230.9 kB / 0.9069 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.627e-05/0.1866, allocations: 0.6887 MB / 0.9076 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.554e-05/0.1866, allocations: 11.44 kB / 0.9076 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of SimCode: time 3.01e-07/0.1866, allocations: 0 / 0.9076 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of Templates: time 0.00266/0.1893, allocations: 1.613 MB / 0.9091 GB, free: 55.02 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)