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.487/1.487, allocations: 252 MB / 268 MB, free: 10.87 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.001156/0.001156, allocations: 169.6 kB / 327.6 MB, free: 2.117 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.578/1.578, allocations: 205.4 MB / 0.5786 GB, free: 20.17 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.0007879/0.0007879, allocations: 88.86 kB / 0.6832 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003767/0.0003771, allocations: 11.95 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.177, allocations: 106.3 MB / 0.9015 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.001551/0.1786, allocations: 1.215 MB / 0.9026 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.1798, allocations: 0.7642 MB / 0.9034 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.355e-05/0.1799, allocations: 7.938 kB / 0.9034 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.453e-05/0.1799, allocations: 3.984 kB / 0.9034 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.833e-05/0.18, allocations: 7.922 kB / 0.9034 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005098/0.1805, allocations: 103.8 kB / 0.9035 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.433e-05/0.1806, allocations: 71.72 kB / 0.9036 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.285e-05/0.1807, allocations: 11.98 kB / 0.9036 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.907e-05/0.1808, allocations: 31.91 kB / 0.9036 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.035e-05/0.1809, allocations: 35.84 kB / 0.9037 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.1809, allocations: 4 kB / 0.9037 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002096/0.1811, allocations: 91.84 kB / 0.9037 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.483e-05/0.1811, allocations: 15.92 kB / 0.9038 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.616e-05/0.1812, allocations: 53.55 kB / 0.9038 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.1814, allocations: 99.81 kB / 0.9039 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.1814, allocations: 0 / 0.9039 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.973e-06/0.1814, allocations: 0 / 0.9039 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.1814, allocations: 4 kB / 0.9039 GB, free: 61.02 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.0005386/0.182, allocations: 405.3 kB / 0.9043 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.182, allocations: 8.031 kB / 0.9043 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.591e-05/0.1821, allocations: 12.83 kB / 0.9043 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.426e-05/0.1822, allocations: 176.2 kB / 0.9045 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.37e-05/0.1822, allocations: 8.312 kB / 0.9045 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.1822, allocations: 4.375 kB / 0.9045 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.1824, allocations: 77.97 kB / 0.9046 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.1824, allocations: 3.938 kB / 0.9046 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.1824, allocations: 4 kB / 0.9046 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.1824, allocations: 0 / 0.9046 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.1826, allocations: 43.97 kB / 0.9046 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005397/0.1831, allocations: 316.8 kB / 0.9049 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.1833, allocations: 50.55 kB / 0.905 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.954e-05/0.1833, allocations: 44.91 kB / 0.905 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.1834, allocations: 3.984 kB / 0.905 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000196/0.1836, allocations: 83.34 kB / 0.9051 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.502e-06/0.1836, allocations: 3.938 kB / 0.9051 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003569/0.1839, allocations: 145.6 kB / 0.9052 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.184, allocations: 51.41 kB / 0.9053 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.994e-05/0.1841, allocations: 129.7 kB / 0.9054 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.1841, allocations: 33.64 kB / 0.9054 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.786e-05/0.1841, allocations: 88.14 kB / 0.9055 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.1842, allocations: 19.8 kB / 0.9055 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-06/0.1842, allocations: 0 / 0.9055 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.25e-05/0.1842, allocations: 322.8 kB / 0.9059 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.564e-05/0.1843, allocations: 27.98 kB / 0.9059 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.936e-05/0.1844, allocations: 54.55 kB / 0.9059 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.1846, allocations: 86.78 kB / 0.906 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1846, allocations: 0 / 0.906 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002137/0.1848, allocations: 113.5 kB / 0.9061 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.1848, allocations: 19.98 kB / 0.9061 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1848, allocations: 0 / 0.9061 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.1849, allocations: 0 / 0.9061 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.417e-05/0.185, allocations: 12 kB / 0.9062 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.185, allocations: 0 / 0.9062 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.916e-05/0.185, allocations: 15.92 kB / 0.9062 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.1851, allocations: 4 kB / 0.9062 GB, free: 58.46 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.697e-05/0.1851, allocations: 117.8 kB / 0.9063 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.476e-05/0.1852, allocations: 15.84 kB / 0.9063 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.694e-05/0.1852, allocations: 16.36 kB / 0.9063 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1852, allocations: 0 / 0.9063 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.1852, allocations: 0 / 0.9063 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1852, allocations: 0 / 0.9063 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003574/0.1856, allocations: 386.5 kB / 0.9067 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.1856, allocations: 4 kB / 0.9067 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.014e-05/0.1856, allocations: 4 kB / 0.9067 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1857, allocations: 0 / 0.9067 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.1857, allocations: 3.984 kB / 0.9067 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.1857, allocations: 7.938 kB / 0.9067 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1857, allocations: 3.938 kB / 0.9067 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.1859, allocations: 211.4 kB / 0.9069 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.223e-05/0.186, allocations: 85.02 kB / 0.907 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.186, allocations: 7.984 kB / 0.907 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.469e-05/0.1861, allocations: 4 kB / 0.907 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.1861, allocations: 11.92 kB / 0.907 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.926e-06/0.1861, allocations: 0 / 0.907 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.522e-05/0.1862, allocations: 95.27 kB / 0.9071 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1862, allocations: 0 / 0.9071 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002813/0.1865, allocations: 47.88 kB / 0.9071 GB, free: 57.36 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.0003262/0.1868, allocations: 161.1 kB / 0.9073 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002189/0.187, allocations: 79.95 kB / 0.9074 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.187, allocations: 0 / 0.9074 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.169e-05/0.1871, allocations: 44.31 kB / 0.9074 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.1874, allocations: 7.547 kB / 0.9074 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000386/0.1878, allocations: 239.1 kB / 0.9077 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.1879, allocations: 0.6872 MB / 0.9083 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.122e-05/0.188, allocations: 19.42 kB / 0.9083 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of SimCode: time 3.81e-07/0.188, allocations: 0 / 0.9083 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of Templates: time 0.003017/0.191, allocations: 1.599 MB / 0.9099 GB, free: 54.49 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)