Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.0009647/0.0009647, allocations: 80.75 kB / 20.82 MB, free: 3.633 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.001015/0.001015, allocations: 165.3 kB / 24.25 MB, free: 212 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.9645/0.9645, allocations: 177.2 MB / 204.7 MB, free: 5.418 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.853/1.853, allocations: 389.6 MB / 0.6355 GB, free: 12.25 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.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 0.7754 GB, free: 5.27 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.26e-05/1.443e-05, allocations: 4.062 kB / 0.7754 GB, free: 5.266 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002802/0.002817, allocations: 1.611 MB / 0.7769 GB, free: 3.668 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001367/0.004184, allocations: 0.7377 MB / 0.7777 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.897e-05/0.004243, allocations: 0 / 0.7777 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 9.183e-05/0.004335, allocations: 20.3 kB / 0.7777 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 3.719e-05/0.004372, allocations: 12.73 kB / 0.7777 GB, free: 2.906 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004218/0.004794, allocations: 120.4 kB / 0.7778 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.004907, allocations: 90.09 kB / 0.7779 GB, free: 2.711 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 5.903e-05/0.004966, allocations: 7.984 kB / 0.7779 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.005073, allocations: 59.88 kB / 0.7779 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.288e-05/0.005116, allocations: 35.42 kB / 0.778 GB, free: 2.613 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.00513, allocations: 4 kB / 0.778 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001874/0.005318, allocations: 135.7 kB / 0.7781 GB, free: 2.477 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.916e-05/0.005357, allocations: 35.86 kB / 0.7782 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.014e-05/0.005387, allocations: 27.91 kB / 0.7782 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001767/0.005564, allocations: 167.4 kB / 0.7783 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.352e-06/0.005565, allocations: 0 / 0.7783 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.61e-07/0.005565, allocations: 3.938 kB / 0.7783 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.005569, allocations: 0 / 0.7783 GB, free: 2.246 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.0003904/0.005959, allocations: 394.2 kB / 0.7787 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.005992, allocations: 13.34 kB / 0.7787 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001814/0.006174, allocations: 36.89 kB / 0.7788 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.006296, allocations: 133.5 kB / 0.7789 GB, free: 1.633 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.00631, allocations: 12.36 kB / 0.7789 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-06/0.00632, allocations: 384 / 0.7789 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.006433, allocations: 107.7 kB / 0.779 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.64e-06/0.006439, allocations: 4.688 kB / 0.779 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.006447, allocations: 6.156 kB / 0.779 GB, free: 1.5 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.006452, allocations: 3.938 kB / 0.779 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.897e-05/0.006481, allocations: 24 kB / 0.779 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002451/0.006726, allocations: 211.6 kB / 0.7792 GB, free: 1.25 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.248e-05/0.006789, allocations: 94.81 kB / 0.7793 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.079e-05/0.00682, allocations: 33.73 kB / 0.7794 GB, free: 1.109 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.006832, allocations: 4 kB / 0.7794 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.321e-05/0.006916, allocations: 113.1 kB / 0.7795 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=40): time 9.12e-07/0.006916, allocations: 0 / 0.7795 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40): time 0.0001986/0.007115, allocations: 233 kB / 0.7797 GB, free: 0.7539 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.00717, allocations: 87.33 kB / 0.7798 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.651e-05/0.007237, allocations: 148.8 kB / 0.7799 GB, free: 0.5 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.007265, allocations: 49.69 kB / 0.78 GB, free: 456 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.26e-05/0.007298, allocations: 93.08 kB / 0.7801 GB, free: 360 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.997e-05/0.007368, allocations: 107.2 kB / 0.7802 GB, free: 252 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-05/0.007432, allocations: 89.61 kB / 0.7803 GB, free: 156 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.559e-05/0.007517, allocations: 338.8 kB / 0.7806 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.03e-05/0.007568, allocations: 58.34 kB / 0.7806 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.808e-05/0.007636, allocations: 103.2 kB / 0.7807 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.007789, allocations: 225.1 kB / 0.7809 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.007791, allocations: 0 / 0.7809 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0002439/0.008035, allocations: 266.4 kB / 0.7812 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.008046, allocations: 7.938 kB / 0.7812 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.008058, allocations: 4.562 kB / 0.7812 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.624e-06/0.008065, allocations: 0.5625 kB / 0.7812 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.008218, allocations: 75.89 kB / 0.7813 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.008222, allocations: 9 kB / 0.7813 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.831e-05/0.00827, allocations: 39.69 kB / 0.7813 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.008283, allocations: 12.5 kB / 0.7813 GB, free: 15 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.0001071/0.00839, allocations: 182.3 kB / 0.7815 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.979e-06/0.0084, allocations: 8 kB / 0.7815 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.265e-05/0.008423, allocations: 17.55 kB / 0.7815 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.008425, allocations: 0.5625 kB / 0.7815 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.185e-06/0.008427, allocations: 0.5 kB / 0.7815 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.008431, allocations: 1.375 kB / 0.7815 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002365/0.008667, allocations: 389.7 kB / 0.7819 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.008668, allocations: 0 / 0.7819 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.83e-05/0.008687, allocations: 7.984 kB / 0.7819 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.008689, allocations: 5.219 kB / 0.7819 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-06/0.008694, allocations: 0 / 0.7819 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.008695, allocations: 4 kB / 0.7819 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.008696, allocations: 0 / 0.7819 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001554/0.008851, allocations: 313.2 kB / 0.7822 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.212e-05/0.008863, allocations: 19.78 kB / 0.7822 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.008889, allocations: 28.92 kB / 0.7823 GB, free: 14 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.864e-05/0.008928, allocations: 7.984 kB / 0.7823 GB, free: 14 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.249e-05/0.00895, allocations: 0 / 0.7823 GB, free: 14 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.008956, allocations: 8.922 kB / 0.7823 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.874e-05/0.008975, allocations: 24.83 kB / 0.7823 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.008975, allocations: 0.8438 kB / 0.7823 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00017/0.009145, allocations: 47.94 kB / 0.7824 GB, free: 13.91 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.0002753/0.00942, allocations: 225.5 kB / 0.7826 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001927/0.009613, allocations: 218.5 kB / 0.7828 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.009616, allocations: 3.938 kB / 0.7828 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.099e-05/0.009657, allocations: 48.83 kB / 0.7828 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001323/0.009789, allocations: 15.98 kB / 0.7828 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004903/0.01028, allocations: 324.5 kB / 0.7832 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.079e-05/0.01032, allocations: 84.27 kB / 0.7832 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.409e-05/0.01035, allocations: 13.48 kB / 0.7833 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.709e-05/0.01041, allocations: 74.12 kB / 0.7833 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of SimCode: time 7.21e-07/0.01041, allocations: 0 / 0.7833 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of Templates: time 0.003595/0.01401, allocations: 2.281 MB / 0.7856 GB, free: 10.76 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.874786068685353]