Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.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.001136/0.001136, allocations: 96.42 kB / 19.71 MB, free: 2.125 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.001224/0.001224, allocations: 208.4 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.225/1.225, 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.719/2.719, allocations: 0.49 GB / 0.7958 GB, free: 35.46 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.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.V|loa.S.1.|loa.S.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.V|loa.S.1.|loa.S.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.199e-05/1.199e-05, allocations: 2.281 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.002812/0.002824, allocations: 2.65 MB / 1.158 GB, free: 23.52 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00173/0.004554, allocations: 1.444 MB / 1.159 GB, free: 22.61 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.135e-05/0.004625, allocations: 2.969 kB / 1.159 GB, free: 22.61 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0006185/0.005244, allocations: 232.2 kB / 1.159 GB, free: 22.49 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0003109/0.005555, allocations: 190.9 kB / 1.159 GB, free: 22.39 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002754/0.00583, allocations: 156.9 kB / 1.16 GB, free: 22.32 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002948/0.006125, allocations: 338.7 kB / 1.16 GB, free: 22.18 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002042/0.006329, allocations: 96.72 kB / 1.16 GB, free: 22.13 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000199/0.006528, allocations: 160.8 kB / 1.16 GB, free: 22.07 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.006688, allocations: 107 kB / 1.16 GB, free: 22.02 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.006714, allocations: 14.12 kB / 1.16 GB, free: 22.02 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002053/0.006919, allocations: 177.8 kB / 1.16 GB, free: 21.96 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0001984/0.007118, allocations: 330 kB / 1.161 GB, free: 21.76 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 9.4e-05/0.007212, allocations: 200 kB / 1.161 GB, free: 21.64 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.641e-05/0.007238, allocations: 10.78 kB / 1.161 GB, free: 21.64 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.582e-05/0.007254, allocations: 6.938 kB / 1.161 GB, free: 21.63 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: 46 (32) * Number of variables: 46 (31) Notification: Performance of [SIM] Bindings: time 0.000734/0.007988, allocations: 0.9125 MB / 1.162 GB, free: 20.94 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001149/0.008103, allocations: 137.9 kB / 1.162 GB, free: 20.86 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0006515/0.008754, allocations: 0.8377 MB / 1.163 GB, free: 20.42 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0001872/0.008941, allocations: 204.9 kB / 1.163 GB, free: 20.27 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0008277/0.009769, allocations: 0.7808 MB / 1.164 GB, free: 19.75 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0001752/0.009944, allocations: 172.5 kB / 1.164 GB, free: 19.61 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 5.768e-05/0.01, allocations: 84.3 kB / 1.164 GB, free: 19.53 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001578/0.01016, allocations: 185 kB / 1.164 GB, free: 19.36 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 3.129e-05/0.01019, allocations: 26.91 kB / 1.164 GB, free: 19.35 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0002491/0.01044, allocations: 280.6 kB / 1.164 GB, free: 19.2 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0008241/0.01126, allocations: 0.8299 MB / 1.165 GB, free: 18.8 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003397/0.0116, allocations: 492.5 kB / 1.166 GB, free: 18.59 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0002924/0.0119, allocations: 302.6 kB / 1.166 GB, free: 18.36 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0005969/0.01249, allocations: 0.8464 MB / 1.167 GB, free: 17.96 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.814e-05/0.01251, allocations: 19.55 kB / 1.167 GB, free: 17.94 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0001261/0.01264, allocations: 171.8 kB / 1.167 GB, free: 17.85 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.001308/0.01395, allocations: 1.192 MB / 1.168 GB, free: 17.57 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.73e-05/0.01396, allocations: 32.25 kB / 1.168 GB, free: 17.55 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 8.22e-07/0.01396, allocations: 5.031 kB / 1.168 GB, free: 17.54 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 4.328e-06/0.01397, allocations: 1.219 kB / 1.168 GB, free: 17.54 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 5.6e-06/0.01397, allocations: 19.81 kB / 1.168 GB, free: 17.53 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 7.634e-06/0.01398, allocations: 1.406 kB / 1.168 GB, free: 17.53 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.00054/0.01452, allocations: 486 kB / 1.169 GB, free: 17.38 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 6.943e-06/0.01453, allocations: 5.375 kB / 1.169 GB, free: 17.37 MB / 0.9044 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 4 * Number of ODE event partitions: ............... 0 * 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: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 0 (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: ......... 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: ........... 27 (scalar:27, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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: ........... 27 (scalar:27, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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 3.232e-05/0.01456, allocations: 39.55 kB / 1.169 GB, free: 17.34 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0012/0.01576, allocations: 1.046 MB / 1.17 GB, free: 16.89 MB / 0.9044 GB Notification: Performance of Templates: time 0.005796/0.02156, allocations: 3.305 MB / 1.173 GB, free: 16.52 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.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.066676063928753]