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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|occ.occ",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 115.2 kB / 16.43 MB, free: 6.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 183.2 kB / 17.35 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.215/1.215, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.327/2.327, allocations: 469.8 MB / 0.7432 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.647e-05/1.649e-05, allocations: 2.5 kB / 1.066 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.00182/0.001844, allocations: 1.335 MB / 1.067 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0006334/0.002489, allocations: 354.9 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.225e-05/0.002523, allocations: 0 / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 7.049e-05/0.002598, allocations: 3.938 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 2.047e-05/0.002624, allocations: 7.938 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003282/0.002961, allocations: 87.77 kB / 1.068 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.939e-05/0.003071, allocations: 55.84 kB / 1.068 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 2.716e-05/0.003105, allocations: 4 kB / 1.068 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.631e-05/0.003146, allocations: 27.91 kB / 1.068 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.563e-05/0.003186, allocations: 19.92 kB / 1.068 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.003207, allocations: 4 kB / 1.068 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001421/0.003353, allocations: 79.91 kB / 1.068 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of combineBinaries: time 5.516e-05/0.003417, allocations: 55.5 kB / 1.068 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 1.67e-05/0.003439, allocations: 27.56 kB / 1.068 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.179e-05/0.003465, allocations: 8 kB / 1.068 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of FrontEnd: time 7.835e-06/0.003477, allocations: 0 / 1.068 GB, free: 11.59 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 (1) * Number of variables: 38 (6) Notification: Performance of Bindings: time 0.0002898/0.003772, allocations: 252.7 kB / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 9.758e-06/0.003788, allocations: 7.938 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0001703/0.003962, allocations: 176.2 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of simplify1: time 4.33e-05/0.004013, allocations: 48.42 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of Alias: time 5.057e-05/0.004069, allocations: 64.48 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of simplify2: time 3.456e-05/0.004108, allocations: 48.41 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0001002/0.004215, allocations: 88.14 kB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of Events: time 6.383e-05/0.004285, allocations: 27.91 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of Partitioning: time 6.669e-05/0.004358, allocations: 44.11 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0008708/0.005235, allocations: 1.065 MB / 1.07 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0001366/0.00538, allocations: 156.3 kB / 1.07 GB, free: 9.352 MB / 0.8419 GB Notification: Performance of Inline: time 0.0002645/0.005653, allocations: 268.2 kB / 1.07 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of Partitioning: time 1.248e-05/0.005674, allocations: 12.12 kB / 1.07 GB, free: 9.035 MB / 0.8419 GB Notification: Performance of Cleanup: time 6.423e-05/0.005743, allocations: 63.95 kB / 1.07 GB, free: 8.973 MB / 0.8419 GB Notification: Performance of Causalize: time 0.001173/0.006924, allocations: 1.456 MB / 1.071 GB, free: 7.523 MB / 0.8419 GB Notification: Performance of Tearing: time 8.045e-06/0.006941, allocations: 0 / 1.071 GB, free: 7.523 MB / 0.8419 GB Notification: Performance of Initialization: time 3.5e-07/0.006948, allocations: 7.938 kB / 1.071 GB, free: 7.516 MB / 0.8419 GB Notification: Performance of Tearing: time 1.002e-06/0.006953, allocations: 0 / 1.071 GB, free: 7.516 MB / 0.8419 GB Notification: Performance of Categorize: time 5.36e-06/0.006963, allocations: 4 kB / 1.071 GB, free: 7.512 MB / 0.8419 GB Notification: Performance of Solve: time 4.448e-05/0.007011, allocations: 11.98 kB / 1.071 GB, free: 7.5 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.424e-06/0.00702, allocations: 3.938 kB / 1.071 GB, free: 7.496 MB / 0.8419 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: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 73 (9) {occ.occ, occ.mu, occ.tNext, occ.hold_time, occ.r, occ.state, $TEV_2, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 3 (scalar:2, array:1, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 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: ........... 6 (scalar:4, array:2, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.791e-05/0.007061, allocations: 26.58 kB / 1.071 GB, free: 7.473 MB / 0.8419 GB Notification: Performance of SimCode: time 0.0009819/0.008048, allocations: 1.307 MB / 1.073 GB, free: 6.148 MB / 0.8419 GB Notification: Performance of Templates: time 0.003331/0.01139, allocations: 1.362 MB / 1.074 GB, free: 4.785 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1) 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) "" Variables in the reference:time,occ.occ Variables in the result:occ.occ,occ.one_mu,occ.seed,occ.zero_mu,time