Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 199.5 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.786/2.786, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=2500,variableFilter="time|occ.occ",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occ.occ",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 68.12 kB / 1.109 GB, free: 6.605 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9048/0.9068, allocations: 168.7 MB / 1.274 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.003029/0.9099, allocations: 1.34 MB / 1.275 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008967/0.9108, allocations: 370.8 kB / 1.276 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.661e-05/0.9108, allocations: 0 / 1.276 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.141e-05/0.9109, allocations: 0 / 1.276 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.598e-05/0.9109, allocations: 7.938 kB / 1.276 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005268/0.9114, allocations: 91.72 kB / 1.276 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000119/0.9116, allocations: 51.89 kB / 1.276 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.326e-05/0.9116, allocations: 0 / 1.276 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.425e-05/0.9116, allocations: 19.92 kB / 1.276 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.04e-05/0.9117, allocations: 23.91 kB / 1.276 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/0.9117, allocations: 4 kB / 1.276 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002153/0.9119, allocations: 95.83 kB / 1.276 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.012e-05/0.912, allocations: 23.92 kB / 1.276 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.264e-05/0.9121, allocations: 47.73 kB / 1.276 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002797/0.9123, allocations: 162 kB / 1.276 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.9123, allocations: 0 / 1.276 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.402e-06/0.9123, allocations: 0 / 1.276 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.9124, allocations: 0 / 1.276 GB, free: 2.348 MB / 0.9669 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.0008783/0.9132, allocations: 0.5222 MB / 1.277 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.9133, allocations: 8.031 kB / 1.277 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001803/0.9135, allocations: 16.84 kB / 1.277 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002332/0.9137, allocations: 184.2 kB / 1.277 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.9137, allocations: 384 / 1.277 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.9137, allocations: 8.375 kB / 1.277 GB, free: 1.52 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004321/0.9142, allocations: 242.1 kB / 1.277 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.9142, allocations: 4.172 kB / 1.277 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.045e-05/0.9142, allocations: 7.938 kB / 1.277 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.9142, allocations: 0 / 1.277 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001983/0.9144, allocations: 144 kB / 1.277 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002835/0.9147, allocations: 197.4 kB / 1.277 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000263/0.915, allocations: 158.5 kB / 1.278 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000181/0.9152, allocations: 152.8 kB / 1.278 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.9152, allocations: 0 / 1.278 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005886/0.9158, allocations: 399.6 kB / 1.278 GB, free: 152 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=39): time 1.423e-06/0.9158, allocations: 0 / 1.278 GB, free: 152 kB / 0.9669 GB Notification: Performance of matching and sorting (n=39): time 0.001032/0.9168, allocations: 0.6932 MB / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.9169, allocations: 113.1 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.917, allocations: 93.86 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.422e-05/0.9171, allocations: 29.73 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.491e-05/0.9172, allocations: 86.38 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.372e-05/0.9173, allocations: 75.38 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.081e-05/0.9173, allocations: 41.64 kB / 1.279 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002057/0.9175, allocations: 330.8 kB / 1.28 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.9176, allocations: 75.98 kB / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.9178, allocations: 83.97 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004788/0.9182, allocations: 349.4 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.9182, allocations: 7.969 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000546/0.9188, allocations: 340.2 kB / 1.28 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/0.9189, allocations: 81.58 kB / 1.28 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.9189, allocations: 0 / 1.28 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/0.9189, allocations: 0 / 1.28 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.988e-05/0.919, allocations: 4 kB / 1.28 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.919, allocations: 3.938 kB / 1.28 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/0.9192, allocations: 15.89 kB / 1.28 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.952e-05/0.9192, allocations: 8 kB / 1.28 GB, free: 13.66 MB / 0.9825 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.0003693/0.9196, allocations: 270.2 kB / 1.281 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.189e-05/0.9196, allocations: 31.83 kB / 1.281 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.498e-05/0.9196, allocations: 5.219 kB / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.9197, allocations: 4 kB / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.9197, allocations: 4 kB / 1.281 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.9197, allocations: 0 / 1.281 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002641/0.9199, allocations: 249.4 kB / 1.281 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.9199, allocations: 0 / 1.281 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.72e-07/0.9199, allocations: 0 / 1.281 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.9199, allocations: 3.938 kB / 1.281 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.091e-05/0.92, allocations: 15.98 kB / 1.281 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.92, allocations: 4 kB / 1.281 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.92, allocations: 0 / 1.281 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00151/0.9215, allocations: 1.279 MB / 1.282 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.808e-05/0.9215, allocations: 93.17 kB / 1.282 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.9217, allocations: 75.89 kB / 1.282 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.824e-05/0.9218, allocations: 11.94 kB / 1.282 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.638e-05/0.9218, allocations: 15.97 kB / 1.282 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.461e-05/0.9219, allocations: 12 kB / 1.282 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.08e-05/0.9219, allocations: 83.3 kB / 1.283 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9219, allocations: 0 / 1.283 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003633/0.9223, allocations: 67.94 kB / 1.283 GB, free: 11.34 MB / 0.9825 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.0007009/0.923, allocations: 246 kB / 1.283 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001609/0.9246, allocations: 1.104 MB / 1.284 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.9246, allocations: 0 / 1.284 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001017/0.9256, allocations: 0.9325 MB / 1.285 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.9259, allocations: 16 kB / 1.285 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000758/0.9267, allocations: 348.7 kB / 1.285 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004875/0.9272, allocations: 0.7205 MB / 1.286 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.426e-05/0.9272, allocations: 0 / 1.286 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.65e-05/0.9272, allocations: 15.5 kB / 1.286 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of SimCode: time 1.523e-06/0.9272, allocations: 0 / 1.286 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of Templates: time 0.008168/0.9354, allocations: 2.687 MB / 1.289 GB, free: 5.211 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & ./Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.917507749050856]