Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|occ.occ",fileNamePrefix="Buildings_latest_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_latest_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.001857/0.001857, allocations: 109 kB / 16.42 MB, free: 5.984 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.001818/0.001818, allocations: 186.5 kB / 17.35 MB, free: 5.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.47/2.47, allocations: 461.7 MB / 0.7352 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 59.91 kB / 1.054 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6626/0.6639, allocations: 157.4 MB / 1.208 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.002218/0.6661, allocations: 1.323 MB / 1.209 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0006928/0.6669, allocations: 354.9 kB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.463e-05/0.6669, allocations: 4 kB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 7.868e-05/0.667, allocations: 0 / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 2.704e-05/0.6671, allocations: 3.938 kB / 1.21 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004633/0.6675, allocations: 91.7 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.6677, allocations: 51.91 kB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.924e-05/0.6677, allocations: 8 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.674e-05/0.6677, allocations: 23.97 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.839e-05/0.6678, allocations: 15.92 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.6678, allocations: 4 kB / 1.21 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001798/0.668, allocations: 87.84 kB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.847e-05/0.6681, allocations: 23.92 kB / 1.21 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.872e-05/0.6681, allocations: 51.67 kB / 1.21 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002234/0.6684, allocations: 159.5 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.6684, allocations: 4 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6684, allocations: 0 / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.6684, allocations: 0 / 1.21 GB, free: 11.62 MB / 0.9356 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.0005008/0.6689, allocations: 0.5141 MB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.6689, allocations: 8.031 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.669, allocations: 16.78 kB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.6692, allocations: 184.1 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.6692, allocations: 384 / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.6692, allocations: 4.375 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000258/0.6695, allocations: 246.1 kB / 1.211 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.6695, allocations: 7.922 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.6695, allocations: 0 / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.6695, allocations: 8 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001381/0.6697, allocations: 144 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001585/0.6698, allocations: 189.5 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003608/0.6702, allocations: 0.5298 MB / 1.212 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003321/0.6705, allocations: 0.5204 MB / 1.213 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-06/0.6706, allocations: 4 kB / 1.213 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003415/0.6709, allocations: 411.5 kB / 1.213 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=39): time 1.373e-06/0.6709, allocations: 0 / 1.213 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of matching and sorting (n=39): time 0.0007097/0.6716, allocations: 0.6815 MB / 1.214 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.6717, allocations: 109.1 kB / 1.214 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.043e-05/0.6718, allocations: 97.86 kB / 1.214 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.6718, allocations: 25.7 kB / 1.214 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.217e-05/0.6718, allocations: 88.83 kB / 1.214 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.477e-05/0.6719, allocations: 71 kB / 1.214 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-05/0.6719, allocations: 33.7 kB / 1.214 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.677e-05/0.672, allocations: 330.8 kB / 1.214 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.929e-05/0.6721, allocations: 79.98 kB / 1.214 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.405e-05/0.6722, allocations: 83.91 kB / 1.215 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002746/0.6725, allocations: 353.4 kB / 1.215 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.6725, allocations: 0 / 1.215 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003239/0.6728, allocations: 340.1 kB / 1.215 GB, free: 6.32 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.443e-05/0.6729, allocations: 87.3 kB / 1.215 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.6729, allocations: 0 / 1.215 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.6729, allocations: 4 kB / 1.215 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.157e-05/0.673, allocations: 0 / 1.215 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.117e-06/0.673, allocations: 0 / 1.215 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.35e-05/0.6731, allocations: 19.75 kB / 1.215 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.6731, allocations: 8 kB / 1.215 GB, free: 6.199 MB / 0.9356 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.0002222/0.6733, allocations: 271.4 kB / 1.216 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.015e-05/0.6734, allocations: 23.83 kB / 1.216 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.005e-05/0.6734, allocations: 13.41 kB / 1.216 GB, free: 5.891 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.6734, allocations: 3.984 kB / 1.216 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.6734, allocations: 0 / 1.216 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.446e-05/0.6735, allocations: 92.86 kB / 1.216 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.292e-05/0.6736, allocations: 71.95 kB / 1.216 GB, free: 5.707 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.472e-05/0.6736, allocations: 15.94 kB / 1.216 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.6737, allocations: 3.984 kB / 1.216 GB, free: 5.688 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001554/0.6752, allocations: 2.028 MB / 1.218 GB, free: 3.633 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001161/0.6764, allocations: 1.421 MB / 1.219 GB, free: 2.188 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008082/0.6772, allocations: 1.285 MB / 1.22 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.089e-05/0.6773, allocations: 83.27 kB / 1.221 GB, free: 0.8203 MB / 0.9356 GB Notification: Performance of Backend: time 3.01e-07/0.6773, allocations: 0 / 1.221 GB, free: 0.8203 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001676/0.679, allocations: 1.888 MB / 1.222 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0009744/0.68, allocations: 1.401 MB / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of Templates: time 0.005081/0.685, allocations: 2.661 MB / 1.226 GB, free: 10.8 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & ./Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches