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.618/1.618, allocations: 288.4 MB / 303.7 MB, free: 8.086 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.00101/0.00101, allocations: 181.7 kB / 372.3 MB, free: 10.09 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.589/1.589, allocations: 205.4 MB / 0.631 GB, free: 9.863 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.0008048/0.000805, allocations: 94.28 kB / 0.7444 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000382/0.000382, allocations: 18.31 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2522, allocations: 115.3 MB / 0.9801 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001344/0.2536, allocations: 1.05 MB / 0.9812 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006583/0.2543, allocations: 332.9 kB / 0.9815 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.553e-05/0.2543, allocations: 0 / 0.9815 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.751e-05/0.2544, allocations: 4 kB / 0.9815 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.743e-05/0.2545, allocations: 11.91 kB / 0.9815 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004296/0.2549, allocations: 67.86 kB / 0.9816 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.749e-05/0.255, allocations: 31.92 kB / 0.9816 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.914e-05/0.2551, allocations: 0 / 0.9816 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.437e-05/0.2551, allocations: 27.91 kB / 0.9816 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.022e-05/0.2552, allocations: 15.98 kB / 0.9816 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.2552, allocations: 0 / 0.9816 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.2553, allocations: 75.86 kB / 0.9817 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.422e-05/0.2554, allocations: 31.91 kB / 0.9817 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.673e-05/0.2555, allocations: 65.45 kB / 0.9818 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.2556, allocations: 115.7 kB / 0.9819 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.2557, allocations: 0 / 0.9819 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2557, allocations: 0 / 0.9819 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.2557, allocations: 0 / 0.9819 GB, free: 25.48 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.0003837/0.2561, allocations: 0.5087 MB / 0.9824 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.2561, allocations: 8.031 kB / 0.9824 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.2562, allocations: 16.75 kB / 0.9824 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.701e-05/0.2563, allocations: 176.2 kB / 0.9826 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.2564, allocations: 4.375 kB / 0.9826 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.2564, allocations: 4.375 kB / 0.9826 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.2566, allocations: 249.7 kB / 0.9828 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.2566, allocations: 4.125 kB / 0.9828 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.2566, allocations: 3.938 kB / 0.9828 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.2567, allocations: 11.94 kB / 0.9829 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.2568, allocations: 144 kB / 0.983 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001912/0.257, allocations: 189.5 kB / 0.9832 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003013/0.2573, allocations: 0.5298 MB / 0.9837 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000258/0.2576, allocations: 0.5204 MB / 0.9842 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.561e-06/0.2576, allocations: 0 / 0.9842 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003227/0.2579, allocations: 411.6 kB / 0.9846 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=39): time 1.863e-06/0.2579, allocations: 3.984 kB / 0.9846 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39): time 0.0006016/0.2585, allocations: 0.6831 MB / 0.9853 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.2586, allocations: 105.1 kB / 0.9854 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.587e-05/0.2586, allocations: 97.86 kB / 0.9855 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.2587, allocations: 25.7 kB / 0.9855 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.926e-05/0.2587, allocations: 84.8 kB / 0.9856 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.902e-05/0.2587, allocations: 78.84 kB / 0.9856 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-06/0.2587, allocations: 8.031 kB / 0.9856 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.854e-05/0.2588, allocations: 322.8 kB / 0.986 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.389e-05/0.2589, allocations: 83.97 kB / 0.986 GB, free: 21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.756e-05/0.2589, allocations: 91.84 kB / 0.9861 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002047/0.2592, allocations: 344.4 kB / 0.9864 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2592, allocations: 0 / 0.9864 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002531/0.2594, allocations: 332.1 kB / 0.9868 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.688e-05/0.2595, allocations: 85.58 kB / 0.9868 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.2595, allocations: 0 / 0.9868 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.2595, allocations: 4.062 kB / 0.9869 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.45e-05/0.2596, allocations: 4 kB / 0.9869 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.2596, allocations: 0 / 0.9869 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.2597, allocations: 19.75 kB / 0.9869 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.2597, allocations: 8 kB / 0.9869 GB, free: 20.1 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.0001809/0.2599, allocations: 261.7 kB / 0.9871 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.599e-05/0.26, allocations: 23.78 kB / 0.9872 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.052e-05/0.26, allocations: 9.203 kB / 0.9872 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.26, allocations: 0 / 0.9872 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.26, allocations: 4 kB / 0.9872 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.26, allocations: 4 kB / 0.9872 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.2601, allocations: 249.3 kB / 0.9874 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2601, allocations: 4 kB / 0.9874 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.21e-07/0.2601, allocations: 0 / 0.9874 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.2601, allocations: 3.938 kB / 0.9874 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/0.2602, allocations: 19.91 kB / 0.9874 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2602, allocations: 0 / 0.9874 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2602, allocations: 0 / 0.9874 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008724/0.2611, allocations: 1.275 MB / 0.9887 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.665e-05/0.2611, allocations: 92.89 kB / 0.9888 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.434e-05/0.2612, allocations: 83.88 kB / 0.9888 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.355e-05/0.2613, allocations: 8 kB / 0.9889 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.242e-05/0.2613, allocations: 11.98 kB / 0.9889 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.2613, allocations: 8 kB / 0.9889 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.232e-05/0.2614, allocations: 79.28 kB / 0.989 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2614, allocations: 3.938 kB / 0.989 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002656/0.2616, allocations: 67.98 kB / 0.989 GB, free: 17.8 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.0003917/0.262, allocations: 247.4 kB / 0.9893 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001088/0.2631, allocations: 1.964 MB / 0.9912 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2632, allocations: 0 / 0.9912 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001044/0.2642, allocations: 2.018 MB / 0.9931 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.2645, allocations: 16.7 kB / 0.9932 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005119/0.265, allocations: 350.6 kB / 0.9935 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000163/0.2652, allocations: 0.7169 MB / 0.9942 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.947e-05/0.2652, allocations: 0 / 0.9942 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.202e-05/0.2652, allocations: 7.438 kB / 0.9942 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of SimCode: time 9.92e-07/0.2652, allocations: 0 / 0.9942 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of Templates: time 0.004717/0.2699, allocations: 2.384 MB / 0.9965 GB, free: 10.04 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)