Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.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.001377/0.001377, 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.001447/0.001447, allocations: 210 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.241/1.241, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.659/2.659, allocations: 0.49 GB / 0.7958 GB, free: 35.4 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.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.OnePhase.Sources.Examples.VariablePowerSource") translateModel(Buildings.Electrical.AC.OnePhase.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.OnePhase.Sources.Examples.VariablePowerSource") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.029e-05/1.029e-05, allocations: 2.281 kB / 1.155 GB, free: 25.3 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.003101/0.003111, allocations: 2.999 MB / 1.158 GB, free: 23.37 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0022/0.005311, allocations: 1.853 MB / 1.16 GB, free: 22.2 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.702e-05/0.005398, allocations: 8.75 kB / 1.16 GB, free: 22.19 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0006267/0.006025, allocations: 246.3 kB / 1.16 GB, free: 22.05 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0003536/0.006378, allocations: 220.8 kB / 1.16 GB, free: 21.93 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004265/0.006805, allocations: 260.5 kB / 1.16 GB, free: 21.8 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004205/0.007225, allocations: 0.5123 MB / 1.161 GB, free: 21.59 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002705/0.007496, allocations: 164.6 kB / 1.161 GB, free: 21.5 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002589/0.007755, allocations: 228.5 kB / 1.161 GB, free: 21.41 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00021/0.007965, allocations: 179.2 kB / 1.161 GB, free: 21.33 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.491e-05/0.00801, allocations: 25.12 kB / 1.162 GB, free: 21.33 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002811/0.008291, allocations: 246.3 kB / 1.162 GB, free: 21.25 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0003145/0.008605, allocations: 0.5457 MB / 1.162 GB, free: 20.9 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0001445/0.00875, allocations: 334.2 kB / 1.163 GB, free: 20.68 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.829e-05/0.008798, allocations: 19.06 kB / 1.163 GB, free: 20.68 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.168e-05/0.00882, allocations: 5.438 kB / 1.163 GB, free: 20.68 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.001014/0.009834, allocations: 1.366 MB / 1.164 GB, free: 19.72 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001763/0.01001, allocations: 207 kB / 1.164 GB, free: 19.6 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.001061/0.01107, allocations: 1.31 MB / 1.165 GB, free: 18.93 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0002707/0.01134, allocations: 277.7 kB / 1.166 GB, free: 18.76 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.001114/0.01246, allocations: 1.101 MB / 1.167 GB, free: 18.04 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0002481/0.0127, allocations: 261.2 kB / 1.167 GB, free: 17.89 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0001079/0.01281, allocations: 133.5 kB / 1.167 GB, free: 17.79 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0002684/0.01308, allocations: 324.6 kB / 1.167 GB, free: 17.53 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0001565/0.01324, allocations: 135.7 kB / 1.168 GB, free: 17.46 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0004114/0.01365, allocations: 474.8 kB / 1.168 GB, free: 17.24 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.001359/0.01501, allocations: 1.352 MB / 1.169 GB, free: 16.7 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0006559/0.01566, allocations: 0.9656 MB / 1.17 GB, free: 16.25 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0005672/0.01623, allocations: 0.5175 MB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.001108/0.01734, allocations: 1.596 MB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 3.433e-05/0.01737, allocations: 27.2 kB / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0002427/0.01762, allocations: 330.4 kB / 1.173 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.002644/0.02026, allocations: 2.42 MB / 1.175 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 7.591e-05/0.02034, allocations: 95.81 kB / 1.175 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 1.012e-06/0.02034, allocations: 1.406 kB / 1.175 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 5.861e-06/0.02034, allocations: 336 / 1.175 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 2.826e-05/0.02037, allocations: 49.98 kB / 1.175 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 8.526e-06/0.02038, allocations: 3.406 kB / 1.175 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0009881/0.02137, allocations: 0.8495 MB / 1.176 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 0.0001595/0.02153, allocations: 263.3 kB / 1.176 GB, free: 13.79 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 4.424e-05/0.02157, allocations: 47.23 kB / 1.176 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of SimCode: time 0.00183/0.0234, allocations: 1.615 MB / 1.178 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of Templates: time 0.009745/0.03315, allocations: 6.142 MB / 1.184 GB, free: 12.44 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Sources_Examples_VariablePowerSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.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.129572657868266]