Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009188/0.0009188, allocations: 80.75 kB / 20.82 MB, free: 3.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 169 kB / 24.25 MB, free: 208 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9523/0.9523, allocations: 177.1 MB / 204.7 MB, free: 5.113 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.903/1.903, allocations: 389.6 MB / 0.6355 GB, free: 12.32 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.7753 GB, free: 5.348 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.539e-05/1.674e-05, allocations: 4.562 kB / 0.7754 GB, free: 5.344 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.001966/0.001983, allocations: 1.609 MB / 0.7769 GB, free: 3.746 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.003135, allocations: 0.7432 MB / 0.7776 GB, free: 3.004 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.975e-05/0.003204, allocations: 4 kB / 0.7777 GB, free: 3 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.00331, allocations: 10.92 kB / 0.7777 GB, free: 2.992 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.446e-05/0.003364, allocations: 9.625 kB / 0.7777 GB, free: 2.988 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005959/0.00396, allocations: 132.4 kB / 0.7778 GB, free: 2.859 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.004115, allocations: 85.22 kB / 0.7779 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.492e-05/0.0042, allocations: 11.98 kB / 0.7779 GB, free: 2.77 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001642/0.004364, allocations: 55.88 kB / 0.7779 GB, free: 2.715 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.398e-05/0.004428, allocations: 34.7 kB / 0.778 GB, free: 2.684 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.004449, allocations: 4 kB / 0.778 GB, free: 2.68 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002844/0.004733, allocations: 135.7 kB / 0.7781 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.601e-05/0.004789, allocations: 35.84 kB / 0.7781 GB, free: 2.512 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.16e-05/0.004831, allocations: 23.92 kB / 0.7782 GB, free: 2.488 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002598/0.005091, allocations: 171.4 kB / 0.7783 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.005093, allocations: 0 / 0.7783 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.71e-07/0.005094, allocations: 0 / 0.7783 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.005098, allocations: 5.906 kB / 0.7783 GB, free: 2.316 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0004177/0.005516, allocations: 390.8 kB / 0.7787 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.005549, allocations: 13.33 kB / 0.7787 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001914/0.00574, allocations: 37.81 kB / 0.7788 GB, free: 1.859 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.005866, allocations: 137.5 kB / 0.7789 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.005879, allocations: 5.219 kB / 0.7789 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.005892, allocations: 8.375 kB / 0.7789 GB, free: 1.688 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.006009, allocations: 104.3 kB / 0.779 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.513e-06/0.006016, allocations: 0.9062 kB / 0.779 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.006023, allocations: 4.312 kB / 0.779 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.006028, allocations: 4.875 kB / 0.779 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.817e-05/0.006066, allocations: 27.98 kB / 0.779 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002682/0.006334, allocations: 211.4 kB / 0.7792 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.711e-05/0.006401, allocations: 99.67 kB / 0.7793 GB, free: 1.211 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.426e-05/0.006425, allocations: 29.19 kB / 0.7794 GB, free: 1.18 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.006439, allocations: 5.375 kB / 0.7794 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.635e-05/0.006526, allocations: 105.2 kB / 0.7795 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=40): time 1.122e-06/0.006527, allocations: 0 / 0.7795 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40): time 0.0002082/0.006735, allocations: 237.7 kB / 0.7797 GB, free: 0.8242 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.006784, allocations: 87.33 kB / 0.7798 GB, free: 0.7266 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.021e-05/0.006855, allocations: 143.3 kB / 0.7799 GB, free: 0.5742 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.006884, allocations: 53.69 kB / 0.78 GB, free: 0.5156 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.55e-05/0.00692, allocations: 98.78 kB / 0.7801 GB, free: 428 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.274e-05/0.006972, allocations: 95.27 kB / 0.7802 GB, free: 332 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.541e-05/0.007048, allocations: 97.59 kB / 0.7802 GB, free: 228 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.15e-05/0.007139, allocations: 342.8 kB / 0.7806 GB, free: 15.88 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.621e-05/0.007196, allocations: 56.22 kB / 0.7806 GB, free: 15.82 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.968e-05/0.007265, allocations: 107.2 kB / 0.7807 GB, free: 15.71 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.007423, allocations: 226.2 kB / 0.7809 GB, free: 15.47 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.007425, allocations: 0.75 kB / 0.7809 GB, free: 15.47 MB / 0.7449 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.000279/0.007704, allocations: 258.5 kB / 0.7812 GB, free: 15.21 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.007717, allocations: 7.938 kB / 0.7812 GB, free: 15.21 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.007729, allocations: 4.875 kB / 0.7812 GB, free: 15.2 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.975e-06/0.007737, allocations: 4 kB / 0.7812 GB, free: 15.2 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.007892, allocations: 75.89 kB / 0.7813 GB, free: 15.12 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.007896, allocations: 4.625 kB / 0.7813 GB, free: 15.12 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.142e-05/0.007948, allocations: 40.38 kB / 0.7813 GB, free: 15.08 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.007969, allocations: 12 kB / 0.7813 GB, free: 15.07 MB / 0.7449 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 75 (win.occ,win.ran,$PRE.win.ran,win.state[33],$PRE.win.state[33],win.state[32],$PRE.win.state[32],win.state[31],$PRE.win.state[31],win.state[30],$PRE.win.state[30],win.state[29],$PRE.win.state[29],win.state[28],$PRE.win.state[28],win.state[27],$PRE.win.state[27],win.state[26],$PRE.win.state[26],win.state[25],$PRE.win.state[25],win.state[24],$PRE.win.state[24],win.state[23],$PRE.win.state[23],win.state[22],$PRE.win.state[22],win.state[21],$PRE.win.state[21],win.state[20],$PRE.win.state[20],win.state[19],$PRE.win.state[19],win.state[18],$PRE.win.state[18],win.state[17],$PRE.win.state[17],win.state[16],$PRE.win.state[16],win.state[15],$PRE.win.state[15],win.state[14],$PRE.win.state[14],win.state[13],$PRE.win.state[13],win.state[12],$PRE.win.state[12],win.state[11],$PRE.win.state[11],win.state[10],$PRE.win.state[10],win.state[9],$PRE.win.state[9],win.state[8],$PRE.win.state[8],win.state[7],$PRE.win.state[7],win.state[6],$PRE.win.state[6],win.state[5],$PRE.win.state[5],win.state[4],$PRE.win.state[4],win.state[3],$PRE.win.state[3],win.state[2],$PRE.win.state[2],win.state[1],$PRE.win.state[1],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 (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001096/0.008079, allocations: 186 kB / 0.7815 GB, free: 14.88 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.132e-05/0.00809, allocations: 13.02 kB / 0.7815 GB, free: 14.87 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.136e-05/0.008111, allocations: 13.56 kB / 0.7815 GB, free: 14.86 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.008113, allocations: 0 / 0.7815 GB, free: 14.86 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.008115, allocations: 1.75 kB / 0.7815 GB, free: 14.86 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.008118, allocations: 0 / 0.7815 GB, free: 14.86 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002435/0.008361, allocations: 381.7 kB / 0.7819 GB, free: 14.46 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.008362, allocations: 0 / 0.7819 GB, free: 14.46 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.188e-05/0.008384, allocations: 11.92 kB / 0.7819 GB, free: 14.45 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.008387, allocations: 5.031 kB / 0.7819 GB, free: 14.45 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.008393, allocations: 4 kB / 0.7819 GB, free: 14.44 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.008394, allocations: 0 / 0.7819 GB, free: 14.44 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.008396, allocations: 1.438 kB / 0.7819 GB, free: 14.44 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.008552, allocations: 308.2 kB / 0.7822 GB, free: 14.12 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 1.28e-05/0.008565, allocations: 19.78 kB / 0.7822 GB, free: 14.11 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.008591, allocations: 27.98 kB / 0.7823 GB, free: 14.08 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.066e-05/0.008631, allocations: 13.08 kB / 0.7823 GB, free: 14.07 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.741e-05/0.008659, allocations: 7.984 kB / 0.7823 GB, free: 14.06 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.008664, allocations: 0.875 kB / 0.7823 GB, free: 14.06 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 1.688e-05/0.008681, allocations: 19.47 kB / 0.7823 GB, free: 14.04 MB / 0.7449 GB Notification: Performance of sort global known variables: time 5e-08/0.008681, allocations: 0 / 0.7823 GB, free: 14.04 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0001802/0.008862, allocations: 52.72 kB / 0.7824 GB, free: 13.99 MB / 0.7449 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 39 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.state[1],win.state[2],win.state[3],win.state[4],win.state[5],win.state[6],win.state[7],win.state[8],win.state[9],win.state[10],win.state[11],win.state[12],win.state[13],win.state[14],win.state[15],win.state[16],win.state[17],win.state[18],win.state[19],win.state[20],win.state[21],win.state[22],win.state[23],win.state[24],win.state[25],win.state[26],win.state[27],win.state[28],win.state[29],win.state[30],win.state[31],win.state[32],win.state[33],win.ran) * Number of discrete states: 33 (win.state[1],win.state[2],win.state[3],win.state[4],win.state[5],win.state[6],win.state[7],win.state[8],win.state[9],win.state[10],win.state[11],win.state[12],win.state[13],win.state[14],win.state[15],win.state[16],win.state[17],win.state[18],win.state[19],win.state[20],win.state[21],win.state[22],win.state[23],win.state[24],win.state[25],win.state[26],win.state[27],win.state[28],win.state[29],win.state[30],win.state[31],win.state[32],win.state[33]) * 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.0003009/0.009163, allocations: 234.3 kB / 0.7826 GB, free: 13.79 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.0002049/0.009367, allocations: 213.1 kB / 0.7828 GB, free: 13.57 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.009371, allocations: 5.906 kB / 0.7828 GB, free: 13.57 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 4.179e-05/0.009413, allocations: 48.77 kB / 0.7828 GB, free: 13.52 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.009547, allocations: 14.05 kB / 0.7828 GB, free: 13.5 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000506/0.01005, allocations: 324.4 kB / 0.7832 GB, free: 13.16 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.573e-05/0.0101, allocations: 84.27 kB / 0.7832 GB, free: 13.06 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 3.502e-05/0.01013, allocations: 13.48 kB / 0.7832 GB, free: 13.05 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.768e-05/0.01019, allocations: 69.81 kB / 0.7833 GB, free: 12.98 MB / 0.7449 GB Notification: Performance of SimCode: time 5.21e-07/0.01019, allocations: 0 / 0.7833 GB, free: 12.98 MB / 0.7449 GB Notification: Performance of Templates: time 0.003772/0.01396, allocations: 2.283 MB / 0.7855 GB, free: 10.83 MB / 0.7449 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.934962830506265]