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="mat",numberOfIntervals=5000,variableFilter="time|occ.occ",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occ.occ",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.451/1.451, allocations: 249.5 MB / 257 MB, free: 6.965 MB / 202.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: 180.8 kB / 316.3 MB, free: 3.234 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.721/1.721, allocations: 205.3 MB / 0.5671 GB, free: 15.8 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.0008542/0.0008541, allocations: 85.5 kB / 0.6714 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.38e-05/1.383e-05, allocations: 0 / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2346, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8033/1.038, allocations: 132.5 MB / 1.015 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/1.038, allocations: 77.05 kB / 1.015 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006801/1.045, allocations: 2.406 MB / 1.017 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.236e-06/1.045, allocations: 0 / 1.017 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.216e-06/1.045, allocations: 0 / 1.017 GB, free: 3.152 MB / 0.6355 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.0005516/1.046, allocations: 0.5056 MB / 1.018 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/1.046, allocations: 8.031 kB / 1.018 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/1.046, allocations: 15.81 kB / 1.018 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/1.046, allocations: 182.8 kB / 1.018 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/1.046, allocations: 0 / 1.018 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/1.046, allocations: 4 kB / 1.018 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001679/1.046, allocations: 149.5 kB / 1.018 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002739/1.047, allocations: 239.2 kB / 1.018 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/1.047, allocations: 4 kB / 1.018 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/1.047, allocations: 0 / 1.018 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/1.047, allocations: 0 / 1.018 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002092/1.047, allocations: 183 kB / 1.018 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003463/1.047, allocations: 0.5269 MB / 1.019 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003366/1.048, allocations: 0.5226 MB / 1.019 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.287e-06/1.048, allocations: 4 kB / 1.019 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004/1.048, allocations: 387.6 kB / 1.02 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=39): time 1.403e-06/1.048, allocations: 0 / 1.02 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39): time 0.0005485/1.049, allocations: 413.4 kB / 1.02 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.363e-05/1.049, allocations: 107.6 kB / 1.02 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.985e-05/1.049, allocations: 91.81 kB / 1.02 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/1.049, allocations: 25.7 kB / 1.02 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.595e-05/1.049, allocations: 84.95 kB / 1.02 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.624e-05/1.049, allocations: 82.17 kB / 1.02 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-06/1.049, allocations: 0 / 1.02 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001657/1.049, allocations: 334.4 kB / 1.021 GB, free: 208 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/1.049, allocations: 78.17 kB / 1.021 GB, free: 160 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.906e-05/1.049, allocations: 78.61 kB / 1.021 GB, free: 112 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/1.049, allocations: 101.2 kB / 1.021 GB, free: 44 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/1.049, allocations: 0 / 1.021 GB, free: 44 kB / 0.6355 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003093/1.05, allocations: 268 kB / 1.021 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.442e-05/1.05, allocations: 84.7 kB / 1.021 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/1.05, allocations: 0 / 1.021 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/1.05, allocations: 0 / 1.021 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.202e-05/1.05, allocations: 4 kB / 1.021 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/1.05, allocations: 3.984 kB / 1.021 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.011e-05/1.05, allocations: 23.73 kB / 1.021 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/1.05, allocations: 8 kB / 1.021 GB, free: 15.72 MB / 0.6511 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 () * 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.0002315/1.05, allocations: 237.2 kB / 1.022 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.089e-05/1.05, allocations: 27.77 kB / 1.022 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.999e-05/1.05, allocations: 5.969 kB / 1.022 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/1.05, allocations: 4.188 kB / 1.022 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/1.05, allocations: 0.5 kB / 1.022 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/1.05, allocations: 3.984 kB / 1.022 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002075/1.051, allocations: 238.8 kB / 1.022 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/1.051, allocations: 0.875 kB / 1.022 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-07/1.051, allocations: 3.938 kB / 1.022 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/1.051, allocations: 0 / 1.022 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.87e-05/1.051, allocations: 27.42 kB / 1.022 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/1.051, allocations: 3.938 kB / 1.022 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.051, allocations: 0 / 1.022 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000654/1.051, allocations: 0.567 MB / 1.023 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.846e-05/1.051, allocations: 92.95 kB / 1.023 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/1.052, allocations: 81.92 kB / 1.023 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.241e-05/1.052, allocations: 11.95 kB / 1.023 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/1.052, allocations: 4 kB / 1.023 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.282e-05/1.052, allocations: 23.11 kB / 1.023 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.298e-05/1.052, allocations: 83.14 kB / 1.023 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.8e-07/1.052, allocations: 4.031 kB / 1.023 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003276/1.052, allocations: 76 kB / 1.023 GB, free: 14.38 MB / 0.6511 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) * 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.0004958/1.053, allocations: 245.5 kB / 1.023 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001504/1.054, allocations: 1.94 MB / 1.025 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.054, allocations: 0 / 1.025 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001471/1.056, allocations: 2.007 MB / 1.027 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001959/1.056, allocations: 15.19 kB / 1.027 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004777/1.056, allocations: 249 kB / 1.027 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/1.057, allocations: 0.7203 MB / 1.028 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 1.597e-05/1.057, allocations: 0 / 1.028 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.369e-05/1.057, allocations: 7.438 kB / 1.028 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of SimCode: time 2.71e-07/1.057, allocations: 4 kB / 1.028 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of Templates: time 0.005784/1.063, allocations: 2.74 MB / 1.031 GB, free: 8.551 MB / 0.6511 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 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.csv","../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches