Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery.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.001333/0.001333, allocations: 96.42 kB / 19.71 MB, free: 2.125 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.001437/0.001437, allocations: 208.4 kB / 23.01 MB, free: 4.93 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.226/1.226, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 179] 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 2.664/2.664, allocations: 0.49 GB / 0.7958 GB, free: 35.38 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.Electrical.AC.OnePhase.Storage.Examples.AcBattery,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bat_loss_acdc.SOC|bat_ideal.SOC|bat.SOC",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery") translateModel(Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bat_loss_acdc.SOC|bat_ideal.SOC|bat.SOC",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 9.638e-06/9.638e-06, allocations: 2.281 kB / 1.155 GB, free: 25.28 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery): time 0.004101/0.004111, allocations: 4.291 MB / 1.159 GB, free: 22.52 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002514/0.006625, allocations: 2.148 MB / 1.161 GB, free: 21.12 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001471/0.006772, allocations: 15.97 kB / 1.161 GB, free: 21.11 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0009453/0.007717, allocations: 416.7 kB / 1.162 GB, free: 20.88 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004862/0.008204, allocations: 350.9 kB / 1.162 GB, free: 20.68 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005739/0.008777, allocations: 426.7 kB / 1.162 GB, free: 20.45 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0007598/0.009537, allocations: 1.06 MB / 1.163 GB, free: 19.96 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005084/0.01005, allocations: 444 kB / 1.164 GB, free: 19.7 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003897/0.01044, allocations: 426.4 kB / 1.164 GB, free: 19.51 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003357/0.01077, allocations: 356.1 kB / 1.165 GB, free: 19.33 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.365e-05/0.01085, allocations: 63.44 kB / 1.165 GB, free: 19.33 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003639/0.01122, allocations: 297.2 kB / 1.165 GB, free: 19.25 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0005928/0.01181, allocations: 1.207 MB / 1.166 GB, free: 18.44 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0002693/0.01208, allocations: 0.7434 MB / 1.167 GB, free: 17.93 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 7.936e-05/0.01216, allocations: 44.31 kB / 1.167 GB, free: 17.93 MB / 0.9044 GB Notification: Performance of FrontEnd: time 4.161e-05/0.0122, allocations: 32.75 kB / 1.167 GB, free: 17.91 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: 127 (110) * Number of variables: 127 (103) Notification: Performance of [SIM] Bindings: time 0.001812/0.01401, allocations: 2.829 MB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.000259/0.01427, allocations: 338.5 kB / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.001436/0.01571, allocations: 1.975 MB / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.000404/0.01611, allocations: 376.9 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.002292/0.0184, allocations: 2.439 MB / 1.175 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0002996/0.0187, allocations: 303.2 kB / 1.175 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0001347/0.01884, allocations: 167.7 kB / 1.175 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0003516/0.01919, allocations: 427 kB / 1.176 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0001436/0.01933, allocations: 140.3 kB / 1.176 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0004877/0.01982, allocations: 0.5594 MB / 1.176 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.001445/0.02127, allocations: 1.347 MB / 1.178 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0007727/0.02204, allocations: 1.183 MB / 1.179 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0008398/0.02288, allocations: 0.7677 MB / 1.179 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.001348/0.02423, allocations: 1.988 MB / 1.181 GB, free: 9.488 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 5.728e-05/0.02428, allocations: 40.5 kB / 1.181 GB, free: 9.461 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0002869/0.02457, allocations: 422.9 kB / 1.182 GB, free: 9.207 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.004154/0.02873, allocations: 3.832 MB / 1.186 GB, free: 8.34 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 4.115e-05/0.02877, allocations: 107.4 kB / 1.186 GB, free: 8.262 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 5.72e-07/0.02877, allocations: 4 kB / 1.186 GB, free: 8.258 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 5.841e-06/0.02877, allocations: 1.875 kB / 1.186 GB, free: 8.258 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 1.227e-05/0.02879, allocations: 37.25 kB / 1.186 GB, free: 8.23 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 8.135e-06/0.02879, allocations: 7.406 kB / 1.186 GB, free: 8.227 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.001147/0.02994, allocations: 0.9766 MB / 1.187 GB, free: 7.875 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 0.000514/0.03045, allocations: 0.6052 MB / 1.187 GB, free: 7.496 MB / 0.9044 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 0 * 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: ............................. 3 (3) {bat_ideal.SOC, bat_loss_acdc.SOC, bat.SOC} * Number of discrete states: .................... 2 (2) {pow.T_start, pow.count} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 18 (18) {bat_ideal.cha.underCharged, bat_ideal.cha.overCharged, bat_loss_acdc.cha.underCharged, bat_loss_acdc.cha.overCharged, bat.cha.underCharged, bat.cha.overCharged, $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 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: ........... 67 (scalar:67, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 3 (resizable: 3, 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: ........... 102 (scalar:102, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 3 (resizable: 3, 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: ........... 102 (scalar:102, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 3 (resizable: 3, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 9.726e-05/0.03055, allocations: 86.62 kB / 1.187 GB, free: 7.422 MB / 0.9044 GB Notification: Performance of SimCode: time 0.002833/0.03339, allocations: 2.959 MB / 1.19 GB, free: 6.207 MB / 0.9044 GB Notification: Performance of Templates: time 0.0109/0.04428, allocations: 7.072 MB / 1.197 GB, free: 5.504 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Storage_Examples_AcBattery.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery.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: 7.198696758132428]