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.001089/0.001089, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001181/0.001181, allocations: 161 kB / 24.17 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 0.9719/0.9719, allocations: 177.1 MB / 204.6 MB, free: 5.48 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.028/2.028, allocations: 389.6 MB / 0.6354 GB, free: 12.29 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.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.433e-06/1.433e-06, allocations: 1.422 kB / 0.7752 GB, free: 5.426 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.906e-05/2.049e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.422 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.002172/0.002193, allocations: 1.609 MB / 0.7768 GB, free: 3.824 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001085/0.003278, allocations: 0.7442 MB / 0.7775 GB, free: 3.082 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.249e-05/0.00334, allocations: 0 / 0.7775 GB, free: 3.082 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 9.215e-05/0.003432, allocations: 8.422 kB / 0.7775 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.107e-05/0.003473, allocations: 10.33 kB / 0.7775 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004559/0.003929, allocations: 137.3 kB / 0.7776 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000119/0.004048, allocations: 88.91 kB / 0.7777 GB, free: 2.855 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.634e-05/0.004124, allocations: 11.97 kB / 0.7777 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.004255, allocations: 52.45 kB / 0.7778 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.029e-05/0.004316, allocations: 29.2 kB / 0.7778 GB, free: 2.766 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.004333, allocations: 11.94 kB / 0.7778 GB, free: 2.754 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002077/0.004541, allocations: 135.7 kB / 0.778 GB, free: 2.621 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.062e-05/0.004581, allocations: 36.39 kB / 0.778 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.394e-05/0.004615, allocations: 27.86 kB / 0.778 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.00481, allocations: 172.7 kB / 0.7782 GB, free: 2.391 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.004812, allocations: 0 / 0.7782 GB, free: 2.391 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.82e-07/0.004813, allocations: 0 / 0.7782 GB, free: 2.391 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.004817, allocations: 0.6875 kB / 0.7782 GB, free: 2.391 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.0004287/0.005245, allocations: 388.2 kB / 0.7786 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.005284, allocations: 9.344 kB / 0.7786 GB, free: 1.977 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002201/0.005505, allocations: 33.44 kB / 0.7786 GB, free: 1.945 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.005654, allocations: 145.5 kB / 0.7787 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.005668, allocations: 5.25 kB / 0.7787 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.005678, allocations: 4.375 kB / 0.7787 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.005811, allocations: 113.3 kB / 0.7788 GB, free: 1.652 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.005821, allocations: 4.172 kB / 0.7789 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.005829, allocations: 384 / 0.7789 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.005835, allocations: 3.938 kB / 0.7789 GB, free: 1.645 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.157e-05/0.005867, allocations: 24.5 kB / 0.7789 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002846/0.006152, allocations: 207.7 kB / 0.7791 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.485e-05/0.006226, allocations: 100.3 kB / 0.7792 GB, free: 1.293 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.938e-05/0.006256, allocations: 33.17 kB / 0.7792 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.006269, allocations: 0 / 0.7792 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.544e-05/0.006364, allocations: 109.2 kB / 0.7793 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=40): time 1.202e-06/0.006366, allocations: 0.5625 kB / 0.7793 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40): time 0.0002186/0.006584, allocations: 226.4 kB / 0.7795 GB, free: 0.9141 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.006634, allocations: 95.31 kB / 0.7796 GB, free: 0.8086 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.773e-05/0.006712, allocations: 149.2 kB / 0.7798 GB, free: 0.6523 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.08e-05/0.006743, allocations: 53.62 kB / 0.7798 GB, free: 0.5938 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.667e-05/0.00678, allocations: 98.44 kB / 0.7799 GB, free: 0.4961 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.717e-05/0.006837, allocations: 99.25 kB / 0.78 GB, free: 408 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.397e-05/0.006911, allocations: 97.58 kB / 0.7801 GB, free: 304 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.713e-05/0.007008, allocations: 339.4 kB / 0.7804 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.819e-05/0.007066, allocations: 51.47 kB / 0.7805 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003481/0.007414, allocations: 112.6 kB / 0.7806 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.007585, allocations: 221.7 kB / 0.7808 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.007587, allocations: 0 / 0.7808 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0002317/0.007819, allocations: 258.7 kB / 0.781 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.007833, allocations: 13 kB / 0.781 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.007846, allocations: 3.984 kB / 0.781 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.00786, allocations: 4 kB / 0.7811 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.008027, allocations: 72.41 kB / 0.7811 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.008034, allocations: 12.78 kB / 0.7811 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.312e-05/0.008087, allocations: 43.61 kB / 0.7812 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.008103, allocations: 12.53 kB / 0.7812 GB, free: 15.14 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.0001325/0.008236, allocations: 187 kB / 0.7814 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.204e-05/0.008248, allocations: 4 kB / 0.7814 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.401e-05/0.008272, allocations: 13.56 kB / 0.7814 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.008274, allocations: 0 / 0.7814 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.008278, allocations: 7.984 kB / 0.7814 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.008281, allocations: 1.5 kB / 0.7814 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002874/0.008568, allocations: 381.7 kB / 0.7818 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.008571, allocations: 4 kB / 0.7818 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.003e-05/0.008601, allocations: 0 / 0.7818 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.008605, allocations: 9.062 kB / 0.7818 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.008614, allocations: 3.984 kB / 0.7818 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.008615, allocations: 0 / 0.7818 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.008616, allocations: 1 kB / 0.7818 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000165/0.008781, allocations: 304.3 kB / 0.7821 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.51e-05/0.008796, allocations: 20.91 kB / 0.7821 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.008823, allocations: 27.98 kB / 0.7821 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.664e-05/0.008869, allocations: 7.938 kB / 0.7821 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.124e-05/0.008901, allocations: 13.08 kB / 0.7821 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.008906, allocations: 0 / 0.7821 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.107e-05/0.008927, allocations: 24.77 kB / 0.7822 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.008927, allocations: 5.281 kB / 0.7822 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001986/0.009126, allocations: 55.92 kB / 0.7822 GB, free: 14.05 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.0003708/0.009497, allocations: 215.9 kB / 0.7824 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000216/0.009713, allocations: 212.3 kB / 0.7826 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.009715, allocations: 0 / 0.7826 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.641e-05/0.009762, allocations: 55.89 kB / 0.7827 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.0001686/0.00993, allocations: 18.27 kB / 0.7827 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000576/0.01051, allocations: 327 kB / 0.783 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.693e-05/0.01055, allocations: 80.22 kB / 0.7831 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.672e-05/0.0106, allocations: 18.89 kB / 0.7831 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.45e-05/0.01066, allocations: 67.36 kB / 0.7832 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of SimCode: time 7.72e-07/0.01067, allocations: 1.281 kB / 0.7832 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of Templates: time 0.004424/0.01509, allocations: 2.269 MB / 0.7854 GB, free: 10.91 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.213748107198626]