Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.002318/0.002318, allocations: 80.52 kB / 19.96 MB, free: 4.602 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.002778/0.002778, allocations: 173.2 kB / 23.24 MB, free: 1.32 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 1.575/1.575, allocations: 177.1 MB / 203.5 MB, free: 5.676 MB / 186.7 MB " [Timeout remaining time 178] 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 3.278/3.278, allocations: 389.5 MB / 0.6343 GB, free: 12.62 MB / 0.6042 GB " [Timeout remaining time 176] 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.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 1.001 GB, free: 13.08 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.819e-05/2.942e-05, allocations: 5.234 kB / 1.001 GB, free: 13.07 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002993/0.003023, allocations: 1.526 MB / 1.003 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00156/0.004583, allocations: 0.7088 MB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.986e-05/0.004642, allocations: 0 / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 8.802e-05/0.00473, allocations: 3.938 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.352e-05/0.004774, allocations: 15.86 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008641/0.005638, allocations: 143.3 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.005795, allocations: 83.69 kB / 1.004 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.816e-05/0.005883, allocations: 11.98 kB / 1.004 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001671/0.006051, allocations: 51.95 kB / 1.004 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.797e-05/0.006129, allocations: 31.88 kB / 1.004 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.719e-05/0.006156, allocations: 8 kB / 1.004 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003126/0.006468, allocations: 123.7 kB / 1.004 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.817e-05/0.006546, allocations: 39.83 kB / 1.004 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.06e-05/0.006607, allocations: 27.92 kB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003828/0.00699, allocations: 199.3 kB / 1.004 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.006993, allocations: 4 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.022e-06/0.006995, allocations: 0 / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.007, allocations: 0 / 1.004 GB, free: 10.09 MB / 0.9636 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.0008502/0.00785, allocations: 420.1 kB / 1.004 GB, free: 9.645 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.007889, allocations: 9.344 kB / 1.004 GB, free: 9.637 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003583/0.008247, allocations: 44.77 kB / 1.004 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.008487, allocations: 144.7 kB / 1.005 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.00851, allocations: 12.38 kB / 1.005 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.008527, allocations: 4.375 kB / 1.005 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003324/0.00886, allocations: 198.2 kB / 1.005 GB, free: 9.215 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.00887, allocations: 192 / 1.005 GB, free: 9.215 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.00888, allocations: 384 / 1.005 GB, free: 9.215 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.008887, allocations: 3.938 kB / 1.005 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002127/0.0091, allocations: 107.7 kB / 1.005 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006244/0.009724, allocations: 280.3 kB / 1.005 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002038/0.009928, allocations: 114.8 kB / 1.005 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001588/0.01009, allocations: 101.2 kB / 1.005 GB, free: 8.574 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.668e-05/0.01011, allocations: 3.984 kB / 1.005 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003302/0.01044, allocations: 212.2 kB / 1.006 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=40): time 1.292e-06/0.01044, allocations: 0 / 1.006 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of matching and sorting (n=40): time 0.0009093/0.01135, allocations: 0.5126 MB / 1.006 GB, free: 7.836 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.32e-05/0.01145, allocations: 95.36 kB / 1.006 GB, free: 7.73 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.0116, allocations: 149.7 kB / 1.006 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 6.583e-05/0.01167, allocations: 57.69 kB / 1.006 GB, free: 7.512 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.159e-05/0.01174, allocations: 89.09 kB / 1.006 GB, free: 7.422 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.01185, allocations: 103.3 kB / 1.007 GB, free: 7.32 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.01199, allocations: 101.6 kB / 1.007 GB, free: 7.215 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001933/0.01218, allocations: 338.8 kB / 1.007 GB, free: 6.875 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003067/0.01249, allocations: 176.6 kB / 1.007 GB, free: 6.699 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003579/0.01285, allocations: 243.2 kB / 1.007 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006744/0.01352, allocations: 435.4 kB / 1.008 GB, free: 6.012 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.01352, allocations: 0 / 1.008 GB, free: 6.012 MB / 0.9636 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0008454/0.01437, allocations: 0.5048 MB / 1.008 GB, free: 5.5 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.01439, allocations: 4 kB / 1.008 GB, free: 5.496 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.0144, allocations: 3.938 kB / 1.008 GB, free: 5.492 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.01442, allocations: 4 kB / 1.008 GB, free: 5.488 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.01455, allocations: 28.02 kB / 1.008 GB, free: 5.461 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.01456, allocations: 7.984 kB / 1.008 GB, free: 5.453 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.01467, allocations: 35.67 kB / 1.008 GB, free: 5.418 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.671e-05/0.0147, allocations: 15.94 kB / 1.008 GB, free: 5.402 MB / 0.9636 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.0002285/0.01493, allocations: 199 kB / 1.009 GB, free: 5.195 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.032e-05/0.01496, allocations: 19.8 kB / 1.009 GB, free: 5.176 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.276e-05/0.01499, allocations: 13.61 kB / 1.009 GB, free: 5.164 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.01499, allocations: 4 kB / 1.009 GB, free: 5.16 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.01499, allocations: 0 / 1.009 GB, free: 5.16 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.015, allocations: 0 / 1.009 GB, free: 5.16 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008616/0.01586, allocations: 0.5987 MB / 1.009 GB, free: 4.523 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.01586, allocations: 0 / 1.009 GB, free: 4.523 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.235e-05/0.0159, allocations: 4 kB / 1.009 GB, free: 4.52 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.01591, allocations: 3.984 kB / 1.009 GB, free: 4.516 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.01592, allocations: 0 / 1.009 GB, free: 4.516 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.01592, allocations: 0 / 1.009 GB, free: 4.516 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01592, allocations: 0 / 1.009 GB, free: 4.516 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006793/0.0166, allocations: 488.8 kB / 1.01 GB, free: 4.023 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.705e-05/0.01663, allocations: 19.84 kB / 1.01 GB, free: 4.004 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.782e-05/0.01667, allocations: 31.98 kB / 1.01 GB, free: 3.973 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.443e-05/0.01677, allocations: 8 kB / 1.01 GB, free: 3.965 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/0.01682, allocations: 7.984 kB / 1.01 GB, free: 3.957 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.01683, allocations: 4 kB / 1.01 GB, free: 3.953 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.008e-05/0.01691, allocations: 99.27 kB / 1.01 GB, free: 3.855 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.01691, allocations: 0 / 1.01 GB, free: 3.855 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003328/0.01724, allocations: 51.92 kB / 1.01 GB, free: 3.805 MB / 0.9636 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.0005483/0.01779, allocations: 224.2 kB / 1.01 GB, free: 3.594 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0009078/0.0187, allocations: 406 kB / 1.01 GB, free: 3.191 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.0187, allocations: 0 / 1.01 GB, free: 3.191 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.01888, allocations: 104 kB / 1.011 GB, free: 3.09 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.01918, allocations: 15.88 kB / 1.011 GB, free: 3.074 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007028/0.01988, allocations: 375.6 kB / 1.011 GB, free: 2.684 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001442/0.02002, allocations: 115.5 kB / 1.011 GB, free: 2.547 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 7.132e-05/0.0201, allocations: 17.48 kB / 1.011 GB, free: 2.527 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.602e-05/0.02014, allocations: 16.5 kB / 1.011 GB, free: 2.508 MB / 0.9636 GB Notification: Performance of SimCode: time 7.31e-07/0.02014, allocations: 0 / 1.011 GB, free: 2.508 MB / 0.9636 GB Notification: Performance of Templates: time 0.006604/0.02675, allocations: 2.155 MB / 1.013 GB, free: 408 kB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.085638405755162]