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.0009906/0.0009906, allocations: 84.44 kB / 19.18 MB, free: 0.7383 MB / 13.93 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.001301/0.001301, allocations: 173.9 kB / 22.46 MB, free: 2.102 MB / 18.57 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 0.9036/0.9036, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-main/package.mo): time 0.6555/0.6555, allocations: 118.7 MB / 377.9 MB, free: 1.691 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Interfaces_Tests_Test_p_out_clipping",fmuType="me_cs",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_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.5588 GB, free: 7.555 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.354e-05, allocations: 2.281 kB / 0.5588 GB, free: 7.551 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping): time 0.3829/0.3829, allocations: 151 MB / 0.7063 GB, free: 0.8164 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01057/0.3935, allocations: 10.7 MB / 0.7167 GB, free: 8.82 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001924/0.3954, allocations: 94.75 kB / 0.7168 GB, free: 8.766 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001747/0.3972, allocations: 0.8652 MB / 0.7176 GB, free: 8.105 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.003945/0.4011, allocations: 1.908 MB / 0.7195 GB, free: 6.562 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002702/0.4038, allocations: 1.407 MB / 0.7209 GB, free: 5.484 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.002818/0.4067, allocations: 2.914 MB / 0.7237 GB, free: 3.719 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003995/0.4071, allocations: 251.3 kB / 0.724 GB, free: 3.547 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002876/0.4099, allocations: 1.943 MB / 0.7259 GB, free: 2.387 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009795/0.4109, allocations: 1.062 MB / 0.7269 GB, free: 1.863 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001124/0.411, allocations: 109.7 kB / 0.727 GB, free: 1.863 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002442/0.4135, allocations: 1.566 MB / 0.7285 GB, free: 1.18 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002267/0.4137, allocations: 351.7 kB / 0.7289 GB, free: 0.9023 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004835/0.4142, allocations: 0.5653 MB / 0.7294 GB, free: 0.6445 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.003199/0.4174, allocations: 2.577 MB / 0.7319 GB, free: 15.04 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.4174, allocations: 0 / 0.7319 GB, free: 15.04 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.154e-06/0.4174, allocations: 0 / 0.7319 GB, free: 15.04 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.965e-05/0.4174, allocations: 0 / 0.7319 GB, free: 15.04 MB / 0.5886 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.002584/0.42, allocations: 2.136 MB / 0.734 GB, free: 13.46 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.42, allocations: 18.42 kB / 0.734 GB, free: 13.45 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001401/0.4202, allocations: 157 kB / 0.7342 GB, free: 13.32 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000485/0.4207, allocations: 247.1 kB / 0.7344 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001735/0.4224, allocations: 1.166 MB / 0.7356 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.195e-05/0.4224, allocations: 76.78 kB / 0.7356 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.4225, allocations: 112.8 kB / 0.7358 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001524/0.4241, allocations: 1.237 MB / 0.737 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.4241, allocations: 10.62 kB / 0.737 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.361e-05/0.4241, allocations: 44.03 kB / 0.737 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.4242, allocations: 26.59 kB / 0.737 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.4252, allocations: 1.085 MB / 0.7381 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003848/0.4291, allocations: 3.935 MB / 0.7419 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009427/0.43, allocations: 0.7018 MB / 0.7426 GB, free: 7.414 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004122/0.4304, allocations: 390.4 kB / 0.743 GB, free: 7.211 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001925/0.4324, allocations: 1.534 MB / 0.7445 GB, free: 6.027 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.4324, allocations: 46.72 kB / 0.7445 GB, free: 5.98 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=108): time 3.416e-06/0.4324, allocations: 4 kB / 0.7445 GB, free: 5.977 MB / 0.5886 GB Notification: Performance of matching and sorting (n=108): time 0.002074/0.4345, allocations: 1.465 MB / 0.746 GB, free: 5.223 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.4345, allocations: 120.8 kB / 0.7461 GB, free: 5.094 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/0.4358, allocations: 1.349 MB / 0.7474 GB, free: 4.383 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.435e-05/0.4359, allocations: 44.98 kB / 0.7474 GB, free: 4.336 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003454/0.4362, allocations: 0.6437 MB / 0.7481 GB, free: 3.766 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/0.4364, allocations: 389.5 kB / 0.7484 GB, free: 3.426 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001848/0.4366, allocations: 201.5 kB / 0.7486 GB, free: 3.301 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.527e-05/0.4367, allocations: 342.3 kB / 0.749 GB, free: 2.969 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003637/0.437, allocations: 298.3 kB / 0.7493 GB, free: 2.828 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005088/0.4375, allocations: 0.6308 MB / 0.7499 GB, free: 2.273 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008688/0.4384, allocations: 0.789 MB / 0.7506 GB, free: 1.68 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.4384, allocations: 0 / 0.7506 GB, free: 1.68 MB / 0.5886 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001396/0.4398, allocations: 1.178 MB / 0.7518 GB, free: 500 kB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.4398, allocations: 11.98 kB / 0.7518 GB, free: 488 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.4398, allocations: 7.969 kB / 0.7518 GB, free: 484 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000331/0.4402, allocations: 160.1 kB / 0.752 GB, free: 308 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004166/0.4406, allocations: 207.7 kB / 0.7522 GB, free: 100 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003439/0.444, allocations: 6.718 MB / 0.7587 GB, free: 8.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005895/0.4446, allocations: 115.1 kB / 0.7588 GB, free: 8.707 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.906e-05/0.4447, allocations: 43.98 kB / 0.7589 GB, free: 8.664 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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.0004214/0.4451, allocations: 322.9 kB / 0.7592 GB, free: 8.34 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/0.4453, allocations: 182.9 kB / 0.7594 GB, free: 8.16 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001746/0.447, allocations: 1.688 MB / 0.761 GB, free: 6.41 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.447, allocations: 11.94 kB / 0.761 GB, free: 6.398 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.447, allocations: 7.938 kB / 0.761 GB, free: 6.391 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/0.447, allocations: 3.984 kB / 0.761 GB, free: 6.387 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002434/0.4495, allocations: 2.1 MB / 0.7631 GB, free: 4.184 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.4495, allocations: 0 / 0.7631 GB, free: 4.184 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000259/0.4497, allocations: 123.8 kB / 0.7632 GB, free: 4.062 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002668/0.45, allocations: 168.6 kB / 0.7634 GB, free: 3.883 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.778e-05/0.4501, allocations: 27.98 kB / 0.7634 GB, free: 3.855 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003246/0.4533, allocations: 6.721 MB / 0.7699 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.4533, allocations: 7.938 kB / 0.77 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001845/0.4551, allocations: 1.54 MB / 0.7715 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004669/0.4556, allocations: 270.5 kB / 0.7717 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001428/0.4558, allocations: 35.83 kB / 0.7717 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003493/0.4561, allocations: 20 kB / 0.7718 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.4562, allocations: 75.75 kB / 0.7718 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.856e-05/0.4563, allocations: 39.97 kB / 0.7719 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001022/0.4573, allocations: 1.03 MB / 0.7729 GB, free: 9.453 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4573, allocations: 0 / 0.7729 GB, free: 9.453 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001168/0.4584, allocations: 467.5 kB / 0.7733 GB, free: 8.996 MB / 0.6198 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 (70): * Single equations (assignments): 65 * 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.003287/0.4617, allocations: 2.754 MB / 0.776 GB, free: 6.324 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001506/0.4632, allocations: 1.285 MB / 0.7773 GB, free: 4.977 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.4632, allocations: 0.6875 kB / 0.7773 GB, free: 4.977 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006597/0.4639, allocations: 0.907 MB / 0.7782 GB, free: 4.008 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002086/0.466, allocations: 0.747 MB / 0.7789 GB, free: 3.273 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01248/0.4785, allocations: 11.09 MB / 0.7897 GB, free: 7.797 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004622/0.4789, allocations: 0.6496 MB / 0.7904 GB, free: 7.113 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000828/0.4798, allocations: 306 kB / 0.7906 GB, free: 6.855 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005313/0.4803, allocations: 0.6409 MB / 0.7913 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of SimCode: time 1.373e-06/0.4803, allocations: 0 / 0.7913 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1282/0.6085, allocations: 48.6 MB / 0.8387 GB, free: 6.16 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.009/9.617, allocations: 7.875 kB / 0.8387 GB, free: 6.152 MB / 0.6823 GB " [Timeout remaining time 650] (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 & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_res.mat --stripRoot --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Undirected_Interfaces_Tests_Test_p_out_clipping_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --mode=me --timeout=240 --tolerance=1e-06 ../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 252.0] diffSimulationResults("ThermofluidStream_dev_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_OMSimulator-cs-cvode.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_OMSimulator-cs-cvode.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Undirected_Interfaces_Tests_Test_p_out_clipping_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-06 ../ThermofluidStream_dev_ThermofluidStream_Undirected_Interfaces_Tests_Test_p_out_clipping_OMSimulator-cs-cvode.fmu) > ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_OMSimulator-cs-euler.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_OMSimulator-cs-euler.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Undirected_Interfaces_Tests_Test_p_out_clipping_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-06 ../ThermofluidStream_dev_ThermofluidStream_Undirected_Interfaces_Tests_Test_p_out_clipping_OMSimulator-cs-euler.fmu) > ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:basicControlValve.m_flow,flowResistance.m_flow,flowResistance1.m_flow,specificValveType.m_flow,tanValve.m_flow Variables in the result:basicControlValve.Cvs_UK,basicControlValve.Cvs_US,basicControlValve.Kvs,basicControlValve.L,basicControlValve.assertionLevel,basicControlValve.clip_p_out,basicControlValve.displayInstanceName,basicControlValve.displayParameters,basicControlValve.dp_fore,basicControlValve.dp_rear,basicControlValve.dp_ref,basicControlValve.dr_corr,basicControlValve.dr_corr_fore,basicControlValve.dr_corr_rear,basicControlValve.enable_dp_rho_ref,basicControlValve.flowCoefficient,basicControlValve.fore.m_flow,basicControlValve.fore.r,basicControlValve.fore.state_forwards.T,basicControlValve.fore.state_forwards.p,basicControlValve.fore.state_rearwards.T,basicControlValve.fore.state_rearwards.p,basicControlValve.initM_flow,basicControlValve.invertInput,basicControlValve.k_min,basicControlValve.m_acceleration_0,basicControlValve.m_flow,basicControlValve.m_flowStateSelect,basicControlValve.m_flow_0,basicControlValve.m_flow_ref_set,basicControlValve.m_flow_reg,basicControlValve.p_min,basicControlValve.rear.m_flow,basicControlValve.rear.r,basicControlValve.rear.state_forwards.T,basicControlValve.rear.state_forwards.p,basicControlValve.rear.state_rearwards.T,basicControlValve.rear.state_rearwards.p,basicControlValve.rho_ref,basicControlValve.u,basicControlValve.u_in,boundary_fore.L,boundary_fore.T0_par,boundary_fore.displayInertance,boundary_fore.displayInstanceName,boundary_fore.displayP,boundary_fore.displayParameters,boundary_fore.displayPressure,boundary_fore.displayT,boundary_fore.displayTemperature,boundary_fore.enthalpyFromInput,boundary_fore.h0_par,boundary_fore.m_flow_reg,boundary_fore.p0_par,boundary_fore.pressureFromInput,boundary_fore.rear.m_flow,boundary_fore.rear.r,boundary_fore.rear.state_forwards.T,boundary_fore.rear.state_forwards.p,boundary_fore.rear.state_rearwards.T,boundary_fore.rear.state_rearwards.p,boundary_fore.setEnthalpy,boundary_fore.temperatureFromInput,boundary_fore.xiFromInput,boundary_fore1.L,boundary_fore1.T0_par,boundary_fore1.displayInertance,boundary_fore1.displayInstanceName,boundary_fore1.displayP,boundary_fore1.displayParameters,boundary_fore1.displayPressure,boundary_fore1.displayT,boundary_fore1.displayTemperature,boundary_fore1.enthalpyFromInput,boundary_fore1.h0_par,boundary_fore1.m_flow_reg,boundary_fore1.p0_par,boundary_fore1.pressureFromInput,boundary_fore1.rear.m_flow,boundary_fore1.rear.r,boundary_fore1.rear.state_forwards.T,boundary_fore1.rear.state_forwards.p,boundary_fore1.rear.state_rearwards.T,boundary_fore1.rear.state_rearwards.p,boundary_fore1.setEnthalpy,boundary_fore1.temperatureFromInput,boundary_fore1.xiFromInput,boundary_fore2.L,boundary_fore2.T0_par,boundary_fore2.displayInertance,boundary_fore2.displayInstanceName,boundary_fore2.displayP,boundary_fore2.displayParameters,boundary_fore2.displayPressure,boundary_fore2.displayT,boundary_fore2.displayTemperature,boundary_fore2.enthalpyFromInput,boundary_fore2.h0_par,boundary_fore2.m_flow_reg,boundary_fore2.p0_par,boundary_fore2.pressureFromInput,boundary_fore2.rear.m_flow,boundary_fore2.rear.r,boundary_fore2.rear.state_forwards.T,boundary_fore2.rear.state_forwards.p,boundary_fore2.rear.state_rearwards.T,boundary_fore2.rear.state_rearwards.p,boundary_fore2.setEnthalpy,boundary_fore2.temperatureFromInput,boundary_fore2.xiFromInput,boundary_fore3.L,boundary_fore3.T0_par,boundary_fore3.displayInertance,boundary_fore3.displayInstanceName,boundary_fore3.displayP,boundary_fore3.displayParameters,boundary_fore3.displayPressure,boundary_fore3.displayT,boundary_fore3.displayTemperature,boundary_fore3.enthalpyFromInput,boundary_fore3.h0_par,boundary_fore3.m_flow_reg,boundary_fore3.p0_par,boundary_fore3.pressureFromInput,boundary_fore3.rear.m_flow,boundary_fore3.rear.r,boundary_fore3.rear.state_forwards.T,boundary_fore3.rear.state_forwards.p,boundary_fore3.rear.state_rearwards.T,boundary_fore3.rear.state_rearwards.p,boundary_fore3.setEnthalpy,boundary_fore3.temperatureFromInput,boundary_fore3.xiFromInput,boundary_fore4.L,boundary_fore4.T0_par,boundary_fore4.displayInertance,boundary_fore4.displayInstanceName,boundary_fore4.displayP,boundary_fore4.displayParameters,boundary_fore4.displayPressure,boundary_fore4.displayT,boundary_fore4.displayTemperature,boundary_fore4.enthalpyFromInput,boundary_fore4.h0_par,boundary_fore4.m_flow_reg,boundary_fore4.p0_par,boundary_fore4.pressureFromInput,boundary_fore4.rear.m_flow,boundary_fore4.rear.r,boundary_fore4.rear.state_forwards.T,boundary_fore4.rear.state_forwards.p,boundary_fore4.rear.state_rearwards.T,boundary_fore4.rear.state_rearwards.p,boundary_fore4.setEnthalpy,boundary_fore4.temperatureFromInput,boundary_fore4.xiFromInput,boundary_rear.L,boundary_rear.T0_par,boundary_rear.displayInertance,boundary_rear.displayInstanceName,boundary_rear.displayP,boundary_rear.displayParameters,boundary_rear.displayPressure,boundary_rear.displayT,boundary_rear.displayTemperature,boundary_rear.enthalpyFromInput,boundary_rear.fore.m_flow,boundary_rear.fore.r,boundary_rear.fore.state_forwards.T,boundary_rear.fore.state_forwards.p,boundary_rear.fore.state_rearwards.T,boundary_rear.fore.state_rearwards.p,boundary_rear.h0_par,boundary_rear.m_flow_reg,boundary_rear.p0_par,boundary_rear.pressureFromInput,boundary_rear.setEnthalpy,boundary_rear.temperatureFromInput,boundary_rear.xiFromInput,boundary_rear1.L,boundary_rear1.T0_par,boundary_rear1.displayInertance,boundary_rear1.displayInstanceName,boundary_rear1.displayP,boundary_rear1.displayParameters,boundary_rear1.displayPressure,boundary_rear1.displayT,boundary_rear1.displayTemperature,boundary_rear1.enthalpyFromInput,boundary_rear1.fore.m_flow,boundary_rear1.fore.r,boundary_rear1.fore.state_forwards.T,boundary_rear1.fore.state_forwards.p,boundary_rear1.fore.state_rearwards.T,boundary_rear1.fore.state_rearwards.p,boundary_rear1.h0_par,boundary_rear1.m_flow_reg,boundary_rear1.p0_par,boundary_rear1.pressureFromInput,boundary_rear1.setEnthalpy,boundary_rear1.temperatureFromInput,boundary_rear1.xiFromInput,boundary_rear2.L,boundary_rear2.T0_par,boundary_rear2.displayInertance,boundary_rear2.displayInstanceName,boundary_rear2.displayP,boundary_rear2.displayParameters,boundary_rear2.displayPressure,boundary_rear2.displayT,boundary_rear2.displayTemperature,boundary_rear2.enthalpyFromInput,boundary_rear2.fore.m_flow,boundary_rear2.fore.r,boundary_rear2.fore.state_forwards.T,boundary_rear2.fore.state_forwards.p,boundary_rear2.fore.state_rearwards.T,boundary_rear2.fore.state_rearwards.p,boundary_rear2.h0_par,boundary_rear2.m_flow_reg,boundary_rear2.p0_par,boundary_rear2.pressureFromInput,boundary_rear2.setEnthalpy,boundary_rear2.temperatureFromInput,boundary_rear2.xiFromInput,boundary_rear3.L,boundary_rear3.T0_par,boundary_rear3.displayInertance,boundary_rear3.displayInstanceName,boundary_rear3.displayP,boundary_rear3.displayParameters,boundary_rear3.displayPressure,boundary_rear3.displayT,boundary_rear3.displayTemperature,boundary_rear3.enthalpyFromInput,boundary_rear3.fore.m_flow,boundary_rear3.fore.r,boundary_rear3.fore.state_forwards.T,boundary_rear3.fore.state_forwards.p,boundary_rear3.fore.state_rearwards.T,boundary_rear3.fore.state_rearwards.p,boundary_rear3.h0_par,boundary_rear3.m_flow_reg,boundary_rear3.p0_par,boundary_rear3.pressureFromInput,boundary_rear3.setEnthalpy,boundary_rear3.temperatureFromInput,boundary_rear3.xiFromInput,boundary_rear4.L,boundary_rear4.T0_par,boundary_rear4.displayInertance,boundary_rear4.displayInstanceName,boundary_rear4.displayP,boundary_rear4.displayParameters,boundary_rear4.displayPressure,boundary_rear4.displayT,boundary_rear4.displayTemperature,boundary_rear4.enthalpyFromInput,boundary_rear4.fore.m_flow,boundary_rear4.fore.r,boundary_rear4.fore.state_forwards.T,boundary_rear4.fore.state_forwards.p,boundary_rear4.fore.state_rearwards.T,boundary_rear4.fore.state_rearwards.p,boundary_rear4.h0_par,boundary_rear4.m_flow_reg,boundary_rear4.p0_par,boundary_rear4.pressureFromInput,boundary_rear4.setEnthalpy,boundary_rear4.temperatureFromInput,boundary_rear4.xiFromInput,der(basicControlValve.m_flow),der(flowResistance.m_flow),der(flowResistance1.m_flow),der(specificValveType.m_flow),der(tanValve.m_flow),dropOfCommons.L,dropOfCommons.assertionLevel,dropOfCommons.considerInertance,dropOfCommons.displayColor,dropOfCommons.displayInstanceNames,dropOfCommons.displayParameters,dropOfCommons.g,dropOfCommons.k_volume_damping,dropOfCommons.m_flow_reg,dropOfCommons.omega_reg,dropOfCommons.p_min,dropOfCommons.rho_min,flowResistance.L,flowResistance.L_value,flowResistance.clip_p_out,flowResistance.computeL,flowResistance.displayInstanceName,flowResistance.displayParameters,flowResistance.dp_fore,flowResistance.dp_rear,flowResistance.dr_corr,flowResistance.dr_corr_fore,flowResistance.dr_corr_rear,flowResistance.fore.m_flow,flowResistance.fore.r,flowResistance.fore.state_forwards.T,flowResistance.fore.state_forwards.p,flowResistance.fore.state_rearwards.T,flowResistance.fore.state_rearwards.p,flowResistance.initM_flow,flowResistance.l,flowResistance.m_acceleration_0,flowResistance.m_flow,flowResistance.m_flowStateSelect,flowResistance.m_flow_0,flowResistance.m_flow_reg,flowResistance.p_min,flowResistance.r,flowResistance.rear.m_flow,flowResistance.rear.r,flowResistance.rear.state_forwards.T,flowResistance.rear.state_forwards.p,flowResistance.rear.state_rearwards.T,flowResistance.rear.state_rearwards.p,flowResistance.rho_min,flowResistance1.L,flowResistance1.L_value,flowResistance1.clip_p_out,flowResistance1.computeL,flowResistance1.displayInstanceName,flowResistance1.displayParameters,flowResistance1.dp_fore,flowResistance1.dp_rear,flowResistance1.dr_corr,flowResistance1.dr_corr_fore,flowResistance1.dr_corr_rear,flowResistance1.fore.m_flow,flowResistance1.fore.r,flowResistance1.fore.state_forwards.T,flowResistance1.fore.state_forwards.p,flowResistance1.fore.state_rearwards.T,flowResistance1.fore.state_rearwards.p,flowResistance1.initM_flow,flowResistance1.l,flowResistance1.m_acceleration_0,flowResistance1.m_flow,flowResistance1.m_flowStateSelect,flowResistance1.m_flow_0,flowResistance1.m_flow_reg,flowResistance1.p_min,flowResistance1.r,flowResistance1.rear.m_flow,flowResistance1.rear.r,flowResistance1.rear.state_forwards.T,flowResistance1.rear.state_forwards.p,flowResistance1.rear.state_rearwards.T,flowResistance1.rear.state_rearwards.p,flowResistance1.rho_min,realExpression.y,specificValveType.Cvs_UK,specificValveType.Cvs_US,specificValveType.Kvs,specificValveType.L,specificValveType.assertionLevel,specificValveType.clip_p_out,specificValveType.d_valve,specificValveType.displayInstanceName,specificValveType.displayParameters,specificValveType.dp_fore,specificValveType.dp_rear,specificValveType.dp_ref,specificValveType.dr_corr,specificValveType.dr_corr_fore,specificValveType.dr_corr_rear,specificValveType.enable_dp_rho_ref,specificValveType.flowCoefficient,specificValveType.fore.m_flow,specificValveType.fore.r,specificValveType.fore.state_forwards.T,specificValveType.fore.state_forwards.p,specificValveType.fore.state_rearwards.T,specificValveType.fore.state_rearwards.p,specificValveType.initM_flow,specificValveType.invertInput,specificValveType.k_min,specificValveType.m_acceleration_0,specificValveType.m_flow,specificValveType.m_flowStateSelect,specificValveType.m_flow_0,specificValveType.m_flow_ref_set,specificValveType.m_flow_reg,specificValveType.p_min,specificValveType.rear.m_flow,specificValveType.rear.r,specificValveType.rear.state_forwards.T,specificValveType.rear.state_forwards.p,specificValveType.rear.state_rearwards.T,specificValveType.rear.state_rearwards.p,specificValveType.rho_ref,specificValveType.u,specificValveType.u_in,tanValve.L,tanValve.clip_p_out,tanValve.displayInstanceName,tanValve.displayParameters,tanValve.dp_fore,tanValve.dp_rear,tanValve.dr_corr,tanValve.dr_corr_fore,tanValve.dr_corr_rear,tanValve.fore.m_flow,tanValve.fore.r,tanValve.fore.state_forwards.T,tanValve.fore.state_forwards.p,tanValve.fore.state_rearwards.T,tanValve.fore.state_rearwards.p,tanValve.initM_flow,tanValve.invertInput,tanValve.m_acceleration_0,tanValve.m_flow,tanValve.m_flowStateSelect,tanValve.m_flow_0,tanValve.m_flow_ref,tanValve.m_flow_reg,tanValve.p_min,tanValve.p_ref,tanValve.rear.m_flow,tanValve.rear.r,tanValve.rear.state_forwards.T,tanValve.rear.state_forwards.p,tanValve.rear.state_rearwards.T,tanValve.rear.state_rearwards.p,tanValve.relativeLeakiness,tanValve.u,time filterSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_OMSimulator-cs-euler.diff.mat", vars={"tanValve.m_flow", "basicControlValve.m_flow"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_ref.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_OMSimulator-cs-euler.diff.ref.mat", vars={"tanValve.m_flow", "basicControlValve.m_flow"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_fmpy.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_fmpy.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_fmpy_res.csv --output-variables basicControlValve.m_flow flowResistance.m_flow flowResistance1.m_flow specificValveType.m_flow tanValve.m_flow --start-time 0 --stop-time 1 --timeout 240 --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_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_fmpy_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.514010298997164]