Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001807/0.001807, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.00232/0.00232, allocations: 213.7 kB / 23 MB, free: 4.969 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.526/1.526, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.132/3.132, allocations: 0.49 GB / 0.7959 GB, free: 35.37 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002051/0.002051, allocations: 67.2 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3036, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.00288/0.3065, allocations: 1.365 MB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0009281/0.3074, allocations: 355 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.559e-05/0.3075, allocations: 0 / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.875e-05/0.3075, allocations: 3.938 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 2.964e-05/0.3076, allocations: 7.938 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004902/0.3081, allocations: 103.7 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.297e-05/0.3082, allocations: 39.91 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.608e-05/0.3082, allocations: 4 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.341e-05/0.3082, allocations: 19.92 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.881e-05/0.3083, allocations: 23.91 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.3083, allocations: 4 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002483/0.3086, allocations: 123.8 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.032e-05/0.3086, allocations: 31.91 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.208e-05/0.3086, allocations: 35.67 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.3089, allocations: 143.4 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3089, allocations: 0 / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3089, allocations: 3.938 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.3089, allocations: 0 / 1.329 GB, free: 14.73 MB / 1.029 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.0006064/0.3095, allocations: 358.7 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.3095, allocations: 8.031 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000187/0.3097, allocations: 20.83 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.3098, allocations: 118.4 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.3099, allocations: 8.375 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.3099, allocations: 4.359 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/0.3101, allocations: 182.8 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.3101, allocations: 192 / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.3101, allocations: 7.922 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.3102, allocations: 4 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.554e-05/0.3103, allocations: 71.98 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000158/0.3104, allocations: 133.1 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.3106, allocations: 110.8 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.503e-05/0.3107, allocations: 88.97 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.3107, allocations: 3.984 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002869/0.311, allocations: 204.3 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of pre-optimization done (n=39): time 1.453e-06/0.311, allocations: 0 / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=39): time 0.000654/0.3116, allocations: 492 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.857e-05/0.3117, allocations: 91.38 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.764e-05/0.3118, allocations: 117.8 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.83e-05/0.3119, allocations: 57.67 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.893e-05/0.3119, allocations: 84.8 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.312, allocations: 103.2 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.3121, allocations: 97.67 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.3123, allocations: 338.8 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000231/0.3125, allocations: 176.6 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002728/0.3128, allocations: 221.5 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004882/0.3133, allocations: 401.7 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3133, allocations: 0 / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0006476/0.3139, allocations: 0.489 MB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.3139, allocations: 5.562 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.032e-05/0.314, allocations: 7.984 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.314, allocations: 3.969 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.3141, allocations: 23.94 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.3141, allocations: 0 / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.699e-05/0.3142, allocations: 39.66 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.3142, allocations: 15.94 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 77 (occ.occ,$PRE.occ.occ,occ.state[33],$PRE.occ.state[33],occ.state[32],$PRE.occ.state[32],occ.state[31],$PRE.occ.state[31],occ.state[30],$PRE.occ.state[30],occ.state[29],$PRE.occ.state[29],occ.state[28],$PRE.occ.state[28],occ.state[27],$PRE.occ.state[27],occ.state[26],$PRE.occ.state[26],occ.state[25],$PRE.occ.state[25],occ.state[24],$PRE.occ.state[24],occ.state[23],$PRE.occ.state[23],occ.state[22],$PRE.occ.state[22],occ.state[21],$PRE.occ.state[21],occ.state[20],$PRE.occ.state[20],occ.state[19],$PRE.occ.state[19],occ.state[18],$PRE.occ.state[18],occ.state[17],$PRE.occ.state[17],occ.state[16],$PRE.occ.state[16],occ.state[15],$PRE.occ.state[15],occ.state[14],$PRE.occ.state[14],occ.state[13],$PRE.occ.state[13],occ.state[12],$PRE.occ.state[12],occ.state[11],$PRE.occ.state[11],occ.state[10],$PRE.occ.state[10],occ.state[9],$PRE.occ.state[9],occ.state[8],$PRE.occ.state[8],occ.state[7],$PRE.occ.state[7],occ.state[6],$PRE.occ.state[6],occ.state[5],$PRE.occ.state[5],occ.state[4],$PRE.occ.state[4],occ.state[3],$PRE.occ.state[3],occ.state[2],$PRE.occ.state[2],occ.state[1],$PRE.occ.state[1],occ.r,$PRE.occ.r,occ.hold_time,$PRE.occ.hold_time,occ.tNext,$PRE.occ.tNext,occ.mu,$PRE.occ.mu,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001999/0.3144, allocations: 195 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.971e-05/0.3144, allocations: 11.91 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.831e-05/0.3144, allocations: 5.312 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.3145, allocations: 3.938 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3145, allocations: 0 / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.762e-05/0.3145, allocations: 19.84 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.203e-05/0.3145, allocations: 31.98 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.201e-05/0.3146, allocations: 11.98 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.992e-05/0.3146, allocations: 0 / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004976/0.3151, allocations: 427.1 kB / 1.334 GB, free: 9.82 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005412/0.3156, allocations: 0.5284 MB / 1.334 GB, free: 9.273 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001124/0.3157, allocations: 83.95 kB / 1.334 GB, free: 9.191 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.53e-05/0.3158, allocations: 83.28 kB / 1.335 GB, free: 9.109 MB / 1.029 GB Notification: Performance of Backend: time 1.51e-07/0.3158, allocations: 0 / 1.335 GB, free: 9.109 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009299/0.3167, allocations: 414.9 kB / 1.335 GB, free: 8.707 MB / 1.029 GB Notification: Performance of SimCode: time 0.0006388/0.3173, allocations: 0.6836 MB / 1.336 GB, free: 7.973 MB / 1.029 GB Notification: Performance of Templates: time 0.005427/0.3228, allocations: 2.074 MB / 1.338 GB, free: 5.934 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_12_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_12_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_12_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & ./Buildings_12_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.599009066994768]