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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001347/0.001347, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001448/0.001448, allocations: 195.1 kB / 16.14 MB, free: 6.656 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.426/1.426, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.672/2.672, allocations: 437 MB / 0.7099 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 63.89 kB / 0.8685 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.696/0.6975, allocations: 151.6 MB / 1.017 GB, free: 2.824 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.003129/0.7007, allocations: 1.392 MB / 1.018 GB, free: 1.426 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009725/0.7017, allocations: 370.9 kB / 1.018 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.18e-05/0.7018, allocations: 0 / 1.018 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.000135/0.7019, allocations: 7.938 kB / 1.018 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.953e-05/0.702, allocations: 7.984 kB / 1.018 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005817/0.7026, allocations: 75.86 kB / 1.018 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.7e-05/0.7027, allocations: 39.92 kB / 1.018 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.012e-05/0.7027, allocations: 7.922 kB / 1.018 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.775e-05/0.7028, allocations: 19.92 kB / 1.018 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.135e-05/0.7028, allocations: 19.97 kB / 1.018 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.7029, allocations: 3.938 kB / 1.018 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002019/0.7031, allocations: 67.92 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.992e-05/0.7031, allocations: 27.92 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.691e-05/0.7032, allocations: 43.73 kB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002892/0.7035, allocations: 159.5 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 1.027e-05/0.7035, allocations: 4 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.455e-06/0.7035, allocations: 0 / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.7036, allocations: 3.938 kB / 1.019 GB, free: 0.582 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.000621/0.7042, allocations: 0.5104 MB / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.7042, allocations: 12.03 kB / 1.019 GB, free: 4 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001516/0.7044, allocations: 20.91 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.7045, allocations: 172.2 kB / 1.019 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.7046, allocations: 4.375 kB / 1.019 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.7046, allocations: 8.375 kB / 1.019 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003096/0.7049, allocations: 242.2 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.7049, allocations: 192 / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.7049, allocations: 3.938 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.705, allocations: 0 / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.7051, allocations: 144 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002167/0.7053, allocations: 197.4 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004161/0.7058, allocations: 0.534 MB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003948/0.7062, allocations: 0.5245 MB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.19e-06/0.7062, allocations: 0 / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004731/0.7067, allocations: 399.7 kB / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=39): time 1.573e-06/0.7067, allocations: 3.938 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39): time 0.0007676/0.7075, allocations: 0.6899 MB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.427e-05/0.7076, allocations: 109.1 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.846e-05/0.7076, allocations: 93.86 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.7077, allocations: 33.73 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.092e-05/0.7077, allocations: 80.8 kB / 1.022 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.971e-05/0.7078, allocations: 75 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.822e-05/0.7079, allocations: 37.69 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.708, allocations: 326.8 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.7081, allocations: 75.98 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.207e-05/0.7082, allocations: 87.91 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003248/0.7085, allocations: 348.1 kB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.7086, allocations: 4.031 kB / 1.023 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003722/0.7089, allocations: 344.3 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.952e-05/0.709, allocations: 81.58 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.709, allocations: 0 / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.7091, allocations: 0 / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.625e-05/0.7091, allocations: 7.938 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.7092, allocations: 0 / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.7093, allocations: 11.91 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.7093, allocations: 15.94 kB / 1.024 GB, free: 11.16 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.0002884/0.7096, allocations: 269.7 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.222e-05/0.7096, allocations: 27.94 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.475e-05/0.7097, allocations: 9.203 kB / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.7097, allocations: 4 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.7097, allocations: 0 / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.7097, allocations: 0 / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.7099, allocations: 245.4 kB / 1.024 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.7099, allocations: 0 / 1.024 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.41e-07/0.7099, allocations: 0 / 1.024 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.7099, allocations: 3.938 kB / 1.024 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.452e-05/0.7099, allocations: 15.98 kB / 1.024 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.7099, allocations: 4 kB / 1.024 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.7099, allocations: 0 / 1.024 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/0.7111, allocations: 1.283 MB / 1.026 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.284e-05/0.7112, allocations: 96.8 kB / 1.026 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.734e-05/0.7113, allocations: 71.89 kB / 1.026 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.845e-05/0.7114, allocations: 8 kB / 1.026 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/0.7114, allocations: 11.98 kB / 1.026 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-05/0.7115, allocations: 16 kB / 1.026 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.363e-05/0.7115, allocations: 87.3 kB / 1.026 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7115, allocations: 0 / 1.026 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002943/0.7118, allocations: 71.94 kB / 1.026 GB, free: 8.848 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.0004326/0.7123, allocations: 255.9 kB / 1.026 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001547/0.7138, allocations: 1.956 MB / 1.028 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.7138, allocations: 0 / 1.028 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001436/0.7153, allocations: 2.022 MB / 1.03 GB, free: 4.602 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.7155, allocations: 20 kB / 1.03 GB, free: 4.582 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005041/0.716, allocations: 353.2 kB / 1.03 GB, free: 4.207 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.7163, allocations: 0.7169 MB / 1.031 GB, free: 3.465 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.738e-05/0.7163, allocations: 4 kB / 1.031 GB, free: 3.461 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.031e-05/0.7164, allocations: 7.438 kB / 1.031 GB, free: 3.453 MB / 0.7794 GB Notification: Performance of SimCode: time 2.91e-07/0.7164, allocations: 0 / 1.031 GB, free: 3.453 MB / 0.7794 GB Notification: Performance of Templates: time 0.005811/0.7222, allocations: 2.425 MB / 1.034 GB, free: 1.031 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/jenkins/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