Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.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.001121/0.001121, allocations: 108.3 kB / 19.71 MB, free: 2.137 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.001184/0.001184, allocations: 209.8 kB / 23.01 MB, free: 4.957 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.239/1.239, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.713/2.713, allocations: 0.49 GB / 0.7958 GB, free: 35.42 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.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|RL.i.1.|RL.i.2.|RL.S.1.|RL.S.2.|generator.S.1.|generator.S.2.|grid.sou.S.1.|grid.sou.S.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|RL.i.1.|RL.i.2.|RL.S.1.|RL.S.2.|generator.S.1.|generator.S.2.|grid.sou.S.1.|grid.sou.S.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 9.918e-06/9.918e-06, allocations: 3.688 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.003582/0.003592, allocations: 3.536 MB / 1.158 GB, free: 22.97 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00229/0.005882, allocations: 1.863 MB / 1.16 GB, free: 21.79 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.923e-05/0.005971, allocations: 10.19 kB / 1.16 GB, free: 21.78 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0006264/0.006597, allocations: 227.9 kB / 1.161 GB, free: 21.66 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0003519/0.006949, allocations: 222.1 kB / 1.161 GB, free: 21.54 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004096/0.007359, allocations: 266.7 kB / 1.161 GB, free: 21.41 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004206/0.007779, allocations: 0.5176 MB / 1.161 GB, free: 21.19 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002691/0.008049, allocations: 157.5 kB / 1.162 GB, free: 21.11 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002568/0.008305, allocations: 222.2 kB / 1.162 GB, free: 21.02 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002069/0.008512, allocations: 183.6 kB / 1.162 GB, free: 20.93 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.319e-05/0.008555, allocations: 24.84 kB / 1.162 GB, free: 20.93 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002777/0.008833, allocations: 250.3 kB / 1.162 GB, free: 20.85 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.000326/0.009159, allocations: 0.542 MB / 1.163 GB, free: 20.5 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0001422/0.009301, allocations: 332 kB / 1.163 GB, free: 20.29 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.755e-05/0.009349, allocations: 23.41 kB / 1.163 GB, free: 20.29 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.192e-05/0.009371, allocations: 5.891 kB / 1.163 GB, free: 20.29 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: 57 (46) * Number of variables: 57 (42) Notification: Performance of [SIM] Bindings: time 0.001026/0.0104, allocations: 1.372 MB / 1.164 GB, free: 19.31 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001786/0.01058, allocations: 199.3 kB / 1.165 GB, free: 19.2 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.001053/0.01163, allocations: 1.297 MB / 1.166 GB, free: 18.55 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0002833/0.01191, allocations: 283.5 kB / 1.166 GB, free: 18.37 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.001128/0.01304, allocations: 1.108 MB / 1.167 GB, free: 17.64 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0002654/0.01331, allocations: 262.7 kB / 1.168 GB, free: 17.48 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0001103/0.01342, allocations: 134.4 kB / 1.168 GB, free: 17.38 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0002699/0.01369, allocations: 310.7 kB / 1.168 GB, free: 17.14 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0001598/0.01385, allocations: 135.4 kB / 1.168 GB, free: 17.07 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0004117/0.01426, allocations: 483.5 kB / 1.169 GB, free: 16.84 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.001377/0.01564, allocations: 1.345 MB / 1.17 GB, free: 16.3 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.000657/0.01629, allocations: 0.9615 MB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0005669/0.01686, allocations: 0.5277 MB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.001111/0.01797, allocations: 1.596 MB / 1.173 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 4.238e-05/0.01801, allocations: 23.8 kB / 1.173 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0002418/0.01825, allocations: 330.3 kB / 1.173 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.002642/0.0209, allocations: 2.422 MB / 1.176 GB, free: 14 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 7.87e-05/0.02097, allocations: 92.8 kB / 1.176 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 9.22e-07/0.02098, allocations: 1.531 kB / 1.176 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 5.27e-06/0.02098, allocations: 336 / 1.176 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 2.808e-05/0.02101, allocations: 38.25 kB / 1.176 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 9.608e-06/0.02102, allocations: 11.23 kB / 1.176 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0009726/0.02199, allocations: 0.8548 MB / 1.177 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 0.0001588/0.02215, allocations: 258.4 kB / 1.177 GB, free: 13.39 MB / 0.9044 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 3 * 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: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 2 (2) {load.T_start, load.count} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 9 (9) {$SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_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: ........... 49 (scalar:49, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 1 (resizable: 1, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 58 (scalar:58, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 1 (resizable: 1, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 58 (scalar:58, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 1 (resizable: 1, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 3.988e-05/0.02219, allocations: 44.23 kB / 1.177 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001786/0.02398, allocations: 1.623 MB / 1.178 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of Templates: time 0.009602/0.03358, allocations: 6.144 MB / 1.184 GB, free: 12.04 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.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.230764701962471]