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.001574/0.001574, allocations: 104.3 kB / 19.77 MB, free: 2.051 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.001721/0.001721, allocations: 214.8 kB / 23.07 MB, free: 4.844 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.385/1.385, allocations: 230.7 MB / 256.9 MB, free: 7.758 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.008/3.008, allocations: 0.4893 GB / 0.7952 GB, free: 35.56 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: Performance of FrontEnd - Absyn->SCode: time 1.504e-05/1.504e-05, allocations: 2.281 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001994/0.002009, allocations: 1.368 MB / 1.156 GB, free: 24.61 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.000702/0.002711, allocations: 346.2 kB / 1.156 GB, free: 24.41 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.244e-05/0.002743, allocations: 0.9688 kB / 1.156 GB, free: 24.41 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 7.845e-05/0.002822, allocations: 10.03 kB / 1.156 GB, free: 24.4 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 2.555e-05/0.002847, allocations: 9.609 kB / 1.156 GB, free: 24.39 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004101/0.003257, allocations: 93.3 kB / 1.156 GB, free: 24.36 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 8.817e-05/0.003346, allocations: 53.39 kB / 1.156 GB, free: 24.33 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.273e-05/0.003388, allocations: 6 kB / 1.156 GB, free: 24.33 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 2.795e-05/0.003416, allocations: 20.33 kB / 1.156 GB, free: 24.32 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 3.566e-05/0.003452, allocations: 19.53 kB / 1.156 GB, free: 24.31 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.003465, allocations: 7.875 kB / 1.156 GB, free: 24.31 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001809/0.003646, allocations: 116.4 kB / 1.156 GB, free: 24.28 MB / 0.9044 GB Notification: Performance of combineBinaries: time 5.976e-05/0.003706, allocations: 68 kB / 1.156 GB, free: 24.24 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 1.3e-05/0.003719, allocations: 33.75 kB / 1.156 GB, free: 24.21 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.733e-05/0.003736, allocations: 2.562 kB / 1.156 GB, free: 24.21 MB / 0.9044 GB Notification: Performance of FrontEnd: time 9.989e-06/0.003746, allocations: 2.312 kB / 1.156 GB, free: 24.21 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 (5) * Number of variables: 38 (6) Notification: Performance of [SIM] Bindings: time 0.0003944/0.00414, allocations: 348.8 kB / 1.157 GB, free: 23.86 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 7.436e-05/0.004215, allocations: 49.03 kB / 1.157 GB, free: 23.82 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0001915/0.004406, allocations: 200.2 kB / 1.157 GB, free: 23.69 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 5.843e-05/0.004465, allocations: 81.09 kB / 1.157 GB, free: 23.59 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 9.143e-05/0.004556, allocations: 135 kB / 1.157 GB, free: 23.45 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 5.351e-05/0.00461, allocations: 79.83 kB / 1.157 GB, free: 23.35 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 3.4e-05/0.004644, allocations: 57.34 kB / 1.157 GB, free: 23.28 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001558/0.004799, allocations: 147.5 kB / 1.158 GB, free: 23.13 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 6.227e-05/0.004862, allocations: 18 kB / 1.158 GB, free: 23.12 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 9.884e-05/0.004961, allocations: 58.33 kB / 1.158 GB, free: 23.09 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0004167/0.005377, allocations: 249.7 kB / 1.158 GB, free: 23.02 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 8.848e-05/0.005466, allocations: 114.8 kB / 1.158 GB, free: 22.97 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0001686/0.005634, allocations: 148.9 kB / 1.158 GB, free: 22.8 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0001278/0.005762, allocations: 163.5 kB / 1.158 GB, free: 22.72 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.384e-05/0.005776, allocations: 13.8 kB / 1.158 GB, free: 22.7 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 1.959e-05/0.005795, allocations: 24.41 kB / 1.158 GB, free: 22.69 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.001301/0.007096, allocations: 1.082 MB / 1.159 GB, free: 22.41 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.151e-05/0.007108, allocations: 9.219 kB / 1.159 GB, free: 22.41 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.91e-07/0.007108, allocations: 1.094 kB / 1.159 GB, free: 22.41 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 1.345e-05/0.007122, allocations: 22.58 kB / 1.159 GB, free: 22.38 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.016e-06/0.007125, allocations: 0 / 1.159 GB, free: 22.38 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 2.415e-06/0.007127, allocations: 2.438 kB / 1.159 GB, free: 22.38 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 7.905e-06/0.007135, allocations: 5.344 kB / 1.159 GB, free: 22.38 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.000105/0.00724, allocations: 51.67 kB / 1.159 GB, free: 22.36 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 6.973e-06/0.007247, allocations: 0 / 1.159 GB, free: 22.36 MB / 0.9044 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 4 (4) {occ.tNext, occ.hold_time, occ.mu, occ.occ} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 35 (3) {occ.r, occ.state, $SEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 1 (scalar:1, array:0, record:0) * Number of multi strong components: ............ 5 (algorithm:0, when:5, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 12 (scalar:10, array:2, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:1) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.841e-05/0.007285, allocations: 35.81 kB / 1.159 GB, free: 22.33 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0009483/0.008234, allocations: 0.6607 MB / 1.16 GB, free: 21.98 MB / 0.9044 GB Notification: Performance of Templates: time 0.004303/0.01254, allocations: 1.474 MB / 1.162 GB, free: 21.75 MB / 0.9044 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] "" Variables in the reference:time,occ.occ Variables in the result:occ.globalSeed,occ.localSeed,occ.occ,occ.one_mu,occ.zero_mu,time [Calling sys.exit(0), Time elapsed: 8.084339313965756]