Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.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.00135/0.00135, 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.001455/0.001455, allocations: 208.4 kB / 23 MB, free: 4.938 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.24/1.24, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.658/2.658, allocations: 0.49 GB / 0.7958 GB, free: 35.34 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.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|grid.P.real|grid.P.apparent",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|grid.P.real|grid.P.apparent",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 9.818e-06/9.818e-06, allocations: 4.25 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.003/0.003009, allocations: 2.885 MB / 1.158 GB, free: 23.38 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002052/0.005061, allocations: 1.759 MB / 1.16 GB, free: 22.27 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.566e-05/0.005137, allocations: 3.781 kB / 1.16 GB, free: 22.27 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0006116/0.005748, allocations: 231.1 kB / 1.16 GB, free: 22.14 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0003123/0.006061, allocations: 205.7 kB / 1.16 GB, free: 22.03 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003617/0.006422, allocations: 229.3 kB / 1.16 GB, free: 21.92 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003475/0.00677, allocations: 443.3 kB / 1.161 GB, free: 21.74 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000246/0.007016, allocations: 142.5 kB / 1.161 GB, free: 21.67 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002167/0.007233, allocations: 181.1 kB / 1.161 GB, free: 21.6 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001758/0.007408, allocations: 147.7 kB / 1.161 GB, free: 21.53 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.368e-05/0.007442, allocations: 22.97 kB / 1.161 GB, free: 21.53 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002599/0.007702, allocations: 236.7 kB / 1.161 GB, free: 21.45 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0002535/0.007955, allocations: 452.9 kB / 1.162 GB, free: 21.16 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0001139/0.008069, allocations: 267.2 kB / 1.162 GB, free: 20.99 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.393e-05/0.008103, allocations: 15.66 kB / 1.162 GB, free: 20.99 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.789e-05/0.008121, allocations: 7.938 kB / 1.162 GB, free: 20.99 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: 53 (42) * Number of variables: 53 (38) Notification: Performance of [SIM] Bindings: time 0.0008981/0.009019, allocations: 1.124 MB / 1.163 GB, free: 20.16 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.000148/0.009167, allocations: 179.2 kB / 1.163 GB, free: 20.05 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0009248/0.01009, allocations: 1.102 MB / 1.164 GB, free: 19.48 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0002262/0.01032, allocations: 224 kB / 1.165 GB, free: 19.33 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0009228/0.01124, allocations: 0.9479 MB / 1.165 GB, free: 18.64 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0002043/0.01145, allocations: 207.6 kB / 1.166 GB, free: 18.5 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 8.389e-05/0.01153, allocations: 107.7 kB / 1.166 GB, free: 18.41 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001969/0.01173, allocations: 245.7 kB / 1.166 GB, free: 18.2 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 9.935e-05/0.01183, allocations: 72.12 kB / 1.166 GB, free: 18.16 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0003376/0.01216, allocations: 393 kB / 1.166 GB, free: 17.96 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.001223/0.01339, allocations: 1.211 MB / 1.168 GB, free: 17.46 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0005064/0.01389, allocations: 0.7362 MB / 1.168 GB, free: 17.11 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0004238/0.01432, allocations: 401.9 kB / 1.169 GB, free: 16.84 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0008878/0.0152, allocations: 1.269 MB / 1.17 GB, free: 16.21 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 2.849e-05/0.01523, allocations: 25.08 kB / 1.17 GB, free: 16.19 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0001801/0.01541, allocations: 256.5 kB / 1.17 GB, free: 16.05 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0021/0.01751, allocations: 1.951 MB / 1.172 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 6.79e-05/0.01758, allocations: 78.84 kB / 1.172 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 4.81e-07/0.01758, allocations: 0 / 1.172 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 4.318e-06/0.01759, allocations: 9.031 kB / 1.172 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 2.343e-05/0.01761, allocations: 44.84 kB / 1.172 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 8.145e-06/0.01762, allocations: 2.969 kB / 1.172 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0007834/0.0184, allocations: 0.676 MB / 1.173 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 0.000171/0.01857, allocations: 249.8 kB / 1.173 GB, free: 15.04 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: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 4 (4) {$SEV_1, $SEV_0, $TEV_1, $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: ........... 42 (scalar:42, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 47 (scalar:47, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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: ........... 47 (scalar:47, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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.746e-05/0.01861, allocations: 59.11 kB / 1.173 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001505/0.02011, allocations: 1.4 MB / 1.175 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of Templates: time 0.007856/0.02797, allocations: 4.911 MB / 1.179 GB, free: 13.9 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.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.134160235989839]