Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.00138/0.00138, 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.001528/0.001528, allocations: 213.8 kB / 23 MB, free: 4.969 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.295/1.295, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.801/2.801, 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.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.45e-05/1.45e-05, allocations: 2.281 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1598/0.1598, allocations: 142.4 MB / 1.294 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002589/0.1624, allocations: 1.606 MB / 1.296 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002313/0.1626, allocations: 15.88 kB / 1.296 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004931/0.1631, allocations: 158.9 kB / 1.296 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001166/0.1643, allocations: 0.5095 MB / 1.296 GB, free: 388 kB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.1653, allocations: 440.8 kB / 1.297 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0009383/0.1662, allocations: 0.7878 MB / 1.297 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003425/0.1666, allocations: 213 kB / 1.298 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009911/0.1676, allocations: 0.5841 MB / 1.298 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002486/0.1678, allocations: 203.2 kB / 1.298 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.337e-05/0.1679, allocations: 12 kB / 1.298 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007666/0.1686, allocations: 0.5573 MB / 1.299 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of combineBinaries: time 0.0004601/0.1691, allocations: 0.5458 MB / 1.299 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of replaceArrayConstructors: time 0.0002606/0.1693, allocations: 371.9 kB / 1.3 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.01e-05/0.1694, allocations: 23.94 kB / 1.3 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.37e-05/0.1694, allocations: 11.94 kB / 1.3 GB, free: 12.64 MB / 0.9981 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 [SIM] Bindings: time 0.001365/0.1708, allocations: 1.348 MB / 1.301 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001072/0.1709, allocations: 103.8 kB / 1.301 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of [SIM] Early Inline: time 0.0005257/0.1714, allocations: 0.5089 MB / 1.302 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of [SIM] Simplify 1: time 0.0001864/0.1716, allocations: 141.9 kB / 1.302 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of [SIM] Alias: time 0.0008654/0.1725, allocations: 0.6109 MB / 1.303 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of [SIM] Simplify 2: time 0.0001531/0.1726, allocations: 120.6 kB / 1.303 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of [SIM] Remove Stream: time 8.319e-05/0.1727, allocations: 85.31 kB / 1.303 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of [SIM] Detect States: time 0.0001555/0.1729, allocations: 152.8 kB / 1.303 GB, free: 9.121 MB / 0.9981 GB Notification: Performance of [SIM] Events: time 7.84e-05/0.1729, allocations: 36.19 kB / 1.303 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of [SIM] Partitioning: time 0.0002262/0.1732, allocations: 208.4 kB / 1.303 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of [SIM] Causalize: time 0.0004497/0.1736, allocations: 348.4 kB / 1.303 GB, free: 8.465 MB / 0.9981 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002875/0.1739, allocations: 327.7 kB / 1.304 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of [INI] Simplify: time 0.0005009/0.1744, allocations: 359.6 kB / 1.304 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of [INI] Inline: time 0.0004773/0.1749, allocations: 0.5397 MB / 1.305 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of [INI] Partitioning: time 2.83e-05/0.1749, allocations: 18.75 kB / 1.305 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of [INI] Cleanup: time 0.0001125/0.175, allocations: 121.3 kB / 1.305 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of [INI] Causalize: time 0.001219/0.1762, allocations: 0.9507 MB / 1.306 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of [INI] Tearing: time 2.995e-05/0.1763, allocations: 35.94 kB / 1.306 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of [SIM] Initialization: time 2.033e-06/0.1763, allocations: 4.375 kB / 1.306 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of [SIM] Remove Dummies: time 5.611e-06/0.1763, allocations: 4 kB / 1.306 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of [SIM] Tearing: time 1.091e-05/0.1763, allocations: 16 kB / 1.306 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of [SIM] Categorize: time 7.404e-06/0.1763, allocations: 3.938 kB / 1.306 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of [SIM] Solve: time 0.0003432/0.1766, allocations: 250.3 kB / 1.306 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of [SIM] Jacobian: time 8.035e-06/0.1766, allocations: 3.938 kB / 1.306 GB, free: 5.766 MB / 0.9981 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: ......... 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: ................. 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 5.198e-05/0.1767, allocations: 43.25 kB / 1.306 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of SimCode: time 0.00196/0.1787, allocations: 1.391 MB / 1.307 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of Templates: time 0.007264/0.1859, allocations: 3.804 MB / 1.311 GB, free: 0.5156 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.disableComputeFlowResistance_internal,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: 7.565378692001104]