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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001829/0.001829, allocations: 110.6 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002363/0.002363, allocations: 220.2 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.536/1.536, allocations: 230.6 MB / 256 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.993/2.993, allocations: 476.7 MB / 0.7706 GB, free: 4.258 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 67.11 kB / 1.118 GB, free: 40.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5221/0.5242, allocations: 169.9 MB / 1.284 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.005314/0.5295, allocations: 1.366 MB / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00174/0.5313, allocations: 384.7 kB / 1.285 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.209e-05/0.5313, allocations: 0 / 1.285 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000134/0.5315, allocations: 7.922 kB / 1.285 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.803e-05/0.5315, allocations: 0 / 1.285 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009432/0.5325, allocations: 103.7 kB / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002059/0.5327, allocations: 47.91 kB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.444e-05/0.5327, allocations: 15.92 kB / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.497e-05/0.5328, allocations: 12 kB / 1.286 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.778e-05/0.5329, allocations: 23.91 kB / 1.286 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.5329, allocations: 4 kB / 1.286 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004878/0.5334, allocations: 123.8 kB / 1.286 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.855e-05/0.5335, allocations: 35.84 kB / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.5336, allocations: 43.75 kB / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004707/0.5341, allocations: 159.4 kB / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.5341, allocations: 0 / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5341, allocations: 0 / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.5341, allocations: 0 / 1.286 GB, free: 8.934 MB / 0.9825 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.0009847/0.5351, allocations: 463.3 kB / 1.286 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.716e-05/0.5351, allocations: 11.97 kB / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003895/0.5355, allocations: 20.84 kB / 1.287 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.5357, allocations: 126.3 kB / 1.287 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.726e-05/0.5357, allocations: 8.375 kB / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.958e-05/0.5358, allocations: 4.375 kB / 1.287 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005016/0.5363, allocations: 238.2 kB / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.5363, allocations: 192 / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/0.5363, allocations: 3.938 kB / 1.287 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.5363, allocations: 4 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002679/0.5366, allocations: 147.7 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002848/0.5369, allocations: 164.6 kB / 1.287 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003385/0.5372, allocations: 166.5 kB / 1.287 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002934/0.5375, allocations: 152.8 kB / 1.287 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.5375, allocations: 0 / 1.287 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007436/0.5383, allocations: 403.7 kB / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=39): time 2.255e-06/0.5383, allocations: 0 / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of matching and sorting (n=39): time 0.001443/0.5397, allocations: 0.6893 MB / 1.289 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001367/0.5398, allocations: 109.1 kB / 1.289 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.54, allocations: 97.84 kB / 1.289 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.515e-05/0.54, allocations: 29.7 kB / 1.289 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.758e-05/0.5401, allocations: 80.8 kB / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/0.5402, allocations: 79.38 kB / 1.289 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.5403, allocations: 33.73 kB / 1.289 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002368/0.5406, allocations: 326.8 kB / 1.289 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/0.5408, allocations: 83.97 kB / 1.289 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.5409, allocations: 79.98 kB / 1.289 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005823/0.5415, allocations: 353.3 kB / 1.29 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.5415, allocations: 0 / 1.29 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006966/0.5422, allocations: 340.1 kB / 1.29 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001605/0.5424, allocations: 81.58 kB / 1.29 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.5424, allocations: 0 / 1.29 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.5424, allocations: 4.062 kB / 1.29 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.937e-05/0.5424, allocations: 0 / 1.29 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.5425, allocations: 4 kB / 1.29 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.5426, allocations: 23.83 kB / 1.29 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.875e-05/0.5427, allocations: 12 kB / 1.29 GB, free: 4.426 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.0004873/0.5432, allocations: 262 kB / 1.29 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.405e-05/0.5432, allocations: 31.78 kB / 1.29 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.286e-05/0.5433, allocations: 5.312 kB / 1.29 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.5433, allocations: 0 / 1.29 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.5433, allocations: 0 / 1.29 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.5433, allocations: 4.188 kB / 1.29 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00036/0.5436, allocations: 216.5 kB / 1.291 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.5436, allocations: 0 / 1.291 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.028e-06/0.5436, allocations: 7.984 kB / 1.291 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/0.5437, allocations: 3.938 kB / 1.291 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.064e-05/0.5437, allocations: 15.98 kB / 1.291 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.5437, allocations: 0 / 1.291 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.5437, allocations: 0 / 1.291 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002448/0.5462, allocations: 1.291 MB / 1.292 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.321e-05/0.5462, allocations: 15.84 kB / 1.292 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002104/0.5464, allocations: 79.89 kB / 1.292 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.5465, allocations: 8 kB / 1.292 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.505e-05/0.5466, allocations: 7.984 kB / 1.292 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.53e-05/0.5467, allocations: 19.94 kB / 1.292 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.882e-05/0.5468, allocations: 79.27 kB / 1.292 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5468, allocations: 0 / 1.292 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000578/0.5473, allocations: 67.94 kB / 1.292 GB, free: 2.238 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.0008243/0.5482, allocations: 251.4 kB / 1.292 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002079/0.5502, allocations: 1.104 MB / 1.294 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.5502, allocations: 0 / 1.294 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001533/0.5518, allocations: 0.9324 MB / 1.294 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.5522, allocations: 19.89 kB / 1.294 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.5532, allocations: 331.4 kB / 1.295 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006218/0.5538, allocations: 0.7166 MB / 1.296 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.316e-05/0.5539, allocations: 0 / 1.296 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.856e-05/0.5539, allocations: 11.44 kB / 1.296 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of SimCode: time 1.453e-06/0.5539, allocations: 0 / 1.296 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of Templates: time 0.01063/0.5645, allocations: 2.79 MB / 1.298 GB, free: 12.03 MB / 0.9981 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.932275674771518]