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.001499/0.001499, allocations: 84.8 kB / 21.62 MB, free: 2.836 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.00112/0.00112, allocations: 171.8 kB / 25.05 MB, free: 9.152 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.9877/0.9877, allocations: 177.1 MB / 205.5 MB, free: 5.469 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.891/1.891, allocations: 389.6 MB / 0.6363 GB, free: 12.29 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.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.823e-06/1.823e-06, allocations: 0 / 0.7761 GB, free: 5.309 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.404e-05/2.586e-05, allocations: 4.281 kB / 0.7761 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.003121/0.003147, allocations: 1.609 MB / 0.7777 GB, free: 3.707 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001474/0.004621, allocations: 0.7477 MB / 0.7784 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.733e-05/0.004688, allocations: 0.9375 kB / 0.7784 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001132/0.004801, allocations: 3.938 kB / 0.7784 GB, free: 2.957 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.252e-05/0.004854, allocations: 15.09 kB / 0.7784 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006123/0.005466, allocations: 132.2 kB / 0.7786 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.005618, allocations: 79.16 kB / 0.7786 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.188e-05/0.0057, allocations: 16.47 kB / 0.7787 GB, free: 2.734 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.005867, allocations: 60.62 kB / 0.7787 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.873e-05/0.005936, allocations: 31.89 kB / 0.7788 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.005956, allocations: 5.531 kB / 0.7788 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002926/0.006249, allocations: 135.7 kB / 0.7789 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.377e-05/0.006303, allocations: 39.84 kB / 0.7789 GB, free: 2.469 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.967e-05/0.006342, allocations: 23.91 kB / 0.7789 GB, free: 2.445 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002549/0.006597, allocations: 174.1 kB / 0.7791 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.006599, allocations: 0 / 0.7791 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.133e-06/0.006601, allocations: 0 / 0.7791 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.006605, allocations: 0 / 0.7791 GB, free: 2.277 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.0005655/0.00717, allocations: 390.8 kB / 0.7795 GB, free: 1.867 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.007212, allocations: 9.344 kB / 0.7795 GB, free: 1.859 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003267/0.007539, allocations: 36.44 kB / 0.7795 GB, free: 1.828 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.007721, allocations: 141.5 kB / 0.7797 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.00774, allocations: 4.375 kB / 0.7797 GB, free: 1.66 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.007758, allocations: 8.375 kB / 0.7797 GB, free: 1.652 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.007933, allocations: 111.6 kB / 0.7798 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.007941, allocations: 192 / 0.7798 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.007951, allocations: 4.359 kB / 0.7798 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.007959, allocations: 3.938 kB / 0.7798 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.684e-05/0.008005, allocations: 25.59 kB / 0.7798 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005083/0.008514, allocations: 210.8 kB / 0.78 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.63e-05/0.00861, allocations: 98.75 kB / 0.7801 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.907e-05/0.008649, allocations: 29.81 kB / 0.7801 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.008665, allocations: 1.312 kB / 0.7801 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001292/0.008794, allocations: 113.2 kB / 0.7802 GB, free: 1.016 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=40): time 1.843e-06/0.008796, allocations: 0 / 0.7802 GB, free: 1.016 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40): time 0.0003194/0.009115, allocations: 234.5 kB / 0.7805 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.309e-05/0.009189, allocations: 87.38 kB / 0.7806 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.009289, allocations: 142.5 kB / 0.7807 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.168e-05/0.00934, allocations: 57.67 kB / 0.7807 GB, free: 484 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.474e-05/0.009385, allocations: 93.67 kB / 0.7808 GB, free: 388 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.705e-05/0.009472, allocations: 103.2 kB / 0.7809 GB, free: 284 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.009581, allocations: 90.95 kB / 0.781 GB, free: 188 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.009719, allocations: 346.7 kB / 0.7814 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.408e-05/0.009813, allocations: 51.47 kB / 0.7814 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.009945, allocations: 107.9 kB / 0.7815 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001882/0.01013, allocations: 222.2 kB / 0.7817 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.01014, allocations: 1.062 kB / 0.7817 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0002388/0.01038, allocations: 253.6 kB / 0.782 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.01039, allocations: 12.44 kB / 0.782 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/0.01041, allocations: 0.8594 kB / 0.782 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.01042, allocations: 7.984 kB / 0.782 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.01063, allocations: 73.16 kB / 0.782 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.01064, allocations: 11.92 kB / 0.7821 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.587e-05/0.0107, allocations: 43.67 kB / 0.7821 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.01072, allocations: 8.531 kB / 0.7821 GB, free: 15.03 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.0001368/0.01085, allocations: 182.2 kB / 0.7823 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.427e-05/0.01087, allocations: 8 kB / 0.7823 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.45e-05/0.01089, allocations: 14.88 kB / 0.7823 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.0109, allocations: 0 / 0.7823 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.0109, allocations: 0 / 0.7823 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.0109, allocations: 11.92 kB / 0.7823 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002998/0.0112, allocations: 382.7 kB / 0.7827 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.01121, allocations: 0 / 0.7827 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.977e-05/0.01123, allocations: 8 kB / 0.7827 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.01123, allocations: 5.312 kB / 0.7827 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.01124, allocations: 4 kB / 0.7827 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.01124, allocations: 3.984 kB / 0.7827 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01124, allocations: 1.5 kB / 0.7827 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001646/0.01141, allocations: 308.1 kB / 0.783 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.471e-05/0.01142, allocations: 19.78 kB / 0.783 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.01145, allocations: 31.98 kB / 0.783 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.279e-05/0.01149, allocations: 4.844 kB / 0.7831 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/0.01152, allocations: 7.984 kB / 0.7831 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.01153, allocations: 4.906 kB / 0.7831 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.106e-05/0.01155, allocations: 23.45 kB / 0.7831 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01155, allocations: 0 / 0.7831 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001839/0.01173, allocations: 56.59 kB / 0.7831 GB, free: 13.94 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.0003527/0.01209, allocations: 214 kB / 0.7833 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000219/0.01231, allocations: 216.2 kB / 0.7835 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.01231, allocations: 4 kB / 0.7836 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.648e-05/0.01236, allocations: 48.81 kB / 0.7836 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000153/0.01251, allocations: 18.17 kB / 0.7836 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005702/0.01308, allocations: 327 kB / 0.7839 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.482e-05/0.01312, allocations: 76.28 kB / 0.784 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.943e-05/0.01316, allocations: 14.89 kB / 0.784 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.473e-05/0.01323, allocations: 71.36 kB / 0.7841 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of SimCode: time 7.32e-07/0.01323, allocations: 1.281 kB / 0.7841 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of Templates: time 0.00419/0.01742, allocations: 2.286 MB / 0.7863 GB, free: 10.79 MB / 0.7448 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: 5.059147189371288]