Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008025/0.0008025, allocations: 91.77 kB / 15.36 MB, free: 0.7344 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.006213/0.006213, allocations: 169.3 kB / 16.26 MB, free: 6.68 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.484/1.484, 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.564/1.564, allocations: 252 MB / 0.5105 GB, free: 4.633 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.0005381/0.000538, allocations: 12 kB / 0.6249 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.47/0.4706, allocations: 106.3 MB / 0.7287 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.001732/0.4723, allocations: 1.211 MB / 0.7299 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.4737, allocations: 0.7758 MB / 0.7307 GB, free: 9.258 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.497e-05/0.4737, allocations: 3.938 kB / 0.7307 GB, free: 9.254 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.159e-05/0.4738, allocations: 0 / 0.7307 GB, free: 9.254 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.151e-05/0.4738, allocations: 7.938 kB / 0.7307 GB, free: 9.246 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005049/0.4743, allocations: 103.8 kB / 0.7308 GB, free: 9.145 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.4745, allocations: 79.69 kB / 0.7308 GB, free: 9.066 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.175e-05/0.4746, allocations: 12 kB / 0.7309 GB, free: 9.055 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.162e-05/0.4747, allocations: 23.92 kB / 0.7309 GB, free: 9.031 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.671e-05/0.4748, allocations: 43.81 kB / 0.7309 GB, free: 8.988 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.4748, allocations: 4 kB / 0.7309 GB, free: 8.984 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002035/0.475, allocations: 91.84 kB / 0.731 GB, free: 8.895 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.374e-05/0.4751, allocations: 11.98 kB / 0.731 GB, free: 8.883 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.655e-05/0.4751, allocations: 53.5 kB / 0.7311 GB, free: 8.824 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.4754, allocations: 137.6 kB / 0.7312 GB, free: 8.691 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.237e-06/0.4754, allocations: 0 / 0.7312 GB, free: 8.691 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4754, allocations: 4 kB / 0.7312 GB, free: 8.688 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.4754, allocations: 0 / 0.7312 GB, free: 8.688 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.0005818/0.476, allocations: 409 kB / 0.7316 GB, free: 8.234 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.476, allocations: 12.02 kB / 0.7316 GB, free: 8.223 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.159e-05/0.4761, allocations: 8.844 kB / 0.7316 GB, free: 8.215 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.4762, allocations: 176.2 kB / 0.7318 GB, free: 8.004 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.19e-05/0.4762, allocations: 8.359 kB / 0.7318 GB, free: 7.996 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.4763, allocations: 12.31 kB / 0.7318 GB, free: 7.984 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.4765, allocations: 73.97 kB / 0.7319 GB, free: 7.906 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.4765, allocations: 0 / 0.7319 GB, free: 7.906 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.4765, allocations: 4 kB / 0.7319 GB, free: 7.902 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.4765, allocations: 0 / 0.7319 GB, free: 7.902 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.4767, allocations: 43.97 kB / 0.7319 GB, free: 7.859 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005974/0.4773, allocations: 316.8 kB / 0.7322 GB, free: 7.5 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.4774, allocations: 54.48 kB / 0.7323 GB, free: 7.438 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.441e-05/0.4775, allocations: 40.91 kB / 0.7323 GB, free: 7.395 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.4775, allocations: 8.062 kB / 0.7323 GB, free: 7.387 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001793/0.4777, allocations: 79.28 kB / 0.7324 GB, free: 7.297 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.4777, allocations: 0 / 0.7324 GB, free: 7.297 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0003922/0.4781, allocations: 149.6 kB / 0.7325 GB, free: 7.145 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.4782, allocations: 51.41 kB / 0.7326 GB, free: 7.082 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.64e-05/0.4783, allocations: 129.7 kB / 0.7327 GB, free: 6.945 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.4783, allocations: 29.7 kB / 0.7327 GB, free: 6.91 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.495e-05/0.4784, allocations: 88.14 kB / 0.7328 GB, free: 6.82 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.4784, allocations: 27.78 kB / 0.7329 GB, free: 6.793 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.4784, allocations: 17.72 kB / 0.7329 GB, free: 6.77 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.4785, allocations: 318.8 kB / 0.7332 GB, free: 6.449 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.436e-05/0.4786, allocations: 31.98 kB / 0.7332 GB, free: 6.418 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.735e-05/0.4787, allocations: 46.56 kB / 0.7332 GB, free: 6.363 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.4789, allocations: 86.78 kB / 0.7333 GB, free: 6.27 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.4789, allocations: 0 / 0.7333 GB, free: 6.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002406/0.4792, allocations: 121.5 kB / 0.7334 GB, free: 6.145 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.4792, allocations: 9.719 kB / 0.7335 GB, free: 6.137 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.4792, allocations: 0 / 0.7335 GB, free: 6.137 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.4792, allocations: 0 / 0.7335 GB, free: 6.137 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.173e-05/0.4793, allocations: 19.98 kB / 0.7335 GB, free: 6.117 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.4793, allocations: 0 / 0.7335 GB, free: 6.117 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.577e-05/0.4794, allocations: 7.938 kB / 0.7335 GB, free: 6.109 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.4794, allocations: 8 kB / 0.7335 GB, free: 6.102 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 9.352e-05/0.4795, allocations: 129.8 kB / 0.7336 GB, free: 5.965 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.679e-05/0.4795, allocations: 7.906 kB / 0.7336 GB, free: 5.957 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.608e-05/0.4796, allocations: 8.375 kB / 0.7336 GB, free: 5.949 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.4796, allocations: 4 kB / 0.7336 GB, free: 5.945 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.4796, allocations: 0 / 0.7336 GB, free: 5.945 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.4796, allocations: 0 / 0.7336 GB, free: 5.945 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004424/0.4801, allocations: 386.4 kB / 0.734 GB, free: 5.512 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4801, allocations: 0 / 0.734 GB, free: 5.512 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.218e-05/0.4801, allocations: 11.98 kB / 0.734 GB, free: 5.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.4801, allocations: 3.938 kB / 0.734 GB, free: 5.496 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.4801, allocations: 0 / 0.734 GB, free: 5.496 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.4801, allocations: 0 / 0.734 GB, free: 5.496 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.4801, allocations: 3.938 kB / 0.734 GB, free: 5.492 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002797/0.4804, allocations: 219.4 kB / 0.7342 GB, free: 5.262 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.511e-05/0.4805, allocations: 85.02 kB / 0.7343 GB, free: 5.16 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.4805, allocations: 0 / 0.7343 GB, free: 5.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.738e-05/0.4806, allocations: 4 kB / 0.7343 GB, free: 5.156 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.023e-05/0.4807, allocations: 15.92 kB / 0.7343 GB, free: 5.141 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.4807, allocations: 3.938 kB / 0.7343 GB, free: 5.137 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.967e-05/0.4807, allocations: 99.27 kB / 0.7344 GB, free: 5.039 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4807, allocations: 3.938 kB / 0.7344 GB, free: 5.035 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002963/0.481, allocations: 43.92 kB / 0.7345 GB, free: 4.992 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.0003244/0.4814, allocations: 155 kB / 0.7346 GB, free: 4.848 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002211/0.4816, allocations: 83.89 kB / 0.7347 GB, free: 4.766 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.4816, allocations: 0 / 0.7347 GB, free: 4.766 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.697e-05/0.4817, allocations: 40.36 kB / 0.7347 GB, free: 4.727 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.482, allocations: 4 kB / 0.7347 GB, free: 4.723 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00037/0.4823, allocations: 213.2 kB / 0.7349 GB, free: 4.484 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.4826, allocations: 0.6887 MB / 0.7356 GB, free: 3.77 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.662e-05/0.4826, allocations: 4.156 kB / 0.7356 GB, free: 3.766 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.365e-05/0.4827, allocations: 7.438 kB / 0.7356 GB, free: 3.762 MB / 0.545 GB Notification: Performance of SimCode: time 3.4e-07/0.4827, allocations: 7.938 kB / 0.7356 GB, free: 3.754 MB / 0.545 GB Notification: Performance of Templates: time 0.003928/0.4866, allocations: 1.369 MB / 0.737 GB, free: 2.426 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) Environment - environmentSimulation: