Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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.001686/0.001686, allocations: 104.3 kB / 19.72 MB, free: 2.145 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.001774/0.001774, allocations: 209.3 kB / 23 MB, free: 4.965 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.256/1.256, 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.707/2.707, allocations: 0.49 GB / 0.7958 GB, free: 35.53 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.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R.i.1.|R.i.2.|R1.i.1.|R1.i.2.|source.S.1.|source.S.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R.i.1.|R.i.2.|R1.i.1.|R1.i.2.|source.S.1.|source.S.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.143e-05/1.143e-05, allocations: 2.281 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.002829/0.00284, allocations: 2.646 MB / 1.158 GB, free: 23.54 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001537/0.004378, allocations: 1.295 MB / 1.159 GB, free: 22.73 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.687e-05/0.004445, allocations: 3.188 kB / 1.159 GB, free: 22.73 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0005433/0.004988, allocations: 181.1 kB / 1.159 GB, free: 22.62 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.000298/0.005286, allocations: 166 kB / 1.159 GB, free: 22.54 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002622/0.005548, allocations: 165.7 kB / 1.159 GB, free: 22.46 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003207/0.005869, allocations: 382.8 kB / 1.16 GB, free: 22.31 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002248/0.006094, allocations: 113.7 kB / 1.16 GB, free: 22.25 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002151/0.006309, allocations: 178.3 kB / 1.16 GB, free: 22.18 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.006469, allocations: 123.4 kB / 1.16 GB, free: 22.13 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.743e-05/0.006497, allocations: 13.84 kB / 1.16 GB, free: 22.13 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.006647, allocations: 122.3 kB / 1.16 GB, free: 22.09 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0002195/0.006866, allocations: 349.1 kB / 1.161 GB, free: 21.88 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 9.493e-05/0.006961, allocations: 222.5 kB / 1.161 GB, free: 21.73 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.027e-05/0.006991, allocations: 13.41 kB / 1.161 GB, free: 21.73 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.43e-05/0.007006, allocations: 3.344 kB / 1.161 GB, free: 21.73 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: 41 (33) * Number of variables: 41 (28) Notification: Performance of [SIM] Bindings: time 0.0007066/0.007712, allocations: 0.9477 MB / 1.162 GB, free: 21.02 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 9.352e-05/0.007806, allocations: 119.9 kB / 1.162 GB, free: 20.95 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.00059/0.008396, allocations: 0.7724 MB / 1.163 GB, free: 20.55 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0001678/0.008564, allocations: 190.1 kB / 1.163 GB, free: 20.41 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0007748/0.009338, allocations: 0.772 MB / 1.164 GB, free: 19.84 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0001455/0.009484, allocations: 153.6 kB / 1.164 GB, free: 19.72 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 5.757e-05/0.009541, allocations: 84.98 kB / 1.164 GB, free: 19.64 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001272/0.009669, allocations: 189.4 kB / 1.164 GB, free: 19.46 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 6.637e-05/0.009735, allocations: 47.31 kB / 1.164 GB, free: 19.44 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.000244/0.009979, allocations: 247.9 kB / 1.164 GB, free: 19.32 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0006026/0.01058, allocations: 0.5247 MB / 1.165 GB, free: 19.2 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003285/0.01091, allocations: 478.7 kB / 1.165 GB, free: 18.99 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0002654/0.01118, allocations: 283 kB / 1.165 GB, free: 18.77 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0005568/0.01173, allocations: 0.7941 MB / 1.166 GB, free: 18.39 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.558e-05/0.01175, allocations: 14.02 kB / 1.166 GB, free: 18.38 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0001163/0.01186, allocations: 158.5 kB / 1.166 GB, free: 18.29 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.001197/0.01306, allocations: 1.077 MB / 1.167 GB, free: 18.04 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 2.181e-05/0.01308, allocations: 26.44 kB / 1.167 GB, free: 18.02 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 7.12e-07/0.01308, allocations: 0 / 1.167 GB, free: 18.02 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 5.1e-06/0.01309, allocations: 1.312 kB / 1.167 GB, free: 18.02 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 7.965e-06/0.0131, allocations: 15.81 kB / 1.167 GB, free: 18.01 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 7.033e-06/0.0131, allocations: 5.766 kB / 1.167 GB, free: 18.01 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0005181/0.01362, allocations: 455.9 kB / 1.168 GB, free: 17.87 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 6.763e-06/0.01363, allocations: 5.25 kB / 1.168 GB, free: 17.87 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: ............... 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: ................. 2 (2) {$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: ........... 25 (scalar:25, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, 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: ........... 26 (scalar:26, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, 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: ........... 26 (scalar:26, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.199e-05/0.01366, allocations: 42.61 kB / 1.168 GB, free: 17.83 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001014/0.01468, allocations: 0.931 MB / 1.169 GB, free: 17.41 MB / 0.9044 GB Notification: Performance of Templates: time 0.005346/0.02002, allocations: 2.846 MB / 1.172 GB, free: 17.11 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,R.i[1],R.i[2],R1.i[1],R1.i[2],source.S[1],source.S[2] Variables in the result:R.P_nominal,R.V_nominal,R.i[1],R.i[2],R.initMode,R.linearized,R.load,R.mode,R.y_internal,R1.P,R1.P_internal,R1.P_nominal,R1.V_nominal,R1.i[1],R1.i[2],R1.initMode,R1.linearized,R1.load,R1.mode,R1.y_internal,load.duration,load.height,load.offset,load.startTime,source.S[1],source.S[2],source.V,source.definiteReference,source.f,source.phiSou,source.potentialReference,source.thetaRel,time [Calling sys.exit(0), Time elapsed: 7.0405290788039565]