Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.001435/0.001435, allocations: 80.81 kB / 21.54 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.001771/0.001771, allocations: 163.9 kB / 24.96 MB, free: 8.234 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.9523/0.9523, allocations: 177.1 MB / 205.4 MB, free: 5.477 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.931/1.931, allocations: 389.6 MB / 0.6362 GB, free: 12.3 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.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.7759 GB, free: 5.418 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.967e-06/1.019e-05, allocations: 3.219 kB / 0.7759 GB, free: 5.414 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.001741/0.001751, allocations: 1.626 MB / 0.7775 GB, free: 3.801 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0008873/0.002639, allocations: 0.7329 MB / 0.7782 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.466e-05/0.002683, allocations: 0 / 0.7782 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 7.36e-05/0.002757, allocations: 8.422 kB / 0.7783 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 3.796e-05/0.002795, allocations: 21.48 kB / 0.7783 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003533/0.003148, allocations: 128.6 kB / 0.7784 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.00325, allocations: 86.94 kB / 0.7785 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 5.794e-05/0.003308, allocations: 11.97 kB / 0.7785 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.00341, allocations: 59.81 kB / 0.7786 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.36e-05/0.003453, allocations: 31.89 kB / 0.7786 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.003471, allocations: 8 kB / 0.7786 GB, free: 2.738 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001763/0.003647, allocations: 131.7 kB / 0.7787 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.63e-05/0.003683, allocations: 31.91 kB / 0.7787 GB, free: 2.578 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.936e-05/0.003713, allocations: 35.84 kB / 0.7788 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001679/0.003881, allocations: 166.3 kB / 0.7789 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.222e-06/0.003882, allocations: 0 / 0.7789 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.91e-07/0.003882, allocations: 7.938 kB / 0.7789 GB, free: 2.375 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.815e-06/0.003885, allocations: 0 / 0.7789 GB, free: 2.375 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.0003697/0.004255, allocations: 386.8 kB / 0.7793 GB, free: 1.969 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.879e-05/0.004284, allocations: 9.344 kB / 0.7793 GB, free: 1.961 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/0.004469, allocations: 37.81 kB / 0.7794 GB, free: 1.926 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.004598, allocations: 141.5 kB / 0.7795 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.00461, allocations: 5.516 kB / 0.7795 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.547e-06/0.004619, allocations: 4.375 kB / 0.7795 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.004733, allocations: 108.8 kB / 0.7796 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.004739, allocations: 4.125 kB / 0.7796 GB, free: 1.637 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-06/0.004746, allocations: 384 / 0.7796 GB, free: 1.637 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.004754, allocations: 12.52 kB / 0.7796 GB, free: 1.625 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.604e-05/0.00478, allocations: 20 kB / 0.7796 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002531/0.005033, allocations: 215.8 kB / 0.7798 GB, free: 1.379 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.661e-05/0.00509, allocations: 95.31 kB / 0.7799 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.482e-05/0.005115, allocations: 30.06 kB / 0.78 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.005129, allocations: 0 / 0.78 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.431e-05/0.005213, allocations: 115 kB / 0.7801 GB, free: 1.117 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=40): time 7.91e-07/0.005214, allocations: 0 / 0.7801 GB, free: 1.117 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40): time 0.000198/0.005412, allocations: 233 kB / 0.7803 GB, free: 0.8867 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.005456, allocations: 91.31 kB / 0.7804 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.635e-05/0.005523, allocations: 142.6 kB / 0.7805 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.005552, allocations: 54.36 kB / 0.7806 GB, free: 0.5742 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.015e-05/0.005582, allocations: 97.61 kB / 0.7807 GB, free: 488 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.173e-05/0.005634, allocations: 95.25 kB / 0.7808 GB, free: 392 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.447e-05/0.005698, allocations: 91.39 kB / 0.7808 GB, free: 296 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.7e-05/0.005785, allocations: 346.7 kB / 0.7812 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.951e-05/0.005845, allocations: 55.47 kB / 0.7812 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.373e-05/0.005918, allocations: 107.2 kB / 0.7813 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.006079, allocations: 218.4 kB / 0.7815 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.00608, allocations: 4 kB / 0.7815 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0002127/0.006293, allocations: 263 kB / 0.7818 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.006306, allocations: 9.5 kB / 0.7818 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.016e-06/0.006315, allocations: 0.875 kB / 0.7818 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.006327, allocations: 4 kB / 0.7818 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.006478, allocations: 80.77 kB / 0.7819 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.466e-06/0.006482, allocations: 0 / 0.7819 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.96e-05/0.006531, allocations: 48.17 kB / 0.7819 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.006545, allocations: 12 kB / 0.7819 GB, free: 15.13 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.000106/0.006651, allocations: 182 kB / 0.7821 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.238e-06/0.00666, allocations: 5.031 kB / 0.7821 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.359e-05/0.006684, allocations: 13.56 kB / 0.7821 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.006686, allocations: 4 kB / 0.7821 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.006687, allocations: 1.75 kB / 0.7821 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.006691, allocations: 3.984 kB / 0.7821 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000247/0.006938, allocations: 389.6 kB / 0.7825 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.006939, allocations: 0 / 0.7825 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.849e-05/0.006958, allocations: 4 kB / 0.7825 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.00696, allocations: 5.188 kB / 0.7825 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.006965, allocations: 0 / 0.7825 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.006966, allocations: 0 / 0.7825 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.006968, allocations: 5.703 kB / 0.7825 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.007121, allocations: 312 kB / 0.7828 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.459e-05/0.007136, allocations: 23.78 kB / 0.7828 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.007161, allocations: 31.97 kB / 0.7829 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.866e-05/0.007199, allocations: 4.656 kB / 0.7829 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.462e-05/0.007224, allocations: 7.984 kB / 0.7829 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.339e-06/0.007228, allocations: 1.656 kB / 0.7829 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.395e-05/0.007252, allocations: 27.2 kB / 0.7829 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.007252, allocations: 0 / 0.7829 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001682/0.007421, allocations: 51.94 kB / 0.783 GB, free: 14.04 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.0002909/0.007712, allocations: 213.7 kB / 0.7832 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001922/0.007904, allocations: 213.2 kB / 0.7834 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.007906, allocations: 0 / 0.7834 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.093e-05/0.007947, allocations: 53.89 kB / 0.7834 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001337/0.008081, allocations: 25.25 kB / 0.7835 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005159/0.008596, allocations: 321.4 kB / 0.7838 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.241e-05/0.008639, allocations: 80.28 kB / 0.7838 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.618e-05/0.008675, allocations: 13.48 kB / 0.7838 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.798e-05/0.008743, allocations: 71.36 kB / 0.7839 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of SimCode: time 6.11e-07/0.008744, allocations: 0 / 0.7839 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of Templates: time 0.004004/0.01275, allocations: 2.281 MB / 0.7861 GB, free: 10.9 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.008119342848659]