Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.001424/0.001424, 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.001697/0.001697, allocations: 210.4 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.34/1.34, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] 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.941/2.941, allocations: 0.49 GB / 0.7958 GB, free: 35.5 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.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.086e-05/2.086e-05, allocations: 2.281 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1733/0.1733, allocations: 142.4 MB / 1.294 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003042/0.1763, allocations: 1.65 MB / 1.296 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002205/0.1766, allocations: 19.81 kB / 1.296 GB, free: 0.7891 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000531/0.1771, allocations: 158.9 kB / 1.296 GB, free: 0.6328 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001267/0.1784, allocations: 0.5367 MB / 1.296 GB, free: 96 kB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009653/0.1793, allocations: 408.2 kB / 1.297 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001529/0.1809, allocations: 1.448 MB / 1.298 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009427/0.1818, allocations: 0.6823 MB / 1.299 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001444/0.1832, allocations: 0.8533 MB / 1.3 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004773/0.1837, allocations: 386.9 kB / 1.3 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.122e-05/0.1838, allocations: 32 kB / 1.3 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008962/0.1847, allocations: 0.5807 MB / 1.301 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of combineBinaries: time 0.0008038/0.1855, allocations: 0.8147 MB / 1.301 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of replaceArrayConstructors: time 0.0003877/0.1859, allocations: 491.4 kB / 1.302 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.542e-05/0.186, allocations: 32 kB / 1.302 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of FrontEnd: time 5.333e-05/0.186, allocations: 11.88 kB / 1.302 GB, free: 10.36 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: 126 (88) * Number of variables: 126 (34) Notification: Performance of [SIM] Bindings: time 0.002558/0.1886, allocations: 2.436 MB / 1.304 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of [SIM] FunctionAlias: time 0.000245/0.1888, allocations: 221 kB / 1.305 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of [SIM] Early Inline: time 0.001256/0.1901, allocations: 1.225 MB / 1.306 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of [SIM] Simplify 1: time 0.0003554/0.1904, allocations: 253.6 kB / 1.306 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of [SIM] Alias: time 0.001273/0.1917, allocations: 0.8964 MB / 1.307 GB, free: 5 MB / 0.9981 GB Notification: Performance of [SIM] Simplify 2: time 0.0003018/0.192, allocations: 232.4 kB / 1.307 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of [SIM] Remove Stream: time 0.0001905/0.1922, allocations: 156.2 kB / 1.307 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of [SIM] Detect States: time 0.0003628/0.1926, allocations: 313.2 kB / 1.308 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of [SIM] Events: time 0.0001045/0.1927, allocations: 60.44 kB / 1.308 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of [SIM] Partitioning: time 0.0005477/0.1932, allocations: 495.6 kB / 1.308 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of [SIM] Causalize: time 0.001653/0.1949, allocations: 1.32 MB / 1.309 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0008097/0.1957, allocations: 0.886 MB / 1.31 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of [INI] Simplify: time 0.001096/0.1968, allocations: 0.6797 MB / 1.311 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of [INI] Inline: time 0.001466/0.1982, allocations: 1.553 MB / 1.312 GB, free: 15.02 MB / 1.014 GB Notification: Performance of [INI] Partitioning: time 5.662e-05/0.1983, allocations: 33.36 kB / 1.312 GB, free: 14.98 MB / 1.014 GB Notification: Performance of [INI] Cleanup: time 0.0003135/0.1986, allocations: 327.7 kB / 1.313 GB, free: 14.65 MB / 1.014 GB Notification: Performance of [INI] Causalize: time 0.004866/0.2035, allocations: 3.851 MB / 1.317 GB, free: 10.77 MB / 1.014 GB Notification: Performance of [INI] Tearing: time 0.0002351/0.2037, allocations: 236 kB / 1.317 GB, free: 10.54 MB / 1.014 GB Notification: Performance of [SIM] Initialization: time 8.52e-07/0.2037, allocations: 0 / 1.317 GB, free: 10.54 MB / 1.014 GB Notification: Performance of [SIM] Remove Dummies: time 8.566e-06/0.2037, allocations: 4 kB / 1.317 GB, free: 10.54 MB / 1.014 GB Notification: Performance of [SIM] Tearing: time 0.0001102/0.2038, allocations: 111.9 kB / 1.317 GB, free: 10.43 MB / 1.014 GB Notification: Performance of [SIM] Categorize: time 1.157e-05/0.2038, allocations: 0 / 1.317 GB, free: 10.43 MB / 1.014 GB Notification: Performance of [SIM] Solve: time 0.0009437/0.2048, allocations: 0.5321 MB / 1.317 GB, free: 9.91 MB / 1.014 GB Notification: Performance of [SIM] Jacobian: time 0.0005424/0.2053, allocations: 471.2 kB / 1.318 GB, free: 9.398 MB / 1.014 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 6 * 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: .................... 2 (2) {pulse_p.T_start, pulse_p.count} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 3 (3) {$SEV_2, $SEV_1, $SEV_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: ........... 58 (scalar:56, array:2, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 2 (resizable: 2, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 2, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 67 (scalar:61, array:6, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 10 (resizable: 10, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 2, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 67 (scalar:61, array:6, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 10 (resizable: 10, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 2, nonlinear:0) Notification: Performance of backend: time 6.377e-05/0.2054, allocations: 53.95 kB / 1.318 GB, free: 9.352 MB / 1.014 GB Notification: Performance of SimCode: time 0.005691/0.2111, allocations: 5.018 MB / 1.323 GB, free: 4.262 MB / 1.014 GB Notification: Performance of Templates: time 0.01616/0.2272, allocations: 9.833 MB / 1.332 GB, free: 10.51 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,sin.ports[1].m_flow Variables in the result:dp_nominal,m_flow_nominal,nRes,pulse_p.amplitude,pulse_p.nperiod,pulse_p.offset,pulse_p.period,pulse_p.startTime,pulse_p.width,resSeries[10]._dp_start,resSeries[10]._m_flow_start,resSeries[10].allowFlowReversal,resSeries[10].coeff,resSeries[10].computeFlowResistance,resSeries[10].deltaM,resSeries[10].disableComputeFlowResistance_internal,resSeries[10].dp_nominal,resSeries[10].dp_nominal_pos,resSeries[10].eta_default,resSeries[10].from_dp,resSeries[10].k,resSeries[10].linearized,resSeries[10].m_flow_nominal,resSeries[10].m_flow_nominal_pos,resSeries[10].m_flow_small,resSeries[10].m_flow_turbulent,resSeries[10].sta_default.T,resSeries[10].sta_default.X[1],resSeries[10].sta_default.X[2],resSeries[10].sta_default.p,resSeries[1]._dp_start,resSeries[1]._m_flow_start,resSeries[1].allowFlowReversal,resSeries[1].coeff,resSeries[1].computeFlowResistance,resSeries[1].deltaM,resSeries[1].disableComputeFlowResistance_internal,resSeries[1].dp_nominal,resSeries[1].dp_nominal_pos,resSeries[1].eta_default,resSeries[1].from_dp,resSeries[1].k,resSeries[1].linearized,resSeries[1].m_flow_nominal,resSeries[1].m_flow_nominal_pos,resSeries[1].m_flow_small,resSeries[1].m_flow_turbulent,resSeries[1].sta_default.T,resSeries[1].sta_default.X[1],resSeries[1].sta_default.X[2],resSeries[1].sta_default.p,resSeries[2]._dp_start,resSeries[2]._m_flow_start,resSeries[2].allowFlowReversal,resSeries[2].coeff,resSeries[2].computeFlowResistance,resSeries[2].deltaM,resSeries[2].disableComputeFlowResistance_internal,resSeries[2].dp_nominal,resSeries[2].dp_nominal_pos,resSeries[2].eta_default,resSeries[2].from_dp,resSeries[2].k,resSeries[2].linearized,resSeries[2].m_flow_nominal,resSeries[2].m_flow_nominal_pos,resSeries[2].m_flow_small,resSeries[2].m_flow_turbulent,resSeries[2].sta_default.T,resSeries[2].sta_default.X[1],resSeries[2].sta_default.X[2],resSeries[2].sta_default.p,resSeries[3]._dp_start,resSeries[3]._m_flow_start,resSeries[3].allowFlowReversal,resSeries[3].coeff,resSeries[3].computeFlowResistance,resSeries[3].deltaM,resSeries[3].disableComputeFlowResistance_internal,resSeries[3].dp_nominal,resSeries[3].dp_nominal_pos,resSeries[3].eta_default,resSeries[3].from_dp,resSeries[3].k,resSeries[3].linearized,resSeries[3].m_flow_nominal,resSeries[3].m_flow_nominal_pos,resSeries[3].m_flow_small,resSeries[3].m_flow_turbulent,resSeries[3].sta_default.T,resSeries[3].sta_default.X[1],resSeries[3].sta_default.X[2],resSeries[3].sta_default.p,resSeries[4]._dp_start,resSeries[4]._m_flow_start,resSeries[4].allowFlowReversal,resSeries[4].coeff,resSeries[4].computeFlowResistance,resSeries[4].deltaM,resSeries[4].disableComputeFlowResistance_internal,resSeries[4].dp_nominal,resSeries[4].dp_nominal_pos,resSeries[4].eta_default,resSeries[4].from_dp,resSeries[4].k,resSeries[4].linearized,resSeries[4].m_flow_nominal,resSeries[4].m_flow_nominal_pos,resSeries[4].m_flow_small,resSeries[4].m_flow_turbulent,resSeries[4].sta_default.T,resSeries[4].sta_default.X[1],resSeries[4].sta_default.X[2],resSeries[4].sta_default.p,resSeries[5]._dp_start,resSeries[5]._m_flow_start,resSeries[5].allowFlowReversal,resSeries[5].coeff,resSeries[5].computeFlowResistance,resSeries[5].deltaM,resSeries[5].disableComputeFlowResistance_internal,resSeries[5].dp_nominal,resSeries[5].dp_nominal_pos,resSeries[5].eta_default,resSeries[5].from_dp,resSeries[5].k,resSeries[5].linearized,resSeries[5].m_flow_nominal,resSeries[5].m_flow_nominal_pos,resSeries[5].m_flow_small,resSeries[5].m_flow_turbulent,resSeries[5].sta_default.T,resSeries[5].sta_default.X[1],resSeries[5].sta_default.X[2],resSeries[5].sta_default.p,resSeries[6]._dp_start,resSeries[6]._m_flow_start,resSeries[6].allowFlowReversal,resSeries[6].coeff,resSeries[6].computeFlowResistance,resSeries[6].deltaM,resSeries[6].disableComputeFlowResistance_internal,resSeries[6].dp_nominal,resSeries[6].dp_nominal_pos,resSeries[6].eta_default,resSeries[6].from_dp,resSeries[6].k,resSeries[6].linearized,resSeries[6].m_flow_nominal,resSeries[6].m_flow_nominal_pos,resSeries[6].m_flow_small,resSeries[6].m_flow_turbulent,resSeries[6].sta_default.T,resSeries[6].sta_default.X[1],resSeries[6].sta_default.X[2],resSeries[6].sta_default.p,resSeries[7]._dp_start,resSeries[7]._m_flow_start,resSeries[7].allowFlowReversal,resSeries[7].coeff,resSeries[7].computeFlowResistance,resSeries[7].deltaM,resSeries[7].disableComputeFlowResistance_internal,resSeries[7].dp_nominal,resSeries[7].dp_nominal_pos,resSeries[7].eta_default,resSeries[7].from_dp,resSeries[7].k,resSeries[7].linearized,resSeries[7].m_flow_nominal,resSeries[7].m_flow_nominal_pos,resSeries[7].m_flow_small,resSeries[7].m_flow_turbulent,resSeries[7].sta_default.T,resSeries[7].sta_default.X[1],resSeries[7].sta_default.X[2],resSeries[7].sta_default.p,resSeries[8]._dp_start,resSeries[8]._m_flow_start,resSeries[8].allowFlowReversal,resSeries[8].coeff,resSeries[8].computeFlowResistance,resSeries[8].deltaM,resSeries[8].disableComputeFlowResistance_internal,resSeries[8].dp_nominal,resSeries[8].dp_nominal_pos,resSeries[8].eta_default,resSeries[8].from_dp,resSeries[8].k,resSeries[8].linearized,resSeries[8].m_flow_nominal,resSeries[8].m_flow_nominal_pos,resSeries[8].m_flow_small,resSeries[8].m_flow_turbulent,resSeries[8].sta_default.T,resSeries[8].sta_default.X[1],resSeries[8].sta_default.X[2],resSeries[8].sta_default.p,resSeries[9]._dp_start,resSeries[9]._m_flow_start,resSeries[9].allowFlowReversal,resSeries[9].coeff,resSeries[9].computeFlowResistance,resSeries[9].deltaM,resSeries[9].disableComputeFlowResistance_internal,resSeries[9].dp_nominal,resSeries[9].dp_nominal_pos,resSeries[9].eta_default,resSeries[9].from_dp,resSeries[9].k,resSeries[9].linearized,resSeries[9].m_flow_nominal,resSeries[9].m_flow_nominal_pos,resSeries[9].m_flow_small,resSeries[9].m_flow_turbulent,resSeries[9].sta_default.T,resSeries[9].sta_default.X[1],resSeries[9].sta_default.X[2],resSeries[9].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.ports[1].m_flow,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.m_flow,sou.nPorts,sou.use_C_in,sou.use_T_in,sou.use_X_in,sou.use_Xi_in,sou.use_m_flow_in,sou.verifyInputs,time [Calling sys.exit(0), Time elapsed: 8.157238014042377]