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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001343/0.001343, allocations: 107.8 kB / 16.42 MB, free: 6.488 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.001334/0.001334, allocations: 190 kB / 17.36 MB, free: 5.703 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.097/1.097, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.162/2.162, allocations: 472.6 MB / 0.7459 GB, free: 488 kB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.714e-05/1.716e-05, allocations: 2.281 kB / 1.07 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.002328/0.002352, allocations: 2.008 MB / 1.072 GB, free: 7.66 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008751/0.003238, allocations: 0.6545 MB / 1.073 GB, free: 7 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.612e-05/0.003334, allocations: 4 kB / 1.073 GB, free: 6.996 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.174e-05/0.003381, allocations: 19.73 kB / 1.073 GB, free: 6.977 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001427/0.003528, allocations: 47.58 kB / 1.073 GB, free: 6.93 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003301/0.003877, allocations: 159 kB / 1.073 GB, free: 6.777 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00031/0.004194, allocations: 319.2 kB / 1.073 GB, free: 6.465 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.004322, allocations: 64.28 kB / 1.073 GB, free: 6.398 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.004445, allocations: 107.6 kB / 1.073 GB, free: 6.293 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.004581, allocations: 123.5 kB / 1.073 GB, free: 6.172 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.384e-05/0.00463, allocations: 28 kB / 1.073 GB, free: 6.145 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 3.765e-05/0.004673, allocations: 24 kB / 1.073 GB, free: 6.121 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0002208/0.004898, allocations: 352.2 kB / 1.074 GB, free: 5.773 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 8.782e-05/0.004993, allocations: 201 kB / 1.074 GB, free: 5.574 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.078e-05/0.005038, allocations: 31.88 kB / 1.074 GB, free: 5.543 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.696e-05/0.005069, allocations: 11.88 kB / 1.074 GB, free: 5.531 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: 30 (30) * Number of variables: 30 (30) Notification: Performance of Bindings: time 0.000829/0.005902, allocations: 1.08 MB / 1.075 GB, free: 4.344 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 4.165e-05/0.005949, allocations: 47.84 kB / 1.075 GB, free: 4.297 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0004402/0.006395, allocations: 0.5558 MB / 1.076 GB, free: 3.715 MB / 0.8419 GB Notification: Performance of simplify1: time 4.808e-05/0.00645, allocations: 43.94 kB / 1.076 GB, free: 3.672 MB / 0.8419 GB Notification: Performance of Alias: time 0.0008348/0.007289, allocations: 0.8169 MB / 1.077 GB, free: 2.734 MB / 0.8419 GB Notification: Performance of simplify2: time 3.818e-05/0.007337, allocations: 39.94 kB / 1.077 GB, free: 2.695 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0001956/0.007537, allocations: 184 kB / 1.077 GB, free: 2.5 MB / 0.8419 GB Notification: Performance of Events: time 0.0002211/0.007766, allocations: 188.5 kB / 1.077 GB, free: 2.316 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.000177/0.00795, allocations: 184.8 kB / 1.077 GB, free: 2.113 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0006783/0.008635, allocations: 0.6613 MB / 1.078 GB, free: 1.43 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.000461/0.009104, allocations: 0.5872 MB / 1.078 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of Inline: time 0.3561/0.3652, allocations: 0.9664 MB / 1.079 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of Partitioning: time 9.28e-05/0.3654, allocations: 46.06 kB / 1.079 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of Cleanup: time 0.0001513/0.3655, allocations: 115.5 kB / 1.079 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of Causalize: time 0.002522/0.3681, allocations: 2.233 MB / 1.082 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of Tearing: time 1.633e-05/0.3681, allocations: 3.969 kB / 1.082 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of Initialization: time 1.273e-06/0.3681, allocations: 0 / 1.082 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of Tearing: time 3.737e-06/0.3681, allocations: 1.094 kB / 1.082 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of Categorize: time 1.29e-05/0.3681, allocations: 2.188 kB / 1.082 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of Solve: time 0.000256/0.3684, allocations: 145.9 kB / 1.082 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.735e-06/0.3684, allocations: 0 / 1.082 GB, free: 15.44 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 4.127e-05/0.3684, allocations: 51.31 kB / 1.082 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of SimCode: time 0.0008036/0.3692, allocations: 1.368 MB / 1.083 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of Templates: time 0.005658/0.3749, allocations: 2.827 MB / 1.086 GB, free: 14.42 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