Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.001686/0.001686, allocations: 104.1 kB / 15.88 MB, free: 4 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00194/0.00194, allocations: 196.5 kB / 16.79 MB, free: 6.832 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.351/1.351, allocations: 222.9 MB / 240.5 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.529/2.529, allocations: 437 MB / 0.7106 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 67.89 kB / 0.8692 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5875/0.5888, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.002843/0.5916, allocations: 1.404 MB / 1.019 GB, free: 1.395 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008897/0.5926, allocations: 367 kB / 1.019 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.202e-05/0.5926, allocations: 4 kB / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.5928, allocations: 0 / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.922e-05/0.5928, allocations: 7.922 kB / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004081/0.5932, allocations: 71.86 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.625e-05/0.5933, allocations: 43.91 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.178e-05/0.5934, allocations: 4 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.434e-05/0.5934, allocations: 27.84 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.637e-05/0.5935, allocations: 15.92 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.5935, allocations: 4 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001726/0.5936, allocations: 75.91 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.168e-05/0.5937, allocations: 27.92 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.05e-05/0.5938, allocations: 47.69 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.5939, allocations: 111.8 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.594, allocations: 0 / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of FrontEnd: time 9.92e-07/0.594, allocations: 0 / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.594, allocations: 0 / 1.019 GB, free: 0.6016 MB / 0.7637 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.0004788/0.5945, allocations: 0.5104 MB / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.5945, allocations: 15.97 kB / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001327/0.5946, allocations: 20.83 kB / 1.02 GB, free: 16 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.5948, allocations: 180.2 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.5948, allocations: 384 / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.5948, allocations: 4.375 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002698/0.5951, allocations: 246.1 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.5951, allocations: 192 / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.5951, allocations: 3.938 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.5951, allocations: 0 / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/0.5953, allocations: 148 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001773/0.5955, allocations: 201.4 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003965/0.5959, allocations: 0.534 MB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003579/0.5962, allocations: 0.5206 MB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-06/0.5963, allocations: 4 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000377/0.5966, allocations: 395.6 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=39): time 1.383e-06/0.5967, allocations: 0 / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39): time 0.0007303/0.5974, allocations: 0.6861 MB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.409e-05/0.5975, allocations: 113.1 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.212e-05/0.5976, allocations: 101.8 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.5976, allocations: 25.7 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.85e-05/0.5976, allocations: 84.8 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.996e-05/0.5977, allocations: 71 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.081e-05/0.5977, allocations: 37.7 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.5979, allocations: 326.8 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.646e-05/0.598, allocations: 83.97 kB / 1.024 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.634e-05/0.598, allocations: 83.92 kB / 1.024 GB, free: 12 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002919/0.5983, allocations: 348.1 kB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.5984, allocations: 0 / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003454/0.5987, allocations: 344.3 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.376e-05/0.5988, allocations: 77.59 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.5988, allocations: 0 / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.5988, allocations: 0 / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.902e-05/0.5989, allocations: 7.938 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.5989, allocations: 3.984 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.599, allocations: 19.91 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.599, allocations: 8 kB / 1.024 GB, free: 11.18 MB / 0.7794 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.0002365/0.5993, allocations: 266.5 kB / 1.025 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.5993, allocations: 23.75 kB / 1.025 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.513e-05/0.5993, allocations: 5.219 kB / 1.025 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.5993, allocations: 4 kB / 1.025 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.5993, allocations: 0 / 1.025 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.5994, allocations: 0 / 1.025 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001885/0.5996, allocations: 249.3 kB / 1.025 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.5996, allocations: 0 / 1.025 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.134e-06/0.5996, allocations: 4 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.5996, allocations: 11.86 kB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.49e-05/0.5996, allocations: 12 kB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.5996, allocations: 0 / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5996, allocations: 0 / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/0.6008, allocations: 1.287 MB / 1.026 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.563e-05/0.6009, allocations: 100.8 kB / 1.026 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.876e-05/0.601, allocations: 75.89 kB / 1.026 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.788e-05/0.6011, allocations: 12.02 kB / 1.026 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.247e-05/0.6011, allocations: 8 kB / 1.026 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.46e-05/0.6012, allocations: 19.98 kB / 1.026 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.11e-05/0.6012, allocations: 79.28 kB / 1.027 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6012, allocations: 0 / 1.027 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002967/0.6015, allocations: 68 kB / 1.027 GB, free: 8.863 MB / 0.7794 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004499/0.602, allocations: 235.6 kB / 1.027 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001555/0.6035, allocations: 1.964 MB / 1.029 GB, free: 6.66 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6035, allocations: 0 / 1.029 GB, free: 6.66 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001373/0.6049, allocations: 2.011 MB / 1.031 GB, free: 4.637 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.6052, allocations: 25.81 kB / 1.031 GB, free: 4.613 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005697/0.6058, allocations: 398.3 kB / 1.031 GB, free: 4.191 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.606, allocations: 0.7169 MB / 1.032 GB, free: 3.449 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.167e-05/0.6061, allocations: 7.438 kB / 1.032 GB, free: 3.441 MB / 0.7794 GB Notification: Performance of SimCode: time 5.21e-07/0.6061, allocations: 0 / 1.032 GB, free: 3.441 MB / 0.7794 GB Notification: Performance of Templates: time 0.004598/0.6107, allocations: 2.444 MB / 1.034 GB, free: 0.9961 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & ./Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches