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.001363/0.001363, allocations: 80.94 kB / 21.55 MB, free: 2.949 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.00103/0.00103, allocations: 158.2 kB / 24.96 MB, free: 8.715 MB / 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.9538/0.9538, allocations: 177.1 MB / 205.4 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 1.967/1.967, allocations: 389.6 MB / 0.6362 GB, free: 12.33 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.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.303e-06/1.303e-06, allocations: 0 / 0.7759 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.427e-05/1.557e-05, allocations: 5.547 kB / 0.776 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.001952/0.001968, allocations: 1.622 MB / 0.7775 GB, free: 3.77 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0009652/0.002933, allocations: 0.7399 MB / 0.7783 GB, free: 3.031 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.07e-05/0.002984, allocations: 0 / 0.7783 GB, free: 3.031 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 8.337e-05/0.003067, allocations: 5.969 kB / 0.7783 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.061e-05/0.003108, allocations: 16.73 kB / 0.7783 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004005/0.003508, allocations: 126.2 kB / 0.7784 GB, free: 2.895 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.003625, allocations: 86.53 kB / 0.7785 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 6.483e-05/0.003689, allocations: 19.97 kB / 0.7785 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.003795, allocations: 55.88 kB / 0.7786 GB, free: 2.742 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.619e-05/0.003842, allocations: 32.42 kB / 0.7786 GB, free: 2.711 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.003857, allocations: 5.125 kB / 0.7786 GB, free: 2.707 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001939/0.004051, allocations: 131.7 kB / 0.7787 GB, free: 2.578 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.891e-05/0.00409, allocations: 35.86 kB / 0.7788 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.933e-05/0.004119, allocations: 25.62 kB / 0.7788 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.004308, allocations: 175.3 kB / 0.7789 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.322e-06/0.004309, allocations: 0 / 0.7789 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.81e-07/0.004309, allocations: 0 / 0.7789 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.386e-06/0.004313, allocations: 0 / 0.7789 GB, free: 2.348 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.0003963/0.004709, allocations: 391.5 kB / 0.7793 GB, free: 1.938 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.539e-05/0.004735, allocations: 14.16 kB / 0.7793 GB, free: 1.926 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00019/0.004925, allocations: 36.03 kB / 0.7794 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.005051, allocations: 141.5 kB / 0.7795 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.005067, allocations: 12.31 kB / 0.7795 GB, free: 1.719 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.838e-06/0.005076, allocations: 4.375 kB / 0.7795 GB, free: 1.715 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.005194, allocations: 103.8 kB / 0.7796 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.0052, allocations: 192 / 0.7796 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.005209, allocations: 4.359 kB / 0.7796 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.005214, allocations: 7.562 kB / 0.7796 GB, free: 1.598 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.982e-05/0.005244, allocations: 27.98 kB / 0.7797 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002533/0.005498, allocations: 214.8 kB / 0.7799 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.744e-05/0.005565, allocations: 94.75 kB / 0.7799 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.662e-05/0.005592, allocations: 33.25 kB / 0.78 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.005605, allocations: 0 / 0.78 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.471e-05/0.00569, allocations: 113.1 kB / 0.7801 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=40): time 7.71e-07/0.005691, allocations: 0 / 0.7801 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40): time 0.0001976/0.005888, allocations: 230.6 kB / 0.7803 GB, free: 0.8516 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.005935, allocations: 95.31 kB / 0.7804 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.68e-05/0.006002, allocations: 138.6 kB / 0.7805 GB, free: 0.5977 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.006031, allocations: 53.67 kB / 0.7806 GB, free: 0.5391 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.269e-05/0.006064, allocations: 93.83 kB / 0.7807 GB, free: 456 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.416e-05/0.006118, allocations: 103.2 kB / 0.7808 GB, free: 352 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.632e-05/0.006184, allocations: 90.58 kB / 0.7809 GB, free: 256 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.304e-05/0.006277, allocations: 346.7 kB / 0.7812 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.372e-05/0.006331, allocations: 51.47 kB / 0.7812 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.156e-05/0.006403, allocations: 108.2 kB / 0.7813 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.00656, allocations: 222 kB / 0.7816 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.006562, allocations: 1.438 kB / 0.7816 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0002079/0.00677, allocations: 257.6 kB / 0.7818 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.006782, allocations: 11.94 kB / 0.7818 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.006792, allocations: 1.125 kB / 0.7818 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.006804, allocations: 4 kB / 0.7818 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.006955, allocations: 75.83 kB / 0.7819 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.006959, allocations: 5.062 kB / 0.7819 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.201e-05/0.007011, allocations: 39.69 kB / 0.7819 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.007025, allocations: 16.48 kB / 0.7819 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.0001016/0.007127, allocations: 182.5 kB / 0.7821 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.07e-05/0.007138, allocations: 7.984 kB / 0.7821 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.193e-05/0.00716, allocations: 13.56 kB / 0.7821 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.007162, allocations: 2.781 kB / 0.7821 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.007163, allocations: 0 / 0.7821 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.007167, allocations: 4 kB / 0.7821 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002379/0.007405, allocations: 385.6 kB / 0.7825 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.007406, allocations: 0 / 0.7825 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.819e-05/0.007424, allocations: 4 kB / 0.7825 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.007426, allocations: 3.938 kB / 0.7825 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.007438, allocations: 11.98 kB / 0.7825 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.007439, allocations: 1.312 kB / 0.7825 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.00744, allocations: 0 / 0.7825 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001499/0.00759, allocations: 316 kB / 0.7828 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.201e-05/0.007602, allocations: 20.91 kB / 0.7829 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.007628, allocations: 27.98 kB / 0.7829 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.766e-05/0.007665, allocations: 4 kB / 0.7829 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.501e-05/0.00769, allocations: 8.891 kB / 0.7829 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-06/0.007694, allocations: 0 / 0.7829 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.972e-05/0.007714, allocations: 27.67 kB / 0.7829 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007714, allocations: 0 / 0.7829 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001773/0.007891, allocations: 52.62 kB / 0.783 GB, free: 14.01 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.0002722/0.008164, allocations: 210.5 kB / 0.7832 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001935/0.008357, allocations: 215.3 kB / 0.7834 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.00836, allocations: 4 kB / 0.7834 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.687e-05/0.008407, allocations: 49.05 kB / 0.7834 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/0.008539, allocations: 16.14 kB / 0.7834 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004795/0.009018, allocations: 331 kB / 0.7838 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.24e-05/0.009061, allocations: 80.27 kB / 0.7838 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.569e-05/0.009096, allocations: 15.3 kB / 0.7839 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.471e-05/0.009151, allocations: 71.36 kB / 0.7839 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of SimCode: time 5.51e-07/0.009152, allocations: 0 / 0.7839 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of Templates: time 0.003563/0.01271, allocations: 2.29 MB / 0.7862 GB, free: 10.86 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 -lv LOG_STATS > Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.980562610551715]