Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.001023/0.001023, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001191/0.001191, allocations: 165 kB / 24.16 MB, free: 332 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 1.083/1.083, allocations: 177.1 MB / 204.6 MB, free: 5.492 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.031/2.031, allocations: 389.6 MB / 0.6354 GB, free: 12.27 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.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.7752 GB, free: 5.348 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.744e-05/2.925e-05, allocations: 10.25 kB / 0.7752 GB, free: 5.336 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.003402/0.003432, allocations: 1.61 MB / 0.7768 GB, free: 3.738 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001452/0.004884, allocations: 0.74 MB / 0.7775 GB, free: 3 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.717e-05/0.004951, allocations: 0 / 0.7775 GB, free: 3 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001024/0.005054, allocations: 7.875 kB / 0.7775 GB, free: 2.992 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.297e-05/0.005107, allocations: 18.59 kB / 0.7775 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006009/0.005708, allocations: 128.4 kB / 0.7776 GB, free: 2.859 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.005874, allocations: 92.72 kB / 0.7777 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.916e-05/0.005963, allocations: 15.97 kB / 0.7777 GB, free: 2.762 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001769/0.00614, allocations: 47.89 kB / 0.7778 GB, free: 2.715 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.101e-05/0.006211, allocations: 35.94 kB / 0.7778 GB, free: 2.68 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.00623, allocations: 8 kB / 0.7778 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002959/0.006526, allocations: 131.7 kB / 0.7779 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.658e-05/0.006582, allocations: 39.48 kB / 0.778 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.255e-05/0.006625, allocations: 27.91 kB / 0.778 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002711/0.006896, allocations: 175.3 kB / 0.7782 GB, free: 2.309 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.006899, allocations: 0 / 0.7782 GB, free: 2.309 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.463e-06/0.006901, allocations: 0 / 0.7782 GB, free: 2.309 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.006905, allocations: 0 / 0.7782 GB, free: 2.309 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.0005265/0.007431, allocations: 386.7 kB / 0.7785 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.007467, allocations: 13.34 kB / 0.7786 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002315/0.007699, allocations: 37.81 kB / 0.7786 GB, free: 1.855 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.007853, allocations: 140.4 kB / 0.7787 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.007869, allocations: 1.156 kB / 0.7787 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.007879, allocations: 8.375 kB / 0.7787 GB, free: 1.688 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.008031, allocations: 108.5 kB / 0.7788 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.008039, allocations: 192 / 0.7788 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.008048, allocations: 5.531 kB / 0.7788 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.008055, allocations: 3.938 kB / 0.7788 GB, free: 1.566 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.692e-05/0.008092, allocations: 31.92 kB / 0.7789 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003189/0.008411, allocations: 209.1 kB / 0.7791 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.615e-05/0.008487, allocations: 94.81 kB / 0.7792 GB, free: 1.211 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.886e-05/0.008516, allocations: 29.19 kB / 0.7792 GB, free: 1.18 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.008533, allocations: 4 kB / 0.7792 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001057/0.008638, allocations: 113.7 kB / 0.7793 GB, free: 1.051 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=40): time 1.483e-06/0.00864, allocations: 1.125 kB / 0.7793 GB, free: 1.051 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40): time 0.0002468/0.008887, allocations: 233.1 kB / 0.7795 GB, free: 0.8203 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.00894, allocations: 87.31 kB / 0.7796 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.19e-05/0.009022, allocations: 144.3 kB / 0.7798 GB, free: 0.5703 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.009055, allocations: 53.69 kB / 0.7798 GB, free: 0.5117 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.631e-05/0.009091, allocations: 97.06 kB / 0.7799 GB, free: 424 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.761e-05/0.009148, allocations: 99.25 kB / 0.78 GB, free: 324 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.539e-05/0.009224, allocations: 94.36 kB / 0.7801 GB, free: 224 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.729e-05/0.009321, allocations: 338.8 kB / 0.7804 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.272e-05/0.009384, allocations: 61.05 kB / 0.7805 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.763e-05/0.009461, allocations: 103.2 kB / 0.7806 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.009634, allocations: 225.8 kB / 0.7808 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.009637, allocations: 3.938 kB / 0.7808 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0002445/0.009881, allocations: 258.5 kB / 0.781 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.009895, allocations: 8.906 kB / 0.781 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.009909, allocations: 4 kB / 0.781 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.009923, allocations: 0 / 0.781 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.0101, allocations: 80.83 kB / 0.7811 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.748e-06/0.0101, allocations: 4 kB / 0.7811 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.383e-05/0.01016, allocations: 41.11 kB / 0.7812 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.01017, allocations: 11.98 kB / 0.7812 GB, free: 15.07 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.0001286/0.0103, allocations: 178 kB / 0.7813 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.27e-05/0.01031, allocations: 7.984 kB / 0.7813 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.574e-05/0.01034, allocations: 17.56 kB / 0.7814 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.01034, allocations: 1.438 kB / 0.7814 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.01034, allocations: 0 / 0.7814 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.01035, allocations: 3.938 kB / 0.7814 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002965/0.01064, allocations: 381.7 kB / 0.7817 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.01065, allocations: 5.375 kB / 0.7817 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.937e-05/0.01068, allocations: 7.984 kB / 0.7817 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.01068, allocations: 3.938 kB / 0.7818 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.01069, allocations: 1.5 kB / 0.7818 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.01069, allocations: 0 / 0.7818 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.01069, allocations: 4 kB / 0.7818 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000189/0.01088, allocations: 312.2 kB / 0.7821 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.573e-05/0.01089, allocations: 25.42 kB / 0.7821 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.681e-05/0.01093, allocations: 27.98 kB / 0.7821 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.644e-05/0.01098, allocations: 8 kB / 0.7821 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.146e-05/0.01101, allocations: 3.984 kB / 0.7821 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.01102, allocations: 4 kB / 0.7821 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.349e-05/0.01104, allocations: 21.45 kB / 0.7821 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.01104, allocations: 0.5312 kB / 0.7821 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002132/0.01125, allocations: 51.94 kB / 0.7822 GB, free: 13.98 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.0003469/0.0116, allocations: 223.2 kB / 0.7824 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000217/0.01182, allocations: 216.9 kB / 0.7826 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.01182, allocations: 0.5312 kB / 0.7826 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.508e-05/0.01187, allocations: 56.75 kB / 0.7827 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001611/0.01204, allocations: 11.03 kB / 0.7827 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005704/0.01261, allocations: 324.3 kB / 0.783 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.516e-05/0.01265, allocations: 84.27 kB / 0.7831 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.217e-05/0.01269, allocations: 13.48 kB / 0.7831 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.526e-05/0.01276, allocations: 67.36 kB / 0.7831 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of SimCode: time 1.052e-06/0.01276, allocations: 0 / 0.7831 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of Templates: time 0.004882/0.01764, allocations: 2.29 MB / 0.7854 GB, free: 10.83 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.233851784840226]