Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.DC.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.001349/0.001349, 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.001458/0.001458, allocations: 213.5 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.261/1.261, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.728/2.728, allocations: 0.49 GB / 0.7959 GB, free: 35.47 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.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.V",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.V",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.231e-05/1.231e-05, allocations: 2.281 kB / 1.155 GB, free: 25.28 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.002777/0.002789, allocations: 2.526 MB / 1.157 GB, free: 23.64 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001005/0.003794, allocations: 0.7519 MB / 1.158 GB, free: 23.17 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.899e-05/0.003863, allocations: 3.344 kB / 1.158 GB, free: 23.17 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0009521/0.004815, allocations: 0.5442 MB / 1.159 GB, free: 22.83 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001992/0.005015, allocations: 115.8 kB / 1.159 GB, free: 22.77 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002223/0.005237, allocations: 107.5 kB / 1.159 GB, free: 22.72 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002466/0.005484, allocations: 271.2 kB / 1.159 GB, free: 22.61 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000252/0.005735, allocations: 108.2 kB / 1.159 GB, free: 22.55 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.005848, allocations: 117.6 kB / 1.159 GB, free: 22.5 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001721/0.00602, allocations: 84.17 kB / 1.159 GB, free: 22.47 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.006041, allocations: 9.312 kB / 1.16 GB, free: 22.47 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.006148, allocations: 80.47 kB / 1.16 GB, free: 22.44 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0001622/0.00631, allocations: 255.9 kB / 1.16 GB, free: 22.28 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 6.933e-05/0.00638, allocations: 146.1 kB / 1.16 GB, free: 22.19 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.361e-05/0.006403, allocations: 10.09 kB / 1.16 GB, free: 22.19 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.547e-05/0.006419, allocations: 14.23 kB / 1.16 GB, free: 22.18 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: 37 (27) * Number of variables: 37 (25) Notification: Performance of [SIM] Bindings: time 0.0006329/0.007051, allocations: 0.738 MB / 1.161 GB, free: 21.59 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001019/0.007153, allocations: 100.6 kB / 1.161 GB, free: 21.52 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0003213/0.007475, allocations: 429.8 kB / 1.161 GB, free: 21.27 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.000118/0.007593, allocations: 130.2 kB / 1.161 GB, free: 21.14 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0007411/0.008334, allocations: 0.6635 MB / 1.162 GB, free: 20.67 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 8.645e-05/0.00842, allocations: 103 kB / 1.162 GB, free: 20.56 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 3.541e-05/0.008456, allocations: 59.31 kB / 1.162 GB, free: 20.49 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 7.276e-05/0.008528, allocations: 124.2 kB / 1.162 GB, free: 20.35 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 1.76e-05/0.008546, allocations: 12.19 kB / 1.162 GB, free: 20.34 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.000122/0.008668, allocations: 103.2 kB / 1.162 GB, free: 20.29 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0003812/0.009049, allocations: 321.4 kB / 1.163 GB, free: 20.22 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001358/0.009185, allocations: 203.1 kB / 1.163 GB, free: 20.12 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0001758/0.009361, allocations: 175.8 kB / 1.163 GB, free: 19.95 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0002492/0.00961, allocations: 348.8 kB / 1.163 GB, free: 19.78 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.348e-05/0.009623, allocations: 16.44 kB / 1.163 GB, free: 19.76 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 5.324e-05/0.009677, allocations: 70.58 kB / 1.163 GB, free: 19.71 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0008192/0.0105, allocations: 0.6978 MB / 1.164 GB, free: 19.55 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.329e-05/0.01051, allocations: 17.38 kB / 1.164 GB, free: 19.54 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 4e-07/0.01051, allocations: 0 / 1.164 GB, free: 19.54 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.186e-06/0.01051, allocations: 0 / 1.164 GB, free: 19.54 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 3.036e-06/0.01052, allocations: 7.438 kB / 1.164 GB, free: 19.53 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 5.721e-06/0.01052, allocations: 5.875 kB / 1.164 GB, free: 19.53 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0002415/0.01076, allocations: 165.6 kB / 1.164 GB, free: 19.48 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 5.972e-06/0.01077, allocations: 4.75 kB / 1.164 GB, free: 19.48 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: ......... 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: ........... 11 (scalar:9, array:2, 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: ........... 12 (scalar:10, array:2, 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: ........... 12 (scalar:10, array:2, 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.308e-05/0.0108, allocations: 35.25 kB / 1.164 GB, free: 19.45 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0008728/0.01167, allocations: 0.6886 MB / 1.165 GB, free: 19.11 MB / 0.9044 GB Notification: Performance of Templates: time 0.003707/0.01538, allocations: 1.438 MB / 1.166 GB, free: 18.91 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_12_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,sen.I,sen.V Variables in the result:ground.p.v,loa.P,loa.P_internal,loa.P_nominal,loa.V_nominal,loa.initMode,loa.linearized,loa.load,loa.mode,loa.y_internal,sen.I,sen.V,sou.V,sou.definiteReference,sou.n.v,sou.phi,sou.potentialReference,time [Calling sys.exit(0), Time elapsed: 7.074168920982629]