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.001327/0.001327, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001675/0.001675, allocations: 218.1 kB / 23.01 MB, free: 4.605 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.436/1.436, allocations: 230.6 MB / 256.8 MB, free: 8.051 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.706/2.706, allocations: 476.7 MB / 0.7714 GB, free: 4.297 MB / 0.6231 GB " [Timeout remaining time 177] 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.002098/0.002098, allocations: 66.17 kB / 1.119 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.294, allocations: 170 MB / 1.285 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.002517/0.2965, allocations: 1.361 MB / 1.286 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0007835/0.2973, allocations: 376.8 kB / 1.286 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.741e-05/0.2973, allocations: 0 / 1.286 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 8.358e-05/0.2974, allocations: 3.938 kB / 1.286 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.423e-05/0.2974, allocations: 7.938 kB / 1.286 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000452/0.2978, allocations: 99.69 kB / 1.286 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.298, allocations: 55.84 kB / 1.286 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.514e-05/0.298, allocations: 15.94 kB / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.773e-05/0.298, allocations: 19.97 kB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.987e-05/0.2981, allocations: 15.92 kB / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.2981, allocations: 4 kB / 1.286 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002474/0.2983, allocations: 123.8 kB / 1.287 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.012e-05/0.2984, allocations: 27.86 kB / 1.287 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.026e-05/0.2984, allocations: 51.67 kB / 1.287 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002446/0.2987, allocations: 163.4 kB / 1.287 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.2987, allocations: 4 kB / 1.287 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2987, allocations: 0 / 1.287 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.2987, allocations: 0 / 1.287 GB, free: 8.961 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.000516/0.2992, allocations: 451.2 kB / 1.287 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2992, allocations: 12.03 kB / 1.287 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002216/0.2995, allocations: 24.83 kB / 1.287 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.2996, allocations: 126.3 kB / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.2996, allocations: 384 / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.2996, allocations: 4.375 kB / 1.287 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002948/0.2999, allocations: 242.2 kB / 1.288 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.2999, allocations: 4.188 kB / 1.288 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.2999, allocations: 11.94 kB / 1.288 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.2999, allocations: 0 / 1.288 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.3001, allocations: 151.6 kB / 1.288 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001796/0.3003, allocations: 156.6 kB / 1.288 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.3005, allocations: 162.5 kB / 1.288 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.3006, allocations: 148.8 kB / 1.288 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.233e-06/0.3006, allocations: 0 / 1.288 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004338/0.3011, allocations: 407.6 kB / 1.289 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=39): time 1.072e-06/0.3011, allocations: 0 / 1.289 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of matching and sorting (n=39): time 0.0008189/0.3019, allocations: 0.6893 MB / 1.289 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.518e-05/0.302, allocations: 105.1 kB / 1.289 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.434e-05/0.3021, allocations: 101.8 kB / 1.29 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.3021, allocations: 25.7 kB / 1.29 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.77e-05/0.3021, allocations: 80.8 kB / 1.29 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.905e-05/0.3022, allocations: 79.38 kB / 1.29 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.83e-05/0.3022, allocations: 41.73 kB / 1.29 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.3024, allocations: 322.8 kB / 1.29 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.87e-05/0.3025, allocations: 83.97 kB / 1.29 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.874e-05/0.3026, allocations: 79.98 kB / 1.29 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003298/0.3029, allocations: 357.3 kB / 1.291 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3029, allocations: 0 / 1.291 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003738/0.3033, allocations: 336.2 kB / 1.291 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.609e-05/0.3034, allocations: 81.59 kB / 1.291 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3034, allocations: 0 / 1.291 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.3034, allocations: 8.062 kB / 1.291 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.965e-05/0.3034, allocations: 3.984 kB / 1.291 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.3034, allocations: 0 / 1.291 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.984e-05/0.3035, allocations: 23.78 kB / 1.291 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.917e-05/0.3035, allocations: 8 kB / 1.291 GB, free: 4.465 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.0002562/0.3038, allocations: 262.1 kB / 1.291 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.436e-05/0.3038, allocations: 24.03 kB / 1.291 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.084e-05/0.3038, allocations: 17.3 kB / 1.291 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.3038, allocations: 0 / 1.291 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3038, allocations: 4 kB / 1.291 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.3038, allocations: 3.938 kB / 1.291 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001935/0.304, allocations: 220.5 kB / 1.291 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.304, allocations: 0 / 1.291 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.365e-06/0.304, allocations: 3.984 kB / 1.291 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.304, allocations: 3.938 kB / 1.291 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/0.3041, allocations: 12 kB / 1.292 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3041, allocations: 0 / 1.292 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3041, allocations: 0 / 1.292 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.3054, allocations: 1.291 MB / 1.293 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.039e-05/0.3054, allocations: 11.91 kB / 1.293 GB, free: 2.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.3055, allocations: 75.89 kB / 1.293 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.653e-05/0.3056, allocations: 15.94 kB / 1.293 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.586e-05/0.3056, allocations: 11.98 kB / 1.293 GB, free: 2.434 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-05/0.3056, allocations: 15.98 kB / 1.293 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.269e-05/0.3057, allocations: 79.28 kB / 1.293 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3057, allocations: 0 / 1.293 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002839/0.306, allocations: 67.94 kB / 1.293 GB, free: 2.273 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.0004477/0.3064, allocations: 251.8 kB / 1.293 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001117/0.3075, allocations: 1.104 MB / 1.294 GB, free: 0.9141 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3075, allocations: 0 / 1.294 GB, free: 0.9141 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008688/0.3084, allocations: 0.9286 MB / 1.295 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.3086, allocations: 17.72 kB / 1.295 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005702/0.3092, allocations: 369.1 kB / 1.296 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.3095, allocations: 0.7165 MB / 1.296 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.249e-05/0.3095, allocations: 7.438 kB / 1.296 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of SimCode: time 6.62e-07/0.3095, allocations: 0 / 1.296 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of Templates: time 0.006105/0.3156, allocations: 2.435 MB / 1.299 GB, free: 12.38 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/jenkins1/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: 11.399977318011224]