Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 111.8 kB / 18.34 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 188.5 kB / 21.52 MB, free: 0.7969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 225.6 MB / 250.1 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.802/2.802, allocations: 496.2 MB / 0.7826 GB, free: 12.25 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.375e-05, allocations: 4.953 kB / 1.136 GB, free: 12.53 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.8831/0.8831, allocations: 162.2 MB / 1.295 GB, free: 42.87 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002736/0.8858, allocations: 1.721 MB / 1.297 GB, free: 42.84 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002626/0.8861, allocations: 16.06 kB / 1.297 GB, free: 42.84 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004965/0.8866, allocations: 159.5 kB / 1.297 GB, free: 42.84 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001199/0.8878, allocations: 0.5302 MB / 1.297 GB, free: 42.82 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.8888, allocations: 428 kB / 1.298 GB, free: 42.8 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000711/0.8895, allocations: 0.7484 MB / 1.298 GB, free: 42.8 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003014/0.8898, allocations: 212.5 kB / 1.299 GB, free: 42.79 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001084/0.8909, allocations: 0.5826 MB / 1.299 GB, free: 42.79 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002695/0.8912, allocations: 197.8 kB / 1.299 GB, free: 42.79 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.91e-05/0.8912, allocations: 12.69 kB / 1.299 GB, free: 42.79 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008637/0.8921, allocations: 0.6953 MB / 1.3 GB, free: 42.78 MB / 1.061 GB Notification: Performance of combineBinaries: time 0.0003773/0.8925, allocations: 495 kB / 1.3 GB, free: 42.66 MB / 1.061 GB Notification: Performance of replaceArrayConstructors: time 0.0001764/0.8926, allocations: 323.6 kB / 1.301 GB, free: 42.53 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.252e-05/0.8927, allocations: 42.67 kB / 1.301 GB, free: 42.53 MB / 1.061 GB Notification: Performance of FrontEnd: time 5.785e-05/0.8928, allocations: 10.19 kB / 1.301 GB, free: 42.53 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 (30) * Number of variables: 32 (30) Notification: Performance of Bindings: time 0.0009442/0.8937, allocations: 1.036 MB / 1.302 GB, free: 42.08 MB / 1.061 GB Notification: Performance of FunctionAlias: time 6.003e-05/0.8938, allocations: 54.03 kB / 1.302 GB, free: 42.08 MB / 1.061 GB Notification: Performance of Early Inline: time 0.0003353/0.8941, allocations: 376.9 kB / 1.302 GB, free: 42.02 MB / 1.061 GB Notification: Performance of Simplify 1: time 8.764e-05/0.8942, allocations: 95.38 kB / 1.302 GB, free: 41.96 MB / 1.061 GB Notification: Performance of Alias: time 0.0007264/0.8949, allocations: 0.5271 MB / 1.303 GB, free: 41.69 MB / 1.061 GB Notification: Performance of Simplify 2: time 8.017e-05/0.895, allocations: 83.73 kB / 1.303 GB, free: 41.63 MB / 1.061 GB Notification: Performance of Remove Stream: time 6.138e-05/0.895, allocations: 78.27 kB / 1.303 GB, free: 41.57 MB / 1.061 GB Notification: Performance of Detect States: time 0.0001537/0.8952, allocations: 131 kB / 1.303 GB, free: 41.48 MB / 1.061 GB Notification: Performance of Events: time 0.0001057/0.8953, allocations: 51.73 kB / 1.303 GB, free: 41.48 MB / 1.061 GB Notification: Performance of Partitioning: time 0.0001589/0.8955, allocations: 173.5 kB / 1.303 GB, free: 41.38 MB / 1.061 GB Notification: Performance of Causalize: time 0.0004725/0.8959, allocations: 487.9 kB / 1.304 GB, free: 41.26 MB / 1.061 GB Notification: Performance of After Index Reduction Inline: time 0.0001699/0.8961, allocations: 200.3 kB / 1.304 GB, free: 41.26 MB / 1.061 GB Notification: Performance of Simplify: time 0.0003454/0.8965, allocations: 284.5 kB / 1.304 GB, free: 41.14 MB / 1.061 GB Notification: Performance of Inline: time 0.0002791/0.8967, allocations: 375.5 kB / 1.305 GB, free: 41.12 MB / 1.061 GB Notification: Performance of Partitioning: time 1.937e-05/0.8968, allocations: 20.03 kB / 1.305 GB, free: 41.1 MB / 1.061 GB Notification: Performance of Cleanup: time 8.413e-05/0.8968, allocations: 118.3 kB / 1.305 GB, free: 41.09 MB / 1.061 GB Notification: Performance of Causalize: time 0.001243/0.8981, allocations: 1.23 MB / 1.306 GB, free: 40.88 MB / 1.061 GB Notification: Performance of Tearing: time 1.215e-05/0.8981, allocations: 2.906 kB / 1.306 GB, free: 40.88 MB / 1.061 GB Notification: Performance of Initialization: time 4.81e-07/0.8981, allocations: 0.9688 kB / 1.306 GB, free: 40.88 MB / 1.061 GB Notification: Performance of Remove Dummies: time 5.5e-06/0.8981, allocations: 1.203 kB / 1.306 GB, free: 40.88 MB / 1.061 GB Notification: Performance of Tearing: time 4.178e-06/0.8981, allocations: 7.469 kB / 1.306 GB, free: 40.88 MB / 1.061 GB Notification: Performance of Categorize: time 1.058e-05/0.8981, allocations: 0 / 1.306 GB, free: 40.88 MB / 1.061 GB Notification: Performance of Solve: time 0.0001742/0.8983, allocations: 112.5 kB / 1.306 GB, free: 40.88 MB / 1.061 GB Notification: Performance of Jacobian: time 4.569e-06/0.8983, allocations: 2.844 kB / 1.306 GB, free: 40.88 MB / 1.061 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: ......... 2 * 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: ................. 3 (3) {$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: ........... 22 (scalar:20, array:2, 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: ........... 33 (scalar:27, array:6, 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: ........... 33 (scalar:27, array:6, 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 4.729e-05/0.8983, allocations: 33.92 kB / 1.306 GB, free: 40.86 MB / 1.061 GB Notification: Performance of SimCode: time 0.002339/0.9007, allocations: 1.994 MB / 1.308 GB, free: 39.89 MB / 1.061 GB Notification: Performance of Templates: time 0.007026/0.9077, allocations: 3.673 MB / 1.312 GB, free: 39.71 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,res.m_flow_nominal,res.m_flow Variables in the result:P.duration,P.height,P.offset,P.startTime,res._dp_start,res._m_flow_start,res.allowFlowReversal,res.coeff,res.computeFlowResistance,res.deltaM,res.dp_nominal,res.dp_nominal_pos,res.eta_default,res.from_dp,res.k,res.linearized,res.m_flow,res.m_flow_nominal,res.m_flow_nominal_pos,res.m_flow_small,res.m_flow_turbulent,res.sta_default.T,res.sta_default.X[1],res.sta_default.X[2],res.sta_default.p,sin.T,sin.T_in_internal,sin.X[1],sin.X[2],sin.X_in_internal[1],sin.X_in_internal[2],sin.Xi_in_internal[1],sin.flowDirection,sin.nPorts,sin.p,sin.p_in_internal,sin.use_C_in,sin.use_T_in,sin.use_X_in,sin.use_Xi_in,sin.use_p_in,sin.verifyInputs,sou.T,sou.T_in_internal,sou.X[1],sou.X[2],sou.X_in_internal[1],sou.X_in_internal[2],sou.Xi_in_internal[1],sou.flowDirection,sou.nPorts,sou.p,sou.use_C_in,sou.use_T_in,sou.use_X_in,sou.use_Xi_in,sou.use_p_in,sou.verifyInputs,time [Calling sys.exit(0), Time elapsed: 9.080294374376535]