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.001029/0.001029, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001103/0.001103, allocations: 193.5 kB / 16.14 MB, free: 6.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.394/1.394, allocations: 205.1 MB / 222 MB, free: 4.969 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.71/1.71, allocations: 292.2 MB / 0.5484 GB, free: 13.71 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.001283/0.001283, allocations: 68.14 kB / 0.6708 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2202, allocations: 114.5 MB / 0.7827 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.003064/0.2233, allocations: 1.4 MB / 0.784 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007816/0.2241, allocations: 368.9 kB / 0.7844 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.583e-05/0.2242, allocations: 0 / 0.7844 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.2243, allocations: 11.92 kB / 0.7844 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.48e-05/0.2243, allocations: 0 / 0.7844 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003599/0.2247, allocations: 75.86 kB / 0.7845 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.037e-05/0.2248, allocations: 51.78 kB / 0.7845 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.121e-05/0.2248, allocations: 4 kB / 0.7845 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.072e-05/0.2249, allocations: 11.98 kB / 0.7845 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.707e-05/0.2249, allocations: 15.92 kB / 0.7846 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.2249, allocations: 4 kB / 0.7846 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.2251, allocations: 75.91 kB / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.037e-05/0.2251, allocations: 31.92 kB / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.146e-05/0.2252, allocations: 51.67 kB / 0.7847 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.2254, allocations: 155.5 kB / 0.7849 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2254, allocations: 0 / 0.7849 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.41e-07/0.2254, allocations: 0 / 0.7849 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.2254, allocations: 0 / 0.7849 GB, free: 11.82 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.000498/0.226, allocations: 0.5087 MB / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.226, allocations: 8.031 kB / 0.7854 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.2261, allocations: 16.75 kB / 0.7854 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.2262, allocations: 180.2 kB / 0.7855 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.2263, allocations: 4.375 kB / 0.7856 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.2263, allocations: 4.375 kB / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002729/0.2266, allocations: 237.9 kB / 0.7858 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.2266, allocations: 192 / 0.7858 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.2266, allocations: 11.92 kB / 0.7858 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.2266, allocations: 0 / 0.7858 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.2268, allocations: 151.9 kB / 0.7859 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001684/0.2269, allocations: 193.3 kB / 0.7861 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003815/0.2273, allocations: 0.5376 MB / 0.7866 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003519/0.2277, allocations: 0.5204 MB / 0.7872 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.576e-06/0.2277, allocations: 3.938 kB / 0.7872 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004747/0.2282, allocations: 395.7 kB / 0.7875 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=39): time 1.082e-06/0.2282, allocations: 0 / 0.7875 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39): time 0.000753/0.229, allocations: 0.6889 MB / 0.7882 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/0.229, allocations: 109.1 kB / 0.7883 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.571e-05/0.2291, allocations: 101.8 kB / 0.7884 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.2291, allocations: 29.7 kB / 0.7884 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.019e-05/0.2292, allocations: 80.8 kB / 0.7885 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.492e-05/0.2292, allocations: 74.86 kB / 0.7886 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.911e-05/0.2293, allocations: 37.7 kB / 0.7886 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.2294, allocations: 326.8 kB / 0.7889 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.963e-05/0.2295, allocations: 83.97 kB / 0.789 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.662e-05/0.2296, allocations: 91.97 kB / 0.7891 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002678/0.2299, allocations: 349.4 kB / 0.7894 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.2299, allocations: 0 / 0.7894 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003237/0.2302, allocations: 336.1 kB / 0.7898 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.055e-05/0.2303, allocations: 81.58 kB / 0.7898 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.2303, allocations: 4 kB / 0.7898 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.2303, allocations: 0 / 0.7898 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.929e-05/0.2304, allocations: 0 / 0.7898 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.2304, allocations: 0 / 0.7898 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.967e-05/0.2305, allocations: 23.75 kB / 0.7899 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.2305, allocations: 8.062 kB / 0.7899 GB, free: 6.395 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 (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,occ.hold_time,occ.tNext,$PRE.occ.tNext,occ.mu,occ.occ,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000225/0.2307, allocations: 266.3 kB / 0.7901 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.174e-05/0.2308, allocations: 31.75 kB / 0.7902 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.117e-05/0.2308, allocations: 9.203 kB / 0.7902 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.2308, allocations: 0 / 0.7902 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.2308, allocations: 0 / 0.7902 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.2308, allocations: 0 / 0.7902 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001677/0.231, allocations: 245.4 kB / 0.7904 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.231, allocations: 4 kB / 0.7904 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.71e-07/0.231, allocations: 0 / 0.7904 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.231, allocations: 7.938 kB / 0.7904 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.401e-05/0.231, allocations: 11.98 kB / 0.7904 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.2311, allocations: 0 / 0.7904 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2311, allocations: 7.938 kB / 0.7904 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.2322, allocations: 1.279 MB / 0.7917 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.253e-05/0.2322, allocations: 92.86 kB / 0.7918 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/0.2324, allocations: 79.88 kB / 0.7918 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.418e-05/0.2324, allocations: 11.98 kB / 0.7919 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.2325, allocations: 16.02 kB / 0.7919 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/0.2325, allocations: 8 kB / 0.7919 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.277e-05/0.2325, allocations: 79.28 kB / 0.792 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2325, allocations: 0 / 0.792 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002966/0.2328, allocations: 71.98 kB / 0.792 GB, free: 4.09 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 (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.0004151/0.2333, allocations: 253.5 kB / 0.7923 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001451/0.2347, allocations: 1.967 MB / 0.7942 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2347, allocations: 0 / 0.7942 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001341/0.2361, allocations: 2.015 MB / 0.7962 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.2363, allocations: 20 kB / 0.7962 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005094/0.2369, allocations: 353.3 kB / 0.7965 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.2371, allocations: 0.7169 MB / 0.7972 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.4e-05/0.2372, allocations: 0 / 0.7972 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.151e-05/0.2372, allocations: 7.438 kB / 0.7972 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.2372, allocations: 4 kB / 0.7972 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of Templates: time 0.004972/0.2422, allocations: 2.429 MB / 0.7996 GB, free: 12.27 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile (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)