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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 99.39 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.722/1.722, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.66/1.66, allocations: 251.9 MB / 0.51 GB, free: 4.816 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005814/0.0005816, allocations: 16 kB / 0.6241 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6736/0.6741, allocations: 106.3 MB / 0.728 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002692/0.6769, allocations: 1.195 MB / 0.7291 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001952/0.6789, allocations: 0.7295 MB / 0.7298 GB, free: 9.465 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.729e-05/0.679, allocations: 0 / 0.7298 GB, free: 9.465 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.07e-05/0.679, allocations: 0 / 0.7298 GB, free: 9.465 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.6791, allocations: 23.91 kB / 0.7299 GB, free: 9.441 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006934/0.6799, allocations: 91.69 kB / 0.73 GB, free: 9.352 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.68, allocations: 43.89 kB / 0.73 GB, free: 9.309 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.6801, allocations: 7.984 kB / 0.73 GB, free: 9.301 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.6803, allocations: 35.91 kB / 0.73 GB, free: 9.266 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.6804, allocations: 27.91 kB / 0.7301 GB, free: 9.238 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.6804, allocations: 0 / 0.7301 GB, free: 9.238 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002826/0.6807, allocations: 75.86 kB / 0.7301 GB, free: 9.164 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.204e-05/0.6808, allocations: 15.98 kB / 0.7302 GB, free: 9.148 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.834e-05/0.6808, allocations: 33.64 kB / 0.7302 GB, free: 9.109 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000255/0.6811, allocations: 109.7 kB / 0.7303 GB, free: 9.004 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.6811, allocations: 0 / 0.7303 GB, free: 9.004 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.844e-06/0.6811, allocations: 0 / 0.7303 GB, free: 9.004 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.056e-05/0.6812, allocations: 0 / 0.7303 GB, free: 9.004 MB / 0.545 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.0008487/0.682, allocations: 404.8 kB / 0.7307 GB, free: 8.555 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.6821, allocations: 12.03 kB / 0.7307 GB, free: 8.543 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.337e-05/0.6822, allocations: 11.86 kB / 0.7307 GB, free: 8.531 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.6824, allocations: 174.9 kB / 0.7309 GB, free: 8.32 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.013e-05/0.6824, allocations: 8 kB / 0.7309 GB, free: 8.312 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.336e-05/0.6825, allocations: 8 kB / 0.7309 GB, free: 8.305 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003077/0.6828, allocations: 69.64 kB / 0.7309 GB, free: 8.23 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.6828, allocations: 0 / 0.7309 GB, free: 8.23 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.507e-05/0.6829, allocations: 0 / 0.7309 GB, free: 8.23 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.6829, allocations: 3.938 kB / 0.731 GB, free: 8.227 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002457/0.6831, allocations: 47.97 kB / 0.731 GB, free: 8.18 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009305/0.6841, allocations: 316.8 kB / 0.7313 GB, free: 7.82 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001889/0.6843, allocations: 54.5 kB / 0.7314 GB, free: 7.758 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.052e-05/0.6843, allocations: 4 kB / 0.7314 GB, free: 7.754 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002978/0.6846, allocations: 79.44 kB / 0.7314 GB, free: 7.664 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 2.164e-06/0.6847, allocations: 4 kB / 0.7314 GB, free: 7.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0006609/0.6853, allocations: 157.5 kB / 0.7316 GB, free: 7.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.858e-05/0.6854, allocations: 55.41 kB / 0.7316 GB, free: 7.434 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.6856, allocations: 117.8 kB / 0.7318 GB, free: 7.309 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.6856, allocations: 29.7 kB / 0.7318 GB, free: 7.273 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.145e-05/0.6857, allocations: 96.31 kB / 0.7319 GB, free: 7.176 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/0.6858, allocations: 11.81 kB / 0.7319 GB, free: 7.164 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.286e-05/0.6858, allocations: 4 kB / 0.7319 GB, free: 7.16 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001774/0.686, allocations: 322.8 kB / 0.7322 GB, free: 6.836 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.6861, allocations: 27.92 kB / 0.7322 GB, free: 6.809 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001797/0.6863, allocations: 58.55 kB / 0.7323 GB, free: 6.742 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.6865, allocations: 32 kB / 0.7323 GB, free: 6.711 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.6865, allocations: 0 / 0.7323 GB, free: 6.711 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004576/0.687, allocations: 121.5 kB / 0.7324 GB, free: 6.586 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.687, allocations: 4 kB / 0.7324 GB, free: 6.582 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.6871, allocations: 4 kB / 0.7324 GB, free: 6.578 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.6871, allocations: 0 / 0.7324 GB, free: 6.578 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.6873, allocations: 11.98 kB / 0.7324 GB, free: 6.566 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/0.6873, allocations: 7.953 kB / 0.7325 GB, free: 6.559 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.6874, allocations: 15.84 kB / 0.7325 GB, free: 6.543 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.148e-05/0.6875, allocations: 7.984 kB / 0.7325 GB, free: 6.535 MB / 0.545 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 0.0001564/0.6877, allocations: 124.9 kB / 0.7326 GB, free: 6.406 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.6877, allocations: 4 kB / 0.7326 GB, free: 6.402 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.201e-05/0.6878, allocations: 8.375 kB / 0.7326 GB, free: 6.395 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.6878, allocations: 0 / 0.7326 GB, free: 6.395 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.6878, allocations: 4 kB / 0.7326 GB, free: 6.391 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.6878, allocations: 3.953 kB / 0.7326 GB, free: 6.387 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000791/0.6886, allocations: 386.4 kB / 0.733 GB, free: 5.953 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.6886, allocations: 0 / 0.733 GB, free: 5.953 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.086e-05/0.6887, allocations: 7.984 kB / 0.733 GB, free: 5.945 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/0.6887, allocations: 0 / 0.733 GB, free: 5.945 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.6888, allocations: 7.938 kB / 0.733 GB, free: 5.938 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.6888, allocations: 3.953 kB / 0.733 GB, free: 5.934 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.6888, allocations: 0 / 0.733 GB, free: 5.934 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005163/0.6893, allocations: 219.4 kB / 0.7332 GB, free: 5.703 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.429e-05/0.6894, allocations: 77.11 kB / 0.7333 GB, free: 5.609 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.05e-05/0.6895, allocations: 8 kB / 0.7333 GB, free: 5.602 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.6896, allocations: 7.984 kB / 0.7333 GB, free: 5.594 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.614e-05/0.6897, allocations: 3.953 kB / 0.7333 GB, free: 5.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.6898, allocations: 11.88 kB / 0.7333 GB, free: 5.578 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.464e-05/0.6899, allocations: 95.27 kB / 0.7334 GB, free: 5.484 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.91e-07/0.6899, allocations: 0 / 0.7334 GB, free: 5.484 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005968/0.6905, allocations: 43.92 kB / 0.7334 GB, free: 5.441 MB / 0.545 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.0006311/0.6911, allocations: 167.7 kB / 0.7336 GB, free: 5.289 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004577/0.6916, allocations: 75.91 kB / 0.7337 GB, free: 5.215 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.6916, allocations: 0 / 0.7337 GB, free: 5.215 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001802/0.6918, allocations: 44.11 kB / 0.7337 GB, free: 5.172 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.6922, allocations: 4.75 kB / 0.7337 GB, free: 5.168 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007283/0.6929, allocations: 205.2 kB / 0.7339 GB, free: 4.938 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005264/0.6934, allocations: 0.6965 MB / 0.7346 GB, free: 4.215 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.61e-05/0.6935, allocations: 8.172 kB / 0.7346 GB, free: 4.207 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.264e-05/0.6936, allocations: 7.438 kB / 0.7346 GB, free: 4.203 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.6936, allocations: 4 kB / 0.7346 GB, free: 4.199 MB / 0.545 GB Notification: Performance of Templates: time 0.004907/0.6985, allocations: 1.33 MB / 0.7359 GB, free: 2.879 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: