Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.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/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/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(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|basicControlValve.m_flow|flowResistance.m_flow|flowResistance1.m_flow|specificValveType.m_flow|tanValve.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping") translateModel(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|basicControlValve.m_flow|flowResistance.m_flow|flowResistance1.m_flow|specificValveType.m_flow|tanValve.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 112.6 kB / 16.38 MB, free: 6 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.001288/0.001289, allocations: 187.9 kB / 17.31 MB, free: 5.621 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8148/0.8148, allocations: 89.51 MB / 380.7 MB, free: 8.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.835e-05/2.848e-05, allocations: 5.234 kB / 459.6 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping): time 0.4938/0.4938, allocations: 172.1 MB / 0.6169 GB, free: 13.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01225/0.5061, allocations: 11.2 MB / 0.6278 GB, free: 4.008 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/Undirected/FlowControl/BasicControlValve.mo:25:3-26:88:writable] Warning: Parameter Cvs_US has annotation(Evaluate=true) and no binding. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/Undirected/FlowControl/BasicControlValve.mo:27:3-28:88:writable] Warning: Parameter Cvs_UK has annotation(Evaluate=true) and no binding. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/Undirected/FlowControl/BasicControlValve.mo:29:3-30:92:writable] Warning: Parameter m_flow_ref_set has annotation(Evaluate=true) and no binding. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/Undirected/FlowControl/SpecificValveType.mo:16:3-18:44:writable] Warning: Parameter d_valve has annotation(Evaluate=true) and no binding. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/Undirected/FlowControl/SpecificValveType.mo:23:3-24:88:writable] Warning: Parameter Cvs_US has annotation(Evaluate=true) and no binding. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/Undirected/FlowControl/SpecificValveType.mo:25:3-26:88:writable] Warning: Parameter Cvs_UK has annotation(Evaluate=true) and no binding. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/Undirected/FlowControl/SpecificValveType.mo:27:3-28:92:writable] Warning: Parameter m_flow_ref_set has annotation(Evaluate=true) and no binding. Notification: Performance of NFInst.updateImplicitVariability: time 0.002025/0.5082, allocations: 31.59 kB / 0.6279 GB, free: 3.992 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002026/0.5102, allocations: 0.8588 MB / 0.6287 GB, free: 3.332 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003892/0.5141, allocations: 1.59 MB / 0.6302 GB, free: 2.055 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0041/0.5182, allocations: 1.29 MB / 0.6315 GB, free: 1.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003712/0.522, allocations: 2.584 MB / 0.634 GB, free: 15.48 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005519/0.5225, allocations: 356.4 kB / 0.6344 GB, free: 15.17 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002568/0.5251, allocations: 1.28 MB / 0.6356 GB, free: 13.88 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001248/0.5264, allocations: 1.074 MB / 0.6367 GB, free: 12.8 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001568/0.5265, allocations: 117.4 kB / 0.6368 GB, free: 12.69 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004742/0.5313, allocations: 2.141 MB / 0.6389 GB, free: 10.55 MB / 462.1 MB Notification: Performance of combineBinaries: time 0.002026/0.5333, allocations: 2.384 MB / 0.6412 GB, free: 8.141 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 0.001649/0.535, allocations: 1.526 MB / 0.6427 GB, free: 6.602 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007373/0.5357, allocations: 243.2 kB / 0.6429 GB, free: 6.363 MB / 462.1 MB Notification: Performance of FrontEnd: time 0.0005694/0.5363, allocations: 43.75 kB / 0.643 GB, free: 6.32 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 (252) * Number of variables: 272 (272) Notification: Performance of Bindings: time 0.007578/0.5439, allocations: 6.812 MB / 0.6496 GB, free: 15.36 MB / 478.1 MB Notification: Performance of FunctionAlias: time 0.0006792/0.5446, allocations: 0.6194 MB / 0.6502 GB, free: 14.71 MB / 478.1 MB Notification: Performance of Early Inline: time 0.005222/0.5498, allocations: 4.801 MB / 0.6549 GB, free: 9.832 MB / 478.1 MB Notification: Performance of simplify1: time 0.0005793/0.5505, allocations: 375.5 kB / 0.6553 GB, free: 9.465 MB / 478.1 MB Notification: Performance of Alias: time 0.006724/0.5572, allocations: 4.638 MB / 0.6598 GB, free: 4.254 MB / 478.1 MB Notification: Performance of simplify2: time 0.0008407/0.5581, allocations: 323.5 kB / 0.6601 GB, free: 3.938 MB / 478.1 MB Notification: Performance of Events: time 0.000974/0.5591, allocations: 0.8104 MB / 0.6609 GB, free: 3.129 MB / 478.1 MB Notification: Performance of Detect States: time 0.001045/0.5601, allocations: 1.019 MB / 0.6619 GB, free: 2.086 MB / 478.1 MB Notification: Performance of Partitioning: time 0.001977/0.5621, allocations: 1.49 MB / 0.6633 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of Causalize: time 0.009034/0.5711, allocations: 8.27 MB / 0.6714 GB, free: 8.297 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 0.003575/0.5748, allocations: 3.387 MB / 0.6747 GB, free: 4.859 MB / 494.1 MB Notification: Performance of Inline: time 0.00673/0.5815, allocations: 6.605 MB / 0.6812 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of Partitioning: time 0.0004433/0.582, allocations: 306.1 kB / 0.6815 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of Cleanup: time 0.0003161/0.5823, allocations: 275.6 kB / 0.6817 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of Causalize: time 0.01084/0.5932, allocations: 11.51 MB / 0.693 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of Tearing: time 0.001164/0.5944, allocations: 1.366 MB / 0.6943 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of Initialization: time 9.428e-06/0.5944, allocations: 7.938 kB / 0.6943 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of Tearing: time 0.001284/0.5957, allocations: 1.367 MB / 0.6956 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of Categorize: time 7.197e-05/0.5958, allocations: 8 kB / 0.6957 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of Solve: time 0.002985/0.5988, allocations: 0.9265 MB / 0.6966 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of Jacobian: time 0.003343/0.6021, allocations: 2.639 MB / 0.6991 GB, free: 11.96 MB / 0.5137 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 2 * Number of ODE event partitions: ............... 5 * Number of algebraic event partitions: ......... 2 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 5 (5) {flowResistance1.m_flow, flowResistance.m_flow, basicControlValve.m_flow, specificValveType.m_flow, tanValve.m_flow} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 56 (56) {$FUN_1, $FUN_4, $SEV_53, $SEV_52, $SEV_51, $SEV_50, $SEV_49, $SEV_48, $SEV_47, $SEV_46, $SEV_45, $SEV_44, $SEV_43, $SEV_42, $SEV_41, $SEV_40, $SEV_39, $SEV_38, $SEV_37, $SEV_36, $SEV_35, $SEV_34, $SEV_33, $SEV_32, $SEV_31, $SEV_30, $SEV_29, $SEV_28, $SEV_27, $SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 235 (scalar:235, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 5 (linear: 0, nonlinear:5) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 318 (scalar:317, array:0, record:1) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 5 (linear: 0, nonlinear:5) Notification: Performance of backend: time 0.0001754/0.6023, allocations: 98.14 kB / 0.6992 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of SimCode: time 0.01068/0.613, allocations: 7.794 MB / 0.7068 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of Templates: time 0.3225/0.9356, allocations: 22.91 MB / 0.7292 GB, free: 76.35 MB / 0.5294 GB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.makefile (rm -f ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_ref.mat","../files/ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches