Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 100 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.515/1.515, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.786/1.786, allocations: 292.5 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005804/0.0005805, allocations: 17.12 kB / 0.6735 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2547, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001715/0.2564, allocations: 1.058 MB / 0.7881 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000703/0.2572, allocations: 341.2 kB / 0.7885 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.663e-05/0.2572, allocations: 0 / 0.7885 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.011e-05/0.2573, allocations: 0 / 0.7885 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.473e-05/0.2574, allocations: 7.984 kB / 0.7885 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004285/0.2578, allocations: 67.8 kB / 0.7885 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.106e-05/0.2579, allocations: 27.89 kB / 0.7886 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.227e-05/0.258, allocations: 7.984 kB / 0.7886 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.345e-05/0.258, allocations: 12 kB / 0.7886 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.822e-05/0.2581, allocations: 19.92 kB / 0.7886 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.2581, allocations: 4 kB / 0.7886 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001578/0.2582, allocations: 59.92 kB / 0.7887 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.288e-05/0.2583, allocations: 19.92 kB / 0.7887 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.132e-05/0.2583, allocations: 49.64 kB / 0.7887 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.2585, allocations: 107.8 kB / 0.7888 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.2585, allocations: 0 / 0.7888 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2585, allocations: 0 / 0.7888 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.2586, allocations: 4 kB / 0.7888 GB, free: 10.19 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0005321/0.2591, allocations: 0.5046 MB / 0.7893 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.2591, allocations: 8.031 kB / 0.7893 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/0.2593, allocations: 15.81 kB / 0.7893 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.2594, allocations: 174.9 kB / 0.7895 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.2595, allocations: 4 kB / 0.7895 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.2595, allocations: 4 kB / 0.7895 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003032/0.2598, allocations: 253.5 kB / 0.7898 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.2598, allocations: 0 / 0.7898 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.2598, allocations: 4 kB / 0.7898 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.2598, allocations: 0 / 0.7898 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/0.26, allocations: 144 kB / 0.7899 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001995/0.2602, allocations: 197.4 kB / 0.7901 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004383/0.2606, allocations: 0.5298 MB / 0.7906 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.2607, allocations: 0 / 0.7906 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004414/0.2611, allocations: 399.6 kB / 0.791 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=39): time 1.493e-06/0.2611, allocations: 0 / 0.791 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39): time 0.000952/0.2621, allocations: 0.788 MB / 0.7918 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.105e-05/0.2622, allocations: 105.1 kB / 0.7919 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.624e-05/0.2623, allocations: 97.86 kB / 0.792 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.2623, allocations: 25.7 kB / 0.792 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.006e-05/0.2624, allocations: 84.73 kB / 0.7921 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.955e-05/0.2625, allocations: 78.94 kB / 0.7921 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.454e-06/0.2625, allocations: 0 / 0.7921 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.2627, allocations: 338.8 kB / 0.7925 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.49e-05/0.2628, allocations: 79.98 kB / 0.7925 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.617e-05/0.2629, allocations: 83.97 kB / 0.7926 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.263, allocations: 170.9 kB / 0.7928 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.263, allocations: 0 / 0.7928 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003892/0.2634, allocations: 344 kB / 0.7931 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.000105/0.2636, allocations: 77.64 kB / 0.7932 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.2636, allocations: 0 / 0.7932 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.2636, allocations: 0 / 0.7932 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.992e-05/0.2637, allocations: 4 kB / 0.7932 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.2637, allocations: 4.062 kB / 0.7932 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.2638, allocations: 27.75 kB / 0.7932 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.2639, allocations: 8 kB / 0.7932 GB, free: 5.406 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 40 ($whenCondition1,occ.occ,occ.mu,$PRE.occ.tNext,occ.tNext,occ.hold_time,occ.r,occ.state[1],occ.state[2],occ.state[3],occ.state[4],occ.state[5],occ.state[6],occ.state[7],occ.state[8],occ.state[9],occ.state[10],occ.state[11],occ.state[12],occ.state[13],occ.state[14],occ.state[15],occ.state[16],occ.state[17],occ.state[18],occ.state[19],occ.state[20],occ.state[21],occ.state[22],occ.state[23],occ.state[24],occ.state[25],occ.state[26],occ.state[27],occ.state[28],occ.state[29],occ.state[30],occ.state[31],occ.state[32],occ.state[33]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002868/0.2642, allocations: 265.7 kB / 0.7935 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.635e-05/0.2642, allocations: 19.86 kB / 0.7935 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.262e-05/0.2642, allocations: 13.14 kB / 0.7935 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.2642, allocations: 4 kB / 0.7935 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.2642, allocations: 0 / 0.7935 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.2642, allocations: 0 / 0.7935 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/0.2645, allocations: 253.3 kB / 0.7938 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2645, allocations: 0 / 0.7938 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.2645, allocations: 0 / 0.7938 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.2645, allocations: 3.953 kB / 0.7938 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/0.2645, allocations: 12 kB / 0.7938 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.488e-05/0.2645, allocations: 3.984 kB / 0.7938 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2645, allocations: 0 / 0.7938 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/0.2658, allocations: 1.268 MB / 0.795 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.531e-05/0.2659, allocations: 92.89 kB / 0.7951 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/0.266, allocations: 83.89 kB / 0.7952 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.802e-05/0.2661, allocations: 8 kB / 0.7952 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.2662, allocations: 8 kB / 0.7952 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/0.2662, allocations: 15.98 kB / 0.7952 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.9e-05/0.2662, allocations: 75.28 kB / 0.7953 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9.908e-06/0.2663, allocations: 4 kB / 0.7953 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003062/0.2666, allocations: 71.92 kB / 0.7954 GB, free: 3.121 MB / 0.6075 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 ($whenCondition1,occ.occ,occ.mu,occ.tNext,occ.hold_time,occ.r,occ.state[1],occ.state[2],occ.state[3],occ.state[4],occ.state[5],occ.state[6],occ.state[7],occ.state[8],occ.state[9],occ.state[10],occ.state[11],occ.state[12],occ.state[13],occ.state[14],occ.state[15],occ.state[16],occ.state[17],occ.state[18],occ.state[19],occ.state[20],occ.state[21],occ.state[22],occ.state[23],occ.state[24],occ.state[25],occ.state[26],occ.state[27],occ.state[28],occ.state[29],occ.state[30],occ.state[31],occ.state[32],occ.state[33]) * Number of discrete states: 39 (occ.tNext,occ.hold_time,occ.mu,occ.occ,occ.state[33],occ.state[32],occ.state[31],occ.state[30],occ.state[29],occ.state[28],occ.state[27],occ.state[26],occ.state[25],occ.state[24],occ.state[23],occ.state[22],occ.state[21],occ.state[20],occ.state[19],occ.state[18],occ.state[17],occ.state[16],occ.state[15],occ.state[14],occ.state[13],occ.state[12],occ.state[11],occ.state[10],occ.state[9],occ.state[8],occ.state[7],occ.state[6],occ.state[5],occ.state[4],occ.state[3],occ.state[2],occ.state[1],occ.r,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005255/0.2671, allocations: 258.8 kB / 0.7956 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001746/0.2689, allocations: 1.956 MB / 0.7975 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2689, allocations: 0 / 0.7975 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00158/0.2705, allocations: 2.022 MB / 0.7995 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001888/0.2707, allocations: 12 kB / 0.7995 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005694/0.2712, allocations: 338.7 kB / 0.7998 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.2716, allocations: 0.7247 MB / 0.8005 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.635e-05/0.2716, allocations: 0 / 0.8005 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.517e-05/0.2716, allocations: 11.44 kB / 0.8005 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.2716, allocations: 0 / 0.8005 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of Templates: time 0.006288/0.2779, allocations: 2.378 MB / 0.8029 GB, free: 11.36 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & ./Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1) Environment - environmentSimulation: