Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.0009302/0.0009302, allocations: 76.81 kB / 20.75 MB, free: 3.734 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.001121/0.001121, allocations: 161 kB / 24.17 MB, free: 324 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.9602/0.9602, allocations: 177.1 MB / 204.6 MB, free: 5.465 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 2.02/2.02, allocations: 389.6 MB / 0.6354 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 177] 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.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.7752 GB, free: 5.367 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.374e-05/1.544e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.363 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.00208/0.002095, allocations: 1.611 MB / 0.7768 GB, free: 3.762 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001107/0.003202, allocations: 0.7394 MB / 0.7775 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.071e-05/0.003253, allocations: 0 / 0.7775 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 9.644e-05/0.003349, allocations: 11.88 kB / 0.7775 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.22e-05/0.003401, allocations: 20.08 kB / 0.7775 GB, free: 3 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004373/0.003839, allocations: 128.6 kB / 0.7776 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.003966, allocations: 74.95 kB / 0.7777 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 6.897e-05/0.004035, allocations: 15.97 kB / 0.7777 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.004156, allocations: 66.56 kB / 0.7778 GB, free: 2.73 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.081e-05/0.004207, allocations: 31.89 kB / 0.7778 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.004223, allocations: 4 kB / 0.7778 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001941/0.004417, allocations: 131.7 kB / 0.7779 GB, free: 2.566 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.193e-05/0.004459, allocations: 39.84 kB / 0.778 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.198e-05/0.004491, allocations: 23.91 kB / 0.778 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.00468, allocations: 171.4 kB / 0.7782 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.004682, allocations: 2.688 kB / 0.7782 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.02e-07/0.004683, allocations: 0 / 0.7782 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.496e-06/0.004686, allocations: 0 / 0.7782 GB, free: 2.336 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.0004229/0.005109, allocations: 386.8 kB / 0.7785 GB, free: 1.93 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.968e-05/0.005139, allocations: 13.34 kB / 0.7786 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002067/0.005345, allocations: 33.53 kB / 0.7786 GB, free: 1.887 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.005507, allocations: 145.4 kB / 0.7787 GB, free: 1.719 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.005528, allocations: 9.062 kB / 0.7787 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.005539, allocations: 384 / 0.7787 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.005702, allocations: 108.2 kB / 0.7788 GB, free: 1.598 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.00571, allocations: 4.812 kB / 0.7788 GB, free: 1.594 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.005718, allocations: 0.9688 kB / 0.7788 GB, free: 1.594 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.005724, allocations: 3.938 kB / 0.7788 GB, free: 1.59 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.283e-05/0.005767, allocations: 28.77 kB / 0.7789 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003801/0.006147, allocations: 215.4 kB / 0.7791 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.943e-05/0.006246, allocations: 91.72 kB / 0.7792 GB, free: 1.234 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.117e-05/0.006287, allocations: 29.19 kB / 0.7792 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.006303, allocations: 5.438 kB / 0.7792 GB, free: 1.199 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001282/0.006431, allocations: 117.2 kB / 0.7793 GB, free: 1.07 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=40): time 1.523e-06/0.006433, allocations: 0 / 0.7793 GB, free: 1.07 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40): time 0.0003003/0.006733, allocations: 229 kB / 0.7795 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.006785, allocations: 91.97 kB / 0.7796 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.296e-05/0.006858, allocations: 141.2 kB / 0.7798 GB, free: 0.5938 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.689e-05/0.006935, allocations: 58.2 kB / 0.7798 GB, free: 0.5312 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.136e-05/0.006966, allocations: 94.8 kB / 0.7799 GB, free: 448 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.572e-05/0.007022, allocations: 103.2 kB / 0.78 GB, free: 344 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.977e-05/0.007092, allocations: 89.61 kB / 0.7801 GB, free: 248 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.699e-05/0.007179, allocations: 342.7 kB / 0.7804 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.806e-05/0.007237, allocations: 55.47 kB / 0.7805 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.466e-05/0.007311, allocations: 104 kB / 0.7806 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002333/0.007545, allocations: 226.3 kB / 0.7808 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.007547, allocations: 0 / 0.7808 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0002297/0.007776, allocations: 259.2 kB / 0.781 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.007789, allocations: 7.938 kB / 0.781 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.007801, allocations: 4 kB / 0.781 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.007813, allocations: 0.875 kB / 0.781 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.007978, allocations: 79.89 kB / 0.7811 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.007983, allocations: 5.094 kB / 0.7811 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.574e-05/0.008039, allocations: 43.67 kB / 0.7812 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.008051, allocations: 5.75 kB / 0.7812 GB, free: 15.1 MB / 0.7448 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.00011/0.008161, allocations: 184.8 kB / 0.7813 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.032e-05/0.008171, allocations: 4 kB / 0.7813 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.338e-05/0.008195, allocations: 18.44 kB / 0.7814 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.008196, allocations: 0 / 0.7814 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.008199, allocations: 4 kB / 0.7814 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.008202, allocations: 8.703 kB / 0.7814 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002597/0.008462, allocations: 385.7 kB / 0.7817 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.008463, allocations: 0.9375 kB / 0.7817 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.107e-05/0.008484, allocations: 4 kB / 0.7817 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.676e-06/0.008488, allocations: 4.469 kB / 0.7817 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.008493, allocations: 0.7812 kB / 0.7817 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.008495, allocations: 4 kB / 0.7818 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.008499, allocations: 6.734 kB / 0.7818 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002108/0.00871, allocations: 312.2 kB / 0.7821 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.41e-05/0.008724, allocations: 19.78 kB / 0.7821 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.035e-05/0.008754, allocations: 31.98 kB / 0.7821 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.773e-05/0.008802, allocations: 4 kB / 0.7821 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.843e-05/0.00883, allocations: 3.984 kB / 0.7821 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.008837, allocations: 4 kB / 0.7821 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.786e-05/0.008855, allocations: 20.83 kB / 0.7821 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.008855, allocations: 2.875 kB / 0.7821 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001704/0.009025, allocations: 51.94 kB / 0.7822 GB, free: 14 MB / 0.7448 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.0003015/0.009327, allocations: 227.3 kB / 0.7824 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003427/0.009669, allocations: 212.2 kB / 0.7826 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.009671, allocations: 1.406 kB / 0.7826 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.454e-05/0.009716, allocations: 52.81 kB / 0.7827 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/0.009866, allocations: 21.7 kB / 0.7827 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005171/0.01038, allocations: 325.7 kB / 0.783 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.209e-05/0.01042, allocations: 80.28 kB / 0.7831 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.38e-05/0.01046, allocations: 13.48 kB / 0.7831 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.175e-05/0.01052, allocations: 67.36 kB / 0.7831 GB, free: 13 MB / 0.7448 GB Notification: Performance of SimCode: time 7.51e-07/0.01052, allocations: 6.188 kB / 0.7832 GB, free: 13 MB / 0.7448 GB Notification: Performance of Templates: time 0.003777/0.0143, allocations: 2.282 MB / 0.7854 GB, free: 10.84 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.088750726077706]