Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.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.001788/0.001788, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00208/0.00208, allocations: 215.9 kB / 22.26 MB, free: 5.125 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.392/1.392, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.7509/0.7509, allocations: 100.3 MB / 412.7 MB, free: 3.668 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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: "" <> buildModelFMU(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Interfaces_Tests_Test_p_out_clipping",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Interfaces_Tests_Test_p_out_clipping",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002423/0.002423, allocations: 92.16 kB / 0.5633 GB, free: 35.99 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1424, allocations: 74.45 MB / 0.636 GB, free: 7.68 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping): time 0.52/0.6624, allocations: 173.6 MB / 0.8055 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01327/0.6757, allocations: 11.58 MB / 0.8168 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002384/0.678, allocations: 99.53 kB / 0.8169 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002825/0.6809, allocations: 0.8886 MB / 0.8178 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006036/0.6869, allocations: 1.775 MB / 0.8195 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004484/0.6914, allocations: 1.369 MB / 0.8209 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004211/0.6956, allocations: 2.596 MB / 0.8234 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008668/0.6965, allocations: 241.5 kB / 0.8236 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003675/0.7001, allocations: 1.482 MB / 0.8251 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002252/0.7024, allocations: 1.17 MB / 0.8262 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003952/0.7028, allocations: 107.2 kB / 0.8263 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004895/0.7077, allocations: 1.902 MB / 0.8282 GB, free: 6.922 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005285/0.7082, allocations: 336.5 kB / 0.8285 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001522/0.7097, allocations: 0.8117 MB / 0.8293 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006025/0.7158, allocations: 2.517 MB / 0.8317 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.7158, allocations: 2.125 kB / 0.8317 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.034e-06/0.7158, allocations: 0 / 0.8317 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.388e-05/0.7159, allocations: 0 / 0.8317 GB, free: 4.688 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.004568/0.7204, allocations: 2.104 MB / 0.8338 GB, free: 3.172 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.7205, allocations: 14.25 kB / 0.8338 GB, free: 3.168 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001717/0.7206, allocations: 157.2 kB / 0.834 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003302/0.721, allocations: 202.1 kB / 0.8342 GB, free: 2.93 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002196/0.7232, allocations: 1.137 MB / 0.8353 GB, free: 2.125 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.445e-05/0.7232, allocations: 85.56 kB / 0.8354 GB, free: 2.082 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/0.7234, allocations: 114.9 kB / 0.8355 GB, free: 2.039 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001763/0.7251, allocations: 1.188 MB / 0.8366 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/0.7252, allocations: 0 / 0.8366 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.413e-05/0.7252, allocations: 50.81 kB / 0.8367 GB, free: 1.234 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.836e-05/0.7253, allocations: 27.88 kB / 0.8367 GB, free: 1.234 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001575/0.7268, allocations: 1.091 MB / 0.8378 GB, free: 0.7148 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006606/0.7334, allocations: 5.152 MB / 0.8428 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/0.7347, allocations: 0.6858 MB / 0.8435 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005789/0.7353, allocations: 403.4 kB / 0.8438 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00342/0.7387, allocations: 1.794 MB / 0.8456 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.7388, allocations: 44.28 kB / 0.8456 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=108): time 3.246e-06/0.7388, allocations: 0 / 0.8456 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of matching and sorting (n=108): time 0.003212/0.742, allocations: 1.466 MB / 0.8471 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.669e-05/0.7421, allocations: 113.9 kB / 0.8472 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00146/0.7435, allocations: 1.301 MB / 0.8485 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.345e-05/0.7436, allocations: 46.64 kB / 0.8485 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005314/0.7441, allocations: 0.634 MB / 0.8491 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002812/0.7444, allocations: 384.5 kB / 0.8495 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002717/0.7447, allocations: 198.6 kB / 0.8497 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.7448, allocations: 347.9 kB / 0.85 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004951/0.7453, allocations: 299.1 kB / 0.8503 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006298/0.746, allocations: 450.6 kB / 0.8507 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/0.7472, allocations: 0.7705 MB / 0.8515 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.353e-06/0.7472, allocations: 3.938 kB / 0.8515 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002133/0.7493, allocations: 1.159 MB / 0.8526 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.7493, allocations: 11.94 kB / 0.8526 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.7493, allocations: 0 / 0.8526 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005118/0.7498, allocations: 156.2 kB / 0.8528 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007634/0.7506, allocations: 211.6 kB / 0.853 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005489/0.7561, allocations: 6.753 MB / 0.8596 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009393/0.757, allocations: 111.1 kB / 0.8597 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/0.7571, allocations: 55.98 kB / 0.8597 GB, free: 13.27 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005646/0.7577, allocations: 305.6 kB / 0.86 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003601/0.7581, allocations: 170.9 kB / 0.8602 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002784/0.7609, allocations: 1.715 MB / 0.8619 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.7609, allocations: 11.94 kB / 0.8619 GB, free: 11 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.7609, allocations: 4 kB / 0.8619 GB, free: 11 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.7609, allocations: 7.984 kB / 0.8619 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003678/0.7646, allocations: 2.365 MB / 0.8642 GB, free: 8.547 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.7646, allocations: 8.031 kB / 0.8642 GB, free: 8.539 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000481/0.765, allocations: 123.8 kB / 0.8643 GB, free: 8.418 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004637/0.7655, allocations: 168.1 kB / 0.8645 GB, free: 8.238 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.067e-05/0.7656, allocations: 35.98 kB / 0.8645 GB, free: 8.203 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005353/0.7709, allocations: 6.735 MB / 0.8711 GB, free: 0.8945 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.7709, allocations: 7.938 kB / 0.8711 GB, free: 0.8867 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002612/0.7735, allocations: 1.584 MB / 0.8726 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006647/0.7742, allocations: 278.5 kB / 0.8729 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001993/0.7744, allocations: 35.97 kB / 0.8729 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005413/0.7749, allocations: 23.98 kB / 0.873 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/0.7751, allocations: 79.75 kB / 0.873 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.964e-05/0.7751, allocations: 35.98 kB / 0.8731 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001344/0.7765, allocations: 0.997 MB / 0.874 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/0.7765, allocations: 0 / 0.874 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001497/0.778, allocations: 463.3 kB / 0.8745 GB, free: 13.35 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 5 (flowResistance1.m_flow,flowResistance.m_flow,basicControlValve.m_flow,specificValveType.m_flow,tanValve.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004503/0.7825, allocations: 2.784 MB / 0.8772 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002222/0.7847, allocations: 1.281 MB / 0.8785 GB, free: 9.312 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.7847, allocations: 448 / 0.8785 GB, free: 9.312 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00127/0.786, allocations: 0.9226 MB / 0.8794 GB, free: 8.324 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002471/0.7885, allocations: 0.4918 MB / 0.8798 GB, free: 7.852 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01782/0.8063, allocations: 10.97 MB / 0.8906 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008873/0.8072, allocations: 1.213 MB / 0.8917 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001043/0.8082, allocations: 315.7 kB / 0.892 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007845/0.809, allocations: 0.6203 MB / 0.8926 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of SimCode: time 9.72e-07/0.809, allocations: 0 / 0.8926 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09682/0.9058, allocations: 40.38 MB / 0.9321 GB, free: 2.246 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.73/17.64, allocations: 4 kB / 0.9321 GB, free: 2.242 MB / 0.6856 GB " [Timeout remaining time 642] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_res.csv --start-time 0 --stop-time 1 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ThermofluidStream_dev_ThermofluidStream_Undirected_Interfaces_Tests_Test_p_out_clipping.fmu > ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_res.csv. Warning: Get data of variable Time from file ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 21.311844084997574]