Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.428/1.428, allocations: 252 MB / 267.6 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001032/0.001032, allocations: 188.5 kB / 327.3 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.96/1.96, allocations: 205.4 MB / 0.5783 GB, free: 20.57 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008136/0.0008131, allocations: 90.05 kB / 0.6829 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003495/0.0003495, allocations: 5.781 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2305, allocations: 106.3 MB / 0.9008 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001521/0.2321, allocations: 1.055 MB / 0.9019 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006536/0.2328, allocations: 336 kB / 0.9022 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.313e-05/0.2328, allocations: 0 / 0.9022 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 7.903e-05/0.2329, allocations: 0 / 0.9022 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.176e-05/0.2329, allocations: 11.92 kB / 0.9022 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003615/0.2333, allocations: 71.86 kB / 0.9023 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.323e-05/0.2334, allocations: 43.84 kB / 0.9023 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.448e-05/0.2334, allocations: 3.938 kB / 0.9023 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.916e-05/0.2335, allocations: 19.97 kB / 0.9023 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.724e-05/0.2335, allocations: 19.92 kB / 0.9023 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.2336, allocations: 4 kB / 0.9023 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.2337, allocations: 63.92 kB / 0.9024 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.973e-05/0.2337, allocations: 27.92 kB / 0.9024 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.452e-05/0.2338, allocations: 41.64 kB / 0.9025 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.2339, allocations: 111.8 kB / 0.9026 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.2339, allocations: 4 kB / 0.9026 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.264e-06/0.2339, allocations: 0 / 0.9026 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.234, allocations: 0 / 0.9026 GB, free: 62.5 MB / 0.6042 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.0003977/0.2344, allocations: 0.5005 MB / 0.9031 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.2344, allocations: 8.031 kB / 0.9031 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.2345, allocations: 19.75 kB / 0.9031 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.51e-05/0.2346, allocations: 183.1 kB / 0.9033 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.2347, allocations: 4 kB / 0.9033 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.2347, allocations: 7.984 kB / 0.9033 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.2349, allocations: 241.4 kB / 0.9035 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.2349, allocations: 4 kB / 0.9035 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.2349, allocations: 3.984 kB / 0.9035 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.235, allocations: 3.938 kB / 0.9035 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.2351, allocations: 144 kB / 0.9037 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001325/0.2352, allocations: 193.4 kB / 0.9038 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000293/0.2355, allocations: 0.5375 MB / 0.9044 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002669/0.2358, allocations: 0.5243 MB / 0.9049 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.557e-06/0.2358, allocations: 4 kB / 0.9049 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003308/0.2361, allocations: 399.7 kB / 0.9053 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=39): time 1.282e-06/0.2362, allocations: 0 / 0.9053 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39): time 0.0005783/0.2367, allocations: 0.6783 MB / 0.9059 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.2368, allocations: 109 kB / 0.906 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.695e-05/0.2369, allocations: 97.86 kB / 0.9061 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.2369, allocations: 29.7 kB / 0.9062 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.808e-05/0.2369, allocations: 88.81 kB / 0.9062 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.519e-05/0.237, allocations: 74.92 kB / 0.9063 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/0.237, allocations: 0 / 0.9063 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.013e-05/0.237, allocations: 330.8 kB / 0.9066 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.099e-05/0.2371, allocations: 79.97 kB / 0.9067 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.91e-05/0.2372, allocations: 87.97 kB / 0.9068 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.2373, allocations: 170.9 kB / 0.9069 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2373, allocations: 0 / 0.9069 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002489/0.2376, allocations: 340 kB / 0.9073 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.911e-05/0.2376, allocations: 77.72 kB / 0.9073 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.2376, allocations: 3.938 kB / 0.9073 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.2377, allocations: 0 / 0.9073 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.188e-05/0.2377, allocations: 7.922 kB / 0.9074 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.2377, allocations: 0 / 0.9074 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.2379, allocations: 19.84 kB / 0.9074 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.2379, allocations: 12 kB / 0.9074 GB, free: 57.31 MB / 0.6042 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.000186/0.2381, allocations: 265.6 kB / 0.9076 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.2381, allocations: 23.81 kB / 0.9077 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.063e-05/0.2381, allocations: 9.219 kB / 0.9077 GB, free: 57 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.2381, allocations: 0 / 0.9077 GB, free: 57 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2381, allocations: 0 / 0.9077 GB, free: 57 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.2381, allocations: 0 / 0.9077 GB, free: 57 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.2383, allocations: 249.3 kB / 0.9079 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2383, allocations: 0 / 0.9079 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.974e-06/0.2383, allocations: 3.984 kB / 0.9079 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.2383, allocations: 4 kB / 0.9079 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.2383, allocations: 12 kB / 0.9079 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.2383, allocations: 0 / 0.9079 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2383, allocations: 0 / 0.9079 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008197/0.2391, allocations: 1.279 MB / 0.9092 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.1e-05/0.2392, allocations: 104.7 kB / 0.9093 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.87e-05/0.2393, allocations: 71.95 kB / 0.9093 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.153e-05/0.2394, allocations: 11.98 kB / 0.9094 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.075e-05/0.2394, allocations: 4 kB / 0.9094 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.2394, allocations: 23.97 kB / 0.9094 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.038e-05/0.2395, allocations: 79.45 kB / 0.9095 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2395, allocations: 4.031 kB / 0.9095 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002487/0.2397, allocations: 68 kB / 0.9095 GB, free: 55 MB / 0.6042 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.000401/0.2401, allocations: 253.3 kB / 0.9098 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00109/0.2412, allocations: 1.96 MB / 0.9117 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2412, allocations: 0 / 0.9117 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009306/0.2422, allocations: 2.018 MB / 0.9137 GB, free: 50.76 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002098/0.2424, allocations: 25.61 kB / 0.9137 GB, free: 50.73 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004539/0.2429, allocations: 380.2 kB / 0.914 GB, free: 50.33 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001481/0.243, allocations: 0.7208 MB / 0.9147 GB, free: 49.59 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.278e-06/0.243, allocations: 7.438 kB / 0.9148 GB, free: 49.58 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.243, allocations: 0 / 0.9148 GB, free: 49.58 MB / 0.6042 GB Notification: Performance of Templates: time 0.003513/0.2466, allocations: 2.426 MB / 0.9171 GB, free: 47.16 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1)