Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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=5000,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 118.1 kB / 16.48 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 196.7 kB / 17.42 MB, free: 5.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 225.6 MB / 243.8 MB, free: 14.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.587/2.587, allocations: 476.7 MB / 0.7552 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.107e-05/2.107e-05, allocations: 3.406 kB / 1.097 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1937/0.1937, allocations: 162 MB / 1.255 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003047/0.1968, allocations: 1.711 MB / 1.256 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003319/0.1971, allocations: 11.94 kB / 1.256 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005821/0.1977, allocations: 166.9 kB / 1.257 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001332/0.199, allocations: 0.5406 MB / 1.257 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.2001, allocations: 426.4 kB / 1.258 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0009385/0.2011, allocations: 0.6387 MB / 1.258 GB, free: 164 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003578/0.2014, allocations: 156.9 kB / 1.258 GB, free: 8 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007456/0.2022, allocations: 374.6 kB / 1.259 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003189/0.2025, allocations: 191.3 kB / 1.259 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.097e-05/0.2025, allocations: 16 kB / 1.259 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001092/0.2036, allocations: 0.7015 MB / 1.26 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of combineBinaries: time 0.0004551/0.2041, allocations: 459.3 kB / 1.26 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of replaceArrayConstructors: time 0.0002584/0.2044, allocations: 316.1 kB / 1.26 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.824e-05/0.2044, allocations: 43.88 kB / 1.26 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of FrontEnd: time 5.463e-05/0.2045, allocations: 11.88 kB / 1.26 GB, free: 13.91 MB / 0.9825 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.001259/0.2057, allocations: 1.022 MB / 1.261 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of FunctionAlias: time 7.852e-05/0.2058, allocations: 63.81 kB / 1.261 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of Early Inline: time 0.000456/0.2063, allocations: 365.2 kB / 1.262 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of Simplify 1: time 0.0001343/0.2064, allocations: 93.44 kB / 1.262 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of Alias: time 0.0009006/0.2073, allocations: 0.5301 MB / 1.262 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of Simplify 2: time 0.0001206/0.2074, allocations: 88.34 kB / 1.262 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of Remove Stream: time 9.527e-05/0.2075, allocations: 76.39 kB / 1.263 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of Detect States: time 0.0002131/0.2077, allocations: 126.9 kB / 1.263 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of Events: time 0.0001069/0.2079, allocations: 43.91 kB / 1.263 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of Partitioning: time 0.0002207/0.2081, allocations: 187.2 kB / 1.263 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of Causalize: time 0.0005953/0.2087, allocations: 481.3 kB / 1.263 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of After Index Reduction Inline: time 0.0002425/0.2089, allocations: 215.6 kB / 1.264 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of Simplify: time 0.0004455/0.2094, allocations: 282.8 kB / 1.264 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of Inline: time 0.0004115/0.2098, allocations: 372.7 kB / 1.264 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of Partitioning: time 3.258e-05/0.2098, allocations: 22.36 kB / 1.264 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of Cleanup: time 0.0001373/0.2099, allocations: 117.1 kB / 1.264 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of Causalize: time 0.001642/0.2116, allocations: 1.234 MB / 1.266 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of Tearing: time 1.427e-05/0.2116, allocations: 7.938 kB / 1.266 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of Initialization: time 1.994e-06/0.2116, allocations: 4 kB / 1.266 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of Tearing: time 4.779e-06/0.2116, allocations: 0 / 1.266 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of Categorize: time 1.077e-05/0.2116, allocations: 0 / 1.266 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of Solve: time 0.0002236/0.2118, allocations: 114.1 kB / 1.266 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of Jacobian: time 2.735e-06/0.2118, allocations: 0 / 1.266 GB, free: 7.973 MB / 0.9825 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: 0generic: 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: 0generic: 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: 0generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 5.822e-05/0.2119, allocations: 50.2 kB / 1.266 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of SimCode: time 0.002958/0.2149, allocations: 1.999 MB / 1.268 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of Templates: time 0.008175/0.223, allocations: 3.63 MB / 1.271 GB, free: 2.281 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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