Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.858/1.858, allocations: 288.3 MB / 303.2 MB, free: 8.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001601/0.001601, allocations: 182 kB / 371.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.898/1.898, allocations: 205.4 MB / 0.6306 GB, free: 9.922 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001084/0.001084, allocations: 103.4 kB / 0.7439 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004756/0.0004756, allocations: 14.05 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2708, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001362/0.2722, allocations: 1.054 MB / 0.9804 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006274/0.2729, allocations: 333 kB / 0.9808 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.722e-05/0.2729, allocations: 4 kB / 0.9808 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.416e-05/0.273, allocations: 0 / 0.9808 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.42e-05/0.2731, allocations: 11.98 kB / 0.9808 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003617/0.2734, allocations: 63.8 kB / 0.9808 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.734e-05/0.2735, allocations: 31.89 kB / 0.9809 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.183e-05/0.2735, allocations: 0 / 0.9809 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.612e-05/0.2736, allocations: 15.98 kB / 0.9809 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.714e-05/0.2736, allocations: 19.92 kB / 0.9809 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.2737, allocations: 0 / 0.9809 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.2738, allocations: 59.94 kB / 0.981 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.572e-05/0.2738, allocations: 27.91 kB / 0.981 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.219e-05/0.2739, allocations: 45.64 kB / 0.981 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.274, allocations: 111.8 kB / 0.9811 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.274, allocations: 0 / 0.9811 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.815e-06/0.274, allocations: 0 / 0.9811 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.2741, allocations: 0 / 0.9811 GB, free: 25.95 MB / 0.6198 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.0004242/0.2745, allocations: 0.4929 MB / 0.9816 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.2745, allocations: 8.031 kB / 0.9816 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.2746, allocations: 27.73 kB / 0.9817 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.2748, allocations: 171 kB / 0.9818 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.796e-05/0.2748, allocations: 4 kB / 0.9818 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.2748, allocations: 11.88 kB / 0.9818 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000237/0.2751, allocations: 241.4 kB / 0.9821 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.2751, allocations: 4 kB / 0.9821 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.2751, allocations: 0 / 0.9821 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.2751, allocations: 3.938 kB / 0.9821 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.2752, allocations: 147.9 kB / 0.9822 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000141/0.2754, allocations: 197.4 kB / 0.9824 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003173/0.2757, allocations: 0.5376 MB / 0.9829 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.709e-06/0.2757, allocations: 3.938 kB / 0.9829 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003497/0.2761, allocations: 391.7 kB / 0.9833 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=39): time 1.273e-06/0.2761, allocations: 0 / 0.9833 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39): time 0.0006971/0.2768, allocations: 0.7818 MB / 0.9841 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/0.2769, allocations: 113.1 kB / 0.9842 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.584e-05/0.2769, allocations: 97.84 kB / 0.9843 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.2769, allocations: 33.64 kB / 0.9843 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.404e-05/0.277, allocations: 80.8 kB / 0.9844 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.051e-05/0.277, allocations: 78.94 kB / 0.9844 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.277, allocations: 0 / 0.9844 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.708e-05/0.2771, allocations: 322.8 kB / 0.9848 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.367e-05/0.2772, allocations: 87.97 kB / 0.9848 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.336e-05/0.2772, allocations: 75.98 kB / 0.9849 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.2774, allocations: 181.6 kB / 0.9851 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2774, allocations: 0 / 0.9851 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002431/0.2776, allocations: 344.3 kB / 0.9854 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.685e-05/0.2777, allocations: 73.66 kB / 0.9855 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.2777, allocations: 0 / 0.9855 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.2777, allocations: 0 / 0.9855 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.494e-05/0.2778, allocations: 4 kB / 0.9855 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.2778, allocations: 3.984 kB / 0.9855 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.2779, allocations: 19.75 kB / 0.9855 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.2779, allocations: 8 kB / 0.9855 GB, free: 21.18 MB / 0.6198 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.0001935/0.2781, allocations: 273.6 kB / 0.9858 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/0.2782, allocations: 23.86 kB / 0.9858 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.155e-05/0.2782, allocations: 5.219 kB / 0.9858 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.2782, allocations: 0 / 0.9858 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2782, allocations: 8 kB / 0.9858 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.2782, allocations: 0 / 0.9858 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.2783, allocations: 245.3 kB / 0.986 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.2784, allocations: 4 kB / 0.9861 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.2784, allocations: 0 / 0.9861 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.2784, allocations: 7.938 kB / 0.9861 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.2784, allocations: 16 kB / 0.9861 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2784, allocations: 0 / 0.9861 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.2784, allocations: 0 / 0.9861 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008698/0.2793, allocations: 1.272 MB / 0.9873 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.653e-05/0.2793, allocations: 92.86 kB / 0.9874 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.024e-05/0.2794, allocations: 79.84 kB / 0.9875 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-05/0.2795, allocations: 11.98 kB / 0.9875 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.802e-05/0.2795, allocations: 12.03 kB / 0.9875 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.2796, allocations: 15.92 kB / 0.9875 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.324e-05/0.2796, allocations: 79.28 kB / 0.9876 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2796, allocations: 0 / 0.9876 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002737/0.2799, allocations: 68 kB / 0.9877 GB, free: 18.88 MB / 0.6198 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.0003985/0.2803, allocations: 255.9 kB / 0.9879 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001112/0.2814, allocations: 1.964 MB / 0.9898 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2814, allocations: 0 / 0.9898 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.2824, allocations: 2.018 MB / 0.9918 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001928/0.2826, allocations: 15.98 kB / 0.9918 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005726/0.2833, allocations: 338.7 kB / 0.9921 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001973/0.2835, allocations: 0.7208 MB / 0.9928 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.129e-05/0.2835, allocations: 3.938 kB / 0.9928 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.446e-05/0.2835, allocations: 7.438 kB / 0.9928 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of SimCode: time 5.91e-07/0.2836, allocations: 4 kB / 0.9929 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of Templates: time 0.005018/0.2886, allocations: 2.38 MB / 0.9952 GB, free: 11.11 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1)