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.481/1.481, allocations: 249.3 MB / 261.8 MB, free: 5.93 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.0009986/0.0009985, allocations: 178.6 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.553/1.553, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.0008094/0.0008094, allocations: 88.72 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.011e-05/3.015e-05, allocations: 4 kB / 0.7879 GB, free: 97.13 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2231, allocations: 106.3 MB / 0.8918 GB, free: 6.699 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7986/1.022, allocations: 132.3 MB / 1.021 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/1.022, allocations: 74.77 kB / 1.021 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006387/1.028, allocations: 2.412 MB / 1.023 GB, free: 352 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.152e-06/1.029, allocations: 0 / 1.023 GB, free: 352 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.623e-06/1.029, allocations: 4 kB / 1.023 GB, free: 348 kB / 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.0004515/1.029, allocations: 0.4989 MB / 1.024 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/1.029, allocations: 19.97 kB / 1.024 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.936e-05/1.029, allocations: 15.81 kB / 1.024 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/1.029, allocations: 178.9 kB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/1.029, allocations: 3.938 kB / 1.024 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/1.029, allocations: 4 kB / 1.024 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003045/1.03, allocations: 247.8 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/1.03, allocations: 0 / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/1.03, allocations: 0 / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/1.03, allocations: 0 / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/1.03, allocations: 145.3 kB / 1.024 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001977/1.03, allocations: 220.4 kB / 1.025 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003463/1.03, allocations: 0.5351 MB / 1.025 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003189/1.031, allocations: 0.5228 MB / 1.026 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 9.387e-06/1.031, allocations: 0 / 1.026 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003839/1.031, allocations: 387.5 kB / 1.026 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=39): time 1.262e-06/1.031, allocations: 0 / 1.026 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39): time 0.0006198/1.032, allocations: 0.4943 MB / 1.027 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.216e-05/1.032, allocations: 107.8 kB / 1.027 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.347e-05/1.032, allocations: 92.5 kB / 1.027 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/1.032, allocations: 29.64 kB / 1.027 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.62e-05/1.032, allocations: 80.92 kB / 1.027 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.275e-05/1.032, allocations: 82.34 kB / 1.027 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-06/1.032, allocations: 0 / 1.027 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001343/1.032, allocations: 329.7 kB / 1.027 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.002e-05/1.032, allocations: 87.77 kB / 1.027 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.192e-05/1.032, allocations: 81.59 kB / 1.027 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001851/1.033, allocations: 169.2 kB / 1.028 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.033, allocations: 0 / 1.028 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003744/1.033, allocations: 327.7 kB / 1.028 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001157/1.033, allocations: 80.27 kB / 1.028 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/1.033, allocations: 4.547 kB / 1.028 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/1.033, allocations: 0 / 1.028 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.443e-05/1.033, allocations: 0 / 1.028 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/1.033, allocations: 0 / 1.028 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.628e-05/1.033, allocations: 27.81 kB / 1.028 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/1.033, allocations: 4 kB / 1.028 GB, free: 12.66 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.0002716/1.034, allocations: 252.5 kB / 1.028 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.69e-05/1.034, allocations: 19.81 kB / 1.028 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.576e-05/1.034, allocations: 5.344 kB / 1.028 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/1.034, allocations: 0 / 1.028 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/1.034, allocations: 8.859 kB / 1.028 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/1.034, allocations: 0 / 1.028 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002777/1.034, allocations: 281.3 kB / 1.029 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/1.034, allocations: 0 / 1.029 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/1.034, allocations: 4 kB / 1.029 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/1.034, allocations: 0 / 1.029 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.684e-05/1.034, allocations: 19.23 kB / 1.029 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/1.034, allocations: 0 / 1.029 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.157e-05/1.034, allocations: 0 / 1.029 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001437/1.036, allocations: 1.278 MB / 1.03 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/1.036, allocations: 92.95 kB / 1.03 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001619/1.036, allocations: 84.55 kB / 1.03 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.67e-05/1.036, allocations: 15.97 kB / 1.03 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.039e-05/1.036, allocations: 7.188 kB / 1.03 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.351e-05/1.036, allocations: 22.86 kB / 1.03 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.023e-05/1.036, allocations: 86.77 kB / 1.03 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/1.036, allocations: 0 / 1.03 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004129/1.037, allocations: 76 kB / 1.03 GB, free: 10.71 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.0006664/1.037, allocations: 253 kB / 1.03 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001842/1.039, allocations: 1.962 MB / 1.032 GB, free: 9.496 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.039, allocations: 3.938 kB / 1.032 GB, free: 9.492 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001586/1.041, allocations: 2.013 MB / 1.034 GB, free: 8.582 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/1.041, allocations: 15.94 kB / 1.034 GB, free: 8.566 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005172/1.041, allocations: 256.7 kB / 1.035 GB, free: 8.32 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/1.042, allocations: 0.7246 MB / 1.035 GB, free: 7.57 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 1.641e-05/1.042, allocations: 4 kB / 1.035 GB, free: 7.566 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.223e-05/1.042, allocations: 7.438 kB / 1.035 GB, free: 7.559 MB / 0.6511 GB Notification: Performance of SimCode: time 4.91e-07/1.042, allocations: 0 / 1.035 GB, free: 7.559 MB / 0.6511 GB Notification: Performance of Templates: time 0.005618/1.047, allocations: 2.757 MB / 1.038 GB, free: 4.82 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