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.0007801/0.0007803, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006278/0.006278, allocations: 171.1 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.392/1.392, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.591/1.591, allocations: 252 MB / 0.5105 GB, free: 4.699 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.0008528/0.0008528, allocations: 12 kB / 0.6249 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4804/0.4812, allocations: 106.3 MB / 0.7287 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.001814/0.4831, allocations: 1.223 MB / 0.7299 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001347/0.4845, allocations: 0.7603 MB / 0.7307 GB, free: 9.301 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.713e-05/0.4845, allocations: 3.938 kB / 0.7307 GB, free: 9.297 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.298e-05/0.4846, allocations: 0 / 0.7307 GB, free: 9.297 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.793e-05/0.4847, allocations: 11.92 kB / 0.7307 GB, free: 9.285 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000515/0.4852, allocations: 107.8 kB / 0.7308 GB, free: 9.18 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000107/0.4853, allocations: 71.72 kB / 0.7308 GB, free: 9.109 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.798e-05/0.4854, allocations: 12 kB / 0.7309 GB, free: 9.098 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.326e-05/0.4855, allocations: 27.91 kB / 0.7309 GB, free: 9.07 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.12e-05/0.4856, allocations: 39.83 kB / 0.7309 GB, free: 9.031 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.4856, allocations: 4 kB / 0.7309 GB, free: 9.027 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001749/0.4858, allocations: 91.84 kB / 0.731 GB, free: 8.938 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.083e-05/0.4858, allocations: 11.98 kB / 0.731 GB, free: 8.926 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.282e-05/0.4859, allocations: 57.48 kB / 0.7311 GB, free: 8.863 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.4861, allocations: 137.6 kB / 0.7312 GB, free: 8.73 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.4861, allocations: 0 / 0.7312 GB, free: 8.73 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4861, allocations: 0 / 0.7312 GB, free: 8.73 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.4861, allocations: 8 kB / 0.7312 GB, free: 8.723 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.0005616/0.4867, allocations: 405 kB / 0.7316 GB, free: 8.273 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.4867, allocations: 8.031 kB / 0.7316 GB, free: 8.266 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.015e-05/0.4868, allocations: 8.844 kB / 0.7316 GB, free: 8.258 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.4869, allocations: 172.2 kB / 0.7318 GB, free: 8.051 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.072e-05/0.4869, allocations: 8.312 kB / 0.7318 GB, free: 8.043 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.487, allocations: 4.375 kB / 0.7318 GB, free: 8.039 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.4872, allocations: 77.97 kB / 0.7319 GB, free: 7.957 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.4872, allocations: 3.938 kB / 0.7319 GB, free: 7.953 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.4872, allocations: 7.984 kB / 0.7319 GB, free: 7.945 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.4872, allocations: 0 / 0.7319 GB, free: 7.945 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.4874, allocations: 39.98 kB / 0.7319 GB, free: 7.906 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006691/0.488, allocations: 324.8 kB / 0.7322 GB, free: 7.539 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.4882, allocations: 50.5 kB / 0.7323 GB, free: 7.48 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.778e-05/0.4883, allocations: 40.97 kB / 0.7323 GB, free: 7.438 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.062e-05/0.4884, allocations: 3.984 kB / 0.7323 GB, free: 7.434 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000236/0.4886, allocations: 79.28 kB / 0.7324 GB, free: 7.344 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.4886, allocations: 0 / 0.7324 GB, free: 7.344 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004655/0.4891, allocations: 149.6 kB / 0.7325 GB, free: 7.191 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.4891, allocations: 55.39 kB / 0.7326 GB, free: 7.125 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.4893, allocations: 125.7 kB / 0.7327 GB, free: 6.992 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.4893, allocations: 29.7 kB / 0.7327 GB, free: 6.957 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.4e-05/0.4894, allocations: 92.12 kB / 0.7328 GB, free: 6.863 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/0.4894, allocations: 19.88 kB / 0.7328 GB, free: 6.844 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.4894, allocations: 21.72 kB / 0.7329 GB, free: 6.816 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.4896, allocations: 318.8 kB / 0.7332 GB, free: 6.496 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.735e-05/0.4897, allocations: 31.98 kB / 0.7332 GB, free: 6.465 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.77e-05/0.4898, allocations: 50.98 kB / 0.7333 GB, free: 6.406 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.49, allocations: 78.5 kB / 0.7333 GB, free: 6.32 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.49, allocations: 0 / 0.7333 GB, free: 6.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000249/0.4902, allocations: 125.8 kB / 0.7334 GB, free: 6.191 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.4903, allocations: 8 kB / 0.7335 GB, free: 6.184 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.4903, allocations: 80 / 0.7335 GB, free: 6.184 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.4903, allocations: 0 / 0.7335 GB, free: 6.184 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.4904, allocations: 15.98 kB / 0.7335 GB, free: 6.168 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.4904, allocations: 3.984 kB / 0.7335 GB, free: 6.164 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.098e-05/0.4905, allocations: 11.92 kB / 0.7335 GB, free: 6.152 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.4905, allocations: 8 kB / 0.7335 GB, free: 6.145 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,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 0.0001104/0.4906, allocations: 128.9 kB / 0.7336 GB, free: 6.012 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.572e-05/0.4907, allocations: 7.906 kB / 0.7336 GB, free: 6.004 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.333e-05/0.4907, allocations: 8.375 kB / 0.7336 GB, free: 5.996 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.842e-06/0.4907, allocations: 4 kB / 0.7336 GB, free: 5.992 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.4907, allocations: 0 / 0.7336 GB, free: 5.992 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.4907, allocations: 3.984 kB / 0.7336 GB, free: 5.988 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005029/0.4912, allocations: 382.4 kB / 0.734 GB, free: 5.559 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.4913, allocations: 3.984 kB / 0.734 GB, free: 5.555 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.168e-05/0.4913, allocations: 8 kB / 0.734 GB, free: 5.547 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.4913, allocations: 3.938 kB / 0.734 GB, free: 5.543 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.4913, allocations: 0 / 0.734 GB, free: 5.543 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.4913, allocations: 0 / 0.734 GB, free: 5.543 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4913, allocations: 7.875 kB / 0.734 GB, free: 5.535 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002828/0.4916, allocations: 219.4 kB / 0.7342 GB, free: 5.305 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.691e-05/0.4917, allocations: 85.02 kB / 0.7343 GB, free: 5.203 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.4917, allocations: 0 / 0.7343 GB, free: 5.203 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.856e-05/0.4918, allocations: 7.984 kB / 0.7343 GB, free: 5.195 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.668e-05/0.4919, allocations: 11.94 kB / 0.7343 GB, free: 5.184 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.198e-06/0.4919, allocations: 3.984 kB / 0.7343 GB, free: 5.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.086e-05/0.492, allocations: 103.4 kB / 0.7344 GB, free: 5.078 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.492, allocations: 0 / 0.7344 GB, free: 5.078 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003149/0.4923, allocations: 43.92 kB / 0.7345 GB, free: 5.035 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 (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.0003466/0.4926, allocations: 147.4 kB / 0.7346 GB, free: 4.895 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002303/0.4929, allocations: 87.88 kB / 0.7347 GB, free: 4.809 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4929, allocations: 0 / 0.7347 GB, free: 4.809 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.481e-05/0.493, allocations: 31.98 kB / 0.7347 GB, free: 4.777 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.4933, allocations: 8 kB / 0.7347 GB, free: 4.77 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004277/0.4937, allocations: 213.2 kB / 0.7349 GB, free: 4.531 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.494, allocations: 0.6887 MB / 0.7356 GB, free: 3.816 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.804e-05/0.494, allocations: 4 kB / 0.7356 GB, free: 3.812 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.821e-05/0.4941, allocations: 19.36 kB / 0.7356 GB, free: 3.797 MB / 0.545 GB Notification: Performance of SimCode: time 3.61e-07/0.4941, allocations: 4 kB / 0.7356 GB, free: 3.793 MB / 0.545 GB Notification: Performance of Templates: time 0.004104/0.4982, allocations: 1.354 MB / 0.737 GB, free: 2.453 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: