Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conWin.TClear|conWin.TDark|conWin.T|conWin.HClear|conWin.HDark|conWin.H|conWin.y",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") translateModel(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conWin.TClear|conWin.TDark|conWin.T|conWin.HClear|conWin.HDark|conWin.H|conWin.y",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001721/0.001721, allocations: 104.2 kB / 16.42 MB, free: 6.527 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.001745/0.001745, allocations: 190.1 kB / 17.36 MB, free: 5.727 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.079/1.079, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.136/2.136, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.658e-06/9.668e-06, allocations: 2.281 kB / 1.055 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.002241/0.002259, allocations: 2.011 MB / 1.057 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008044/0.003073, allocations: 0.6546 MB / 1.057 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.414e-05/0.003157, allocations: 3.938 kB / 1.057 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.127e-05/0.003203, allocations: 15.8 kB / 1.057 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.003336, allocations: 47.52 kB / 1.057 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00032/0.003668, allocations: 164.2 kB / 1.057 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002913/0.003966, allocations: 319.2 kB / 1.058 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.004089, allocations: 60.3 kB / 1.058 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.004206, allocations: 123.5 kB / 1.058 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.00433, allocations: 111.6 kB / 1.058 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.5e-05/0.00438, allocations: 28 kB / 1.058 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.801e-05/0.004423, allocations: 24 kB / 1.058 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.0002137/0.004641, allocations: 360.1 kB / 1.058 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 7.948e-05/0.004726, allocations: 193 kB / 1.059 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.201e-05/0.004772, allocations: 31.88 kB / 1.059 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.195e-05/0.004799, allocations: 11.88 kB / 1.059 GB, free: 3.621 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 (30) * Number of variables: 30 (30) Notification: Performance of Bindings: time 0.0008107/0.005614, allocations: 1.084 MB / 1.06 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 3.335e-05/0.005652, allocations: 39.92 kB / 1.06 GB, free: 2.387 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.0004229/0.006079, allocations: 0.548 MB / 1.06 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of simplify1: time 4.495e-05/0.00613, allocations: 51.92 kB / 1.06 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of Alias: time 0.000784/0.006918, allocations: 0.8207 MB / 1.061 GB, free: 0.8203 MB / 0.8262 GB Notification: Performance of simplify2: time 3.202e-05/0.006959, allocations: 39.94 kB / 1.061 GB, free: 0.7812 MB / 0.8262 GB Notification: Performance of Events: time 0.0002066/0.00717, allocations: 175.4 kB / 1.061 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of Detect States: time 0.000218/0.007395, allocations: 242.9 kB / 1.062 GB, free: 368 kB / 0.8262 GB Notification: Performance of Partitioning: time 0.0001665/0.00757, allocations: 188.8 kB / 1.062 GB, free: 156 kB / 0.8262 GB Notification: Performance of Causalize: time 0.0006744/0.00825, allocations: 0.665 MB / 1.062 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0004478/0.008706, allocations: 0.5951 MB / 1.063 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of Inline: time 0.0007826/0.009495, allocations: 0.9501 MB / 1.064 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of Partitioning: time 4.451e-05/0.009549, allocations: 42.38 kB / 1.064 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of Cleanup: time 9.402e-05/0.009647, allocations: 129 kB / 1.064 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of Causalize: time 0.002161/0.01181, allocations: 2.223 MB / 1.066 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of Tearing: time 9.368e-06/0.01183, allocations: 4 kB / 1.066 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of Initialization: time 7.31e-07/0.01184, allocations: 0 / 1.066 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of Tearing: time 3.687e-06/0.01185, allocations: 3.938 kB / 1.066 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of Categorize: time 7.955e-06/0.01186, allocations: 4 kB / 1.066 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of Solve: time 0.000186/0.01205, allocations: 134.7 kB / 1.066 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.324e-06/0.01206, allocations: 0 / 1.066 GB, free: 11.3 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: ......... 3 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 4 (4) {HMea.count, HMea.T_start, TMea.T_start, TMea.count} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 16 (16) {$SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 25 (scalar:25, array:0, record:0) * Number of multi strong components: ............ 4 (algorithm:0, when:4, 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: ........... 45 (scalar:45, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:2, 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 (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 45 (scalar:45, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:2, 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 5.043e-05/0.01211, allocations: 43.11 kB / 1.066 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of SimCode: time 0.0007389/0.01285, allocations: 1.372 MB / 1.068 GB, free: 9.867 MB / 0.8419 GB Notification: Performance of Templates: time 0.00456/0.01742, allocations: 2.833 MB / 1.071 GB, free: 7.07 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.makefile (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,conWin.TClear,conWin.TDark,conWin.T,conWin.HClear,conWin.HDark,conWin.H,conWin.y Variables in the result:HMea.T_falling,HMea.T_rising,HMea.T_width,HMea.amplitude,HMea.falling,HMea.nperiod,HMea.offset,HMea.period,HMea.rising,HMea.startTime,HMea.width,HMea.y,TMea.T_falling,TMea.T_rising,TMea.T_width,TMea.amplitude,TMea.falling,TMea.nperiod,TMea.offset,TMea.period,TMea.rising,TMea.startTime,TMea.width,TMea.y,conWin.H,conWin.HClear,conWin.HDark,conWin.HLow.k,conWin.HLow.y,conWin.T,conWin.TClear,conWin.TDark,conWin.TLow.k,conWin.TLow.y,conWin.feeH.u2,conWin.feeT.u2,conWin.gaiH.k,conWin.gaiT.k,conWin.limH.homotopyType,conWin.limH.strict,conWin.limH.uMax,conWin.limH.uMin,conWin.limT.homotopyType,conWin.limT.strict,conWin.limT.uMax,conWin.limT.uMin,conWin.product.y,conWin.y,time