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.635/1.635, allocations: 288.4 MB / 304.3 MB, free: 8.098 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.001125/0.001125, allocations: 180.5 kB / 373 MB, free: 10.14 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.336/1.336, allocations: 205.4 MB / 0.6317 GB, free: 9.906 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.0008311/0.0008312, allocations: 101 kB / 0.745 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003388/0.000339, allocations: 11.25 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1639, allocations: 115.3 MB / 0.9807 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5723/0.7362, allocations: 138.7 MB / 1.116 GB, free: 16.49 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002035/0.7365, allocations: 84.19 kB / 1.116 GB, free: 16.48 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00627/0.7428, allocations: 2.431 MB / 1.119 GB, free: 32.06 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.254e-06/0.7428, allocations: 0 / 1.119 GB, free: 32.06 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.7428, allocations: 0 / 1.119 GB, free: 32.06 MB / 0.698 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.0004007/0.7432, allocations: 0.5028 MB / 1.119 GB, free: 31.63 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.7433, allocations: 7.719 kB / 1.119 GB, free: 31.63 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.825e-05/0.7434, allocations: 16.56 kB / 1.119 GB, free: 31.62 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.7435, allocations: 182.6 kB / 1.119 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.7435, allocations: 4.219 kB / 1.119 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.7435, allocations: 8.219 kB / 1.119 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002464/0.7438, allocations: 245 kB / 1.12 GB, free: 31.37 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.7438, allocations: 4.125 kB / 1.12 GB, free: 31.37 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.7438, allocations: 7.812 kB / 1.12 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.7438, allocations: 0 / 1.12 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.744, allocations: 150.5 kB / 1.12 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001709/0.7441, allocations: 214.1 kB / 1.12 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003066/0.7445, allocations: 0.5336 MB / 1.12 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002553/0.7447, allocations: 0.5286 MB / 1.121 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.059e-06/0.7447, allocations: 0 / 1.121 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003277/0.7451, allocations: 385.4 kB / 1.121 GB, free: 31.01 MB / 0.698 GB Notification: Performance of pre-optimization done (n=39): time 1.212e-06/0.7451, allocations: 3.812 kB / 1.121 GB, free: 31.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=39): time 0.0006225/0.7457, allocations: 0.6946 MB / 1.122 GB, free: 30.93 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/0.7458, allocations: 102.8 kB / 1.122 GB, free: 30.84 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.185e-05/0.7459, allocations: 103.9 kB / 1.122 GB, free: 30.73 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.7459, allocations: 29.48 kB / 1.122 GB, free: 30.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.144e-05/0.7459, allocations: 80.8 kB / 1.122 GB, free: 30.62 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.249e-05/0.746, allocations: 76.7 kB / 1.122 GB, free: 30.58 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-06/0.746, allocations: 0 / 1.122 GB, free: 30.58 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.7461, allocations: 325.3 kB / 1.123 GB, free: 30.27 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.897e-05/0.7462, allocations: 84.31 kB / 1.123 GB, free: 30.26 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.438e-05/0.7463, allocations: 86.78 kB / 1.123 GB, free: 30.26 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002313/0.7465, allocations: 348.7 kB / 1.123 GB, free: 30.18 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.7465, allocations: 0 / 1.123 GB, free: 30.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002699/0.7468, allocations: 331.9 kB / 1.123 GB, free: 30.11 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.844e-05/0.7469, allocations: 86.59 kB / 1.124 GB, free: 30.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.7469, allocations: 0 / 1.124 GB, free: 30.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.7469, allocations: 3.938 kB / 1.124 GB, free: 30.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.221e-05/0.7469, allocations: 0 / 1.124 GB, free: 30.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.747, allocations: 7.797 kB / 1.124 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.4e-05/0.747, allocations: 26.91 kB / 1.124 GB, free: 30.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/0.7471, allocations: 14.33 kB / 1.124 GB, free: 30.05 MB / 0.698 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.0002105/0.7473, allocations: 261.5 kB / 1.124 GB, free: 29.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.221e-05/0.7473, allocations: 27.34 kB / 1.124 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.392e-05/0.7473, allocations: 8.031 kB / 1.124 GB, free: 29.88 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.7473, allocations: 0 / 1.124 GB, free: 29.88 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.7473, allocations: 0 / 1.124 GB, free: 29.88 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.7474, allocations: 0 / 1.124 GB, free: 29.88 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.7475, allocations: 273.5 kB / 1.124 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.7475, allocations: 0 / 1.124 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.7475, allocations: 4 kB / 1.124 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.7475, allocations: 3.938 kB / 1.124 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/0.7476, allocations: 21.19 kB / 1.124 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.7476, allocations: 0 / 1.124 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.7476, allocations: 0 / 1.124 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009015/0.7485, allocations: 1.279 MB / 1.125 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.521e-05/0.7485, allocations: 92.83 kB / 1.125 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.7486, allocations: 87.7 kB / 1.126 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.867e-05/0.7487, allocations: 15.36 kB / 1.126 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.7488, allocations: 7.031 kB / 1.126 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.593e-05/0.7488, allocations: 28.81 kB / 1.126 GB, free: 29.45 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.071e-05/0.7489, allocations: 79.03 kB / 1.126 GB, free: 29.38 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7489, allocations: 0 / 1.126 GB, free: 29.38 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002904/0.7492, allocations: 77.25 kB / 1.126 GB, free: 29.37 MB / 0.698 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.0004145/0.7496, allocations: 253.3 kB / 1.126 GB, free: 29.25 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00112/0.7507, allocations: 1.965 MB / 1.128 GB, free: 29.18 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.7507, allocations: 3.875 kB / 1.128 GB, free: 29.18 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009855/0.7517, allocations: 2.01 MB / 1.13 GB, free: 29.12 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.7519, allocations: 24.69 kB / 1.13 GB, free: 29.12 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004383/0.7524, allocations: 351.6 kB / 1.13 GB, free: 28.95 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.7527, allocations: 0.7169 MB / 1.131 GB, free: 28.25 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.228e-05/0.7527, allocations: 0 / 1.131 GB, free: 28.25 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.986e-06/0.7527, allocations: 11.44 kB / 1.131 GB, free: 28.24 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/0.7527, allocations: 0 / 1.131 GB, free: 28.24 MB / 0.698 GB Notification: Performance of Templates: time 0.004618/0.7574, allocations: 2.748 MB / 1.134 GB, free: 27.96 MB / 0.698 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)