Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.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.001345/0.001345, allocations: 100.4 kB / 19.72 MB, free: 2.121 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.001377/0.001377, allocations: 211.8 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.231/1.231, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.653/2.653, allocations: 0.49 GB / 0.7958 GB, free: 35.61 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.ThreePhasesBalanced.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.ThreePhasesBalanced.Storage.Examples.AcBattery") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Storage.Examples.AcBattery") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.124e-05/1.124e-05, allocations: 4.391 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Storage.Examples.AcBattery): time 0.005473/0.005484, allocations: 5.878 MB / 1.161 GB, free: 21.49 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002508/0.007991, allocations: 2.15 MB / 1.163 GB, free: 20.09 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001512/0.008143, allocations: 12.94 kB / 1.163 GB, free: 20.09 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0009452/0.009088, allocations: 416.3 kB / 1.163 GB, free: 19.86 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004932/0.009581, allocations: 349.2 kB / 1.164 GB, free: 19.65 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005971/0.01018, allocations: 425.6 kB / 1.164 GB, free: 19.43 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0007643/0.01094, allocations: 1.055 MB / 1.165 GB, free: 18.94 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005129/0.01146, allocations: 449.2 kB / 1.165 GB, free: 18.68 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003815/0.01184, allocations: 428.3 kB / 1.166 GB, free: 18.48 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003276/0.01216, allocations: 352.1 kB / 1.166 GB, free: 18.31 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.171e-05/0.01225, allocations: 62.88 kB / 1.166 GB, free: 18.31 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003597/0.01261, allocations: 305.4 kB / 1.167 GB, free: 18.23 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0005976/0.0132, allocations: 1.206 MB / 1.168 GB, free: 17.41 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0002675/0.01347, allocations: 0.7437 MB / 1.168 GB, free: 16.9 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 8.027e-05/0.01355, allocations: 46.22 kB / 1.168 GB, free: 16.9 MB / 0.9044 GB Notification: Performance of FrontEnd: time 4.171e-05/0.01359, allocations: 19.94 kB / 1.169 GB, free: 16.89 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.001886/0.01548, allocations: 2.842 MB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0002554/0.01573, allocations: 341.2 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.001426/0.01716, allocations: 1.973 MB / 1.174 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0004092/0.01757, allocations: 376.3 kB / 1.174 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.002287/0.01986, allocations: 2.433 MB / 1.176 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0003009/0.02016, allocations: 316.1 kB / 1.177 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0001354/0.02029, allocations: 167 kB / 1.177 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0003559/0.02065, allocations: 426.7 kB / 1.177 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0001448/0.02079, allocations: 132.2 kB / 1.177 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0004996/0.02129, allocations: 0.5586 MB / 1.178 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.00144/0.02273, allocations: 1.345 MB / 1.179 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0007852/0.02352, allocations: 1.187 MB / 1.18 GB, free: 9.992 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0008528/0.02437, allocations: 0.7714 MB / 1.181 GB, free: 9.539 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.001361/0.02573, allocations: 1.992 MB / 1.183 GB, free: 8.457 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 5.589e-05/0.02579, allocations: 40.08 kB / 1.183 GB, free: 8.43 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0002859/0.02607, allocations: 418.7 kB / 1.183 GB, free: 8.18 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.004153/0.03023, allocations: 3.835 MB / 1.187 GB, free: 7.309 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 4.194e-05/0.03027, allocations: 103.4 kB / 1.187 GB, free: 7.234 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 5.11e-07/0.03027, allocations: 0 / 1.187 GB, free: 7.234 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 5.751e-06/0.03027, allocations: 2.281 kB / 1.187 GB, free: 7.234 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 1.315e-05/0.03029, allocations: 46.25 kB / 1.187 GB, free: 7.199 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 7.143e-06/0.03029, allocations: 2.094 kB / 1.187 GB, free: 7.199 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.001182/0.03148, allocations: 0.9768 MB / 1.188 GB, free: 6.848 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 0.0005239/0.032, allocations: 0.6066 MB / 1.189 GB, free: 6.469 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.419e-05/0.0321, allocations: 82.89 kB / 1.189 GB, free: 6.398 MB / 0.9044 GB Notification: Performance of SimCode: time 0.00284/0.03494, allocations: 2.973 MB / 1.192 GB, free: 5.168 MB / 0.9044 GB Notification: Performance of Templates: time 0.01092/0.04586, allocations: 7.085 MB / 1.199 GB, free: 4.453 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Storage.Examples.AcBattery.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Storage.Examples.AcBattery.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Storage.Examples.AcBattery.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Storage.Examples.AcBattery.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Storage.Examples.AcBattery.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Storage.Examples.AcBattery -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Storage.Examples.AcBattery.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Storage.Examples.AcBattery_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Storage_Examples_AcBattery.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.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.187745094299316]