Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008169/0.0008169, allocations: 91.84 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.005955/0.005955, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.022/3.022, allocations: 473.4 MB / 0.7469 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005228/0.0005229, allocations: 15.03 kB / 0.9158 GB, free: 33.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4655/0.466, allocations: 162.2 MB / 1.074 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002007/0.4681, allocations: 1.215 MB / 1.075 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001449/0.4695, allocations: 0.7207 MB / 1.076 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.265e-05/0.4696, allocations: 11.88 kB / 1.076 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.071e-05/0.4697, allocations: 0 / 1.076 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.361e-05/0.4697, allocations: 11.91 kB / 1.076 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005842/0.4703, allocations: 99.77 kB / 1.076 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.4705, allocations: 71.78 kB / 1.076 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.4706, allocations: 19.97 kB / 1.076 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.4707, allocations: 31.91 kB / 1.076 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.966e-05/0.4708, allocations: 27.84 kB / 1.076 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.4708, allocations: 4 kB / 1.076 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002314/0.471, allocations: 95.84 kB / 1.076 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.565e-05/0.4711, allocations: 11.92 kB / 1.076 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.668e-05/0.4712, allocations: 57.55 kB / 1.076 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002456/0.4714, allocations: 139.9 kB / 1.077 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.4714, allocations: 4 kB / 1.077 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4714, allocations: 0 / 1.077 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.4714, allocations: 0 / 1.077 GB, free: 4.984 MB / 0.8262 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.0006489/0.4721, allocations: 405 kB / 1.077 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.4721, allocations: 8.031 kB / 1.077 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.947e-05/0.4722, allocations: 8.844 kB / 1.077 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.4724, allocations: 172.3 kB / 1.077 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.265e-05/0.4725, allocations: 8.359 kB / 1.077 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.4725, allocations: 8.375 kB / 1.077 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.4727, allocations: 73.97 kB / 1.077 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.4727, allocations: 0 / 1.077 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.4727, allocations: 0 / 1.077 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.4727, allocations: 4 kB / 1.077 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.4729, allocations: 43.97 kB / 1.077 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006767/0.4736, allocations: 324.6 kB / 1.078 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.4737, allocations: 58.5 kB / 1.078 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.844e-05/0.4738, allocations: 36.91 kB / 1.078 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.4739, allocations: 3.984 kB / 1.078 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001952/0.4741, allocations: 83.38 kB / 1.078 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.4741, allocations: 0 / 1.078 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004179/0.4745, allocations: 157.5 kB / 1.078 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.4745, allocations: 59.41 kB / 1.078 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.4747, allocations: 118.2 kB / 1.078 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.4747, allocations: 25.7 kB / 1.078 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.353e-05/0.4747, allocations: 92.12 kB / 1.078 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.4748, allocations: 19.75 kB / 1.078 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.454e-05/0.4748, allocations: 21.7 kB / 1.078 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.4749, allocations: 322.8 kB / 1.079 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.618e-05/0.475, allocations: 23.98 kB / 1.079 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.4751, allocations: 58.59 kB / 1.079 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.4753, allocations: 82.48 kB / 1.079 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.4753, allocations: 4 kB / 1.079 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002522/0.4756, allocations: 113.5 kB / 1.079 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.4756, allocations: 4 kB / 1.079 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.346e-05/0.4756, allocations: 3.984 kB / 1.079 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.4757, allocations: 4 kB / 1.079 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-05/0.4758, allocations: 12 kB / 1.079 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.4758, allocations: 0 / 1.079 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.367e-05/0.4759, allocations: 15.89 kB / 1.079 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.4759, allocations: 4.062 kB / 1.079 GB, free: 2.406 MB / 0.8262 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.0001792/0.4761, allocations: 129.7 kB / 1.079 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.573e-05/0.4761, allocations: 4 kB / 1.079 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.724e-05/0.4761, allocations: 12.36 kB / 1.079 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.4761, allocations: 0 / 1.079 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.4761, allocations: 4 kB / 1.079 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.4761, allocations: 0 / 1.079 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005256/0.4767, allocations: 402.2 kB / 1.079 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.4767, allocations: 0 / 1.079 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.877e-05/0.4767, allocations: 4 kB / 1.079 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.4767, allocations: 0 / 1.079 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.4768, allocations: 4 kB / 1.079 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.4768, allocations: 3.984 kB / 1.079 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.4768, allocations: 3.938 kB / 1.079 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003526/0.4771, allocations: 211.5 kB / 1.08 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.08e-05/0.4772, allocations: 81.02 kB / 1.08 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.4772, allocations: 8 kB / 1.08 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.077e-05/0.4773, allocations: 7.984 kB / 1.08 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.4774, allocations: 3.938 kB / 1.08 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.4774, allocations: 19.86 kB / 1.08 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001042/0.4775, allocations: 91.27 kB / 1.08 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4775, allocations: 0 / 1.08 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003129/0.4778, allocations: 36 kB / 1.08 GB, free: 1.301 MB / 0.8262 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.0003623/0.4782, allocations: 155.9 kB / 1.08 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002514/0.4784, allocations: 83.88 kB / 1.08 GB, free: 1.074 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.4785, allocations: 0 / 1.08 GB, free: 1.074 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.4786, allocations: 43.92 kB / 1.08 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.4788, allocations: 7.938 kB / 1.08 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003929/0.4792, allocations: 205.2 kB / 1.08 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.4795, allocations: 0.6926 MB / 1.081 GB, free: 72 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.172e-05/0.4795, allocations: 11.98 kB / 1.081 GB, free: 60 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.277e-05/0.4796, allocations: 15.44 kB / 1.081 GB, free: 44 kB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.4796, allocations: 0 / 1.081 GB, free: 44 kB / 0.8262 GB Notification: Performance of Templates: time 0.004273/0.4839, allocations: 1.344 MB / 1.082 GB, free: 14.7 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile (rm -f Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1)