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.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.002326/0.002326, 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.00326/0.00326, allocations: 217.5 kB / 22.25 MB, free: 5.121 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.729/1.729, allocations: 230.6 MB / 256 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.9323/0.9323, allocations: 94.56 MB / 407 MB, free: 9.164 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/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_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_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.00259/0.00259, allocations: 87.22 kB / 0.555 GB, free: 38.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1647, allocations: 73.05 MB / 0.6263 GB, free: 476 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping): time 0.6781/0.8428, allocations: 173.6 MB / 0.7959 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01433/0.8571, allocations: 11.56 MB / 0.8071 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003054/0.8602, allocations: 95.97 kB / 0.8072 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002996/0.8632, allocations: 0.8925 MB / 0.8081 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006837/0.87, allocations: 1.778 MB / 0.8098 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004701/0.8747, allocations: 1.366 MB / 0.8112 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005106/0.8798, allocations: 2.613 MB / 0.8137 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009146/0.8807, allocations: 243.8 kB / 0.814 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004202/0.8849, allocations: 1.483 MB / 0.8154 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002445/0.8874, allocations: 1.163 MB / 0.8166 GB, free: 348 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005514/0.8879, allocations: 110.2 kB / 0.8167 GB, free: 348 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005905/0.8938, allocations: 1.898 MB / 0.8185 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006352/0.8944, allocations: 345.6 kB / 0.8188 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001789/0.8962, allocations: 0.8105 MB / 0.8196 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007886/0.9041, allocations: 2.518 MB / 0.8221 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.9041, allocations: 0 / 0.8221 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9041, allocations: 0 / 0.8221 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001103/0.9042, allocations: 6.562 kB / 0.8221 GB, free: 13.91 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.005859/0.9101, allocations: 2.1 MB / 0.8241 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.9102, allocations: 7.625 kB / 0.8242 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003093/0.9105, allocations: 160.3 kB / 0.8243 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005501/0.911, allocations: 205.4 kB / 0.8245 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002626/0.9136, allocations: 1.135 MB / 0.8256 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.537e-05/0.9137, allocations: 82.03 kB / 0.8257 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/0.9139, allocations: 116 kB / 0.8258 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001963/0.9158, allocations: 1.191 MB / 0.827 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.854e-05/0.9158, allocations: 0 / 0.827 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.9159, allocations: 47.16 kB / 0.827 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.315e-05/0.916, allocations: 30.22 kB / 0.827 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001766/0.9177, allocations: 1.1 MB / 0.8281 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007532/0.9253, allocations: 5.145 MB / 0.8331 GB, free: 5.453 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/0.9267, allocations: 0.6924 MB / 0.8338 GB, free: 5.051 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006444/0.9273, allocations: 394.1 kB / 0.8342 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004038/0.9314, allocations: 1.789 MB / 0.8359 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.028e-05/0.9314, allocations: 52.06 kB / 0.836 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=108): time 3.657e-06/0.9314, allocations: 2.781 kB / 0.836 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of matching and sorting (n=108): time 0.003497/0.9349, allocations: 1.463 MB / 0.8374 GB, free: 2.672 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.853e-05/0.935, allocations: 118.3 kB / 0.8375 GB, free: 2.543 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001992/0.937, allocations: 1.294 MB / 0.8388 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.434e-05/0.9371, allocations: 44.42 kB / 0.8388 GB, free: 1.812 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005677/0.9377, allocations: 0.6306 MB / 0.8394 GB, free: 1.254 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003379/0.938, allocations: 391.1 kB / 0.8398 GB, free: 0.918 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003265/0.9383, allocations: 198.5 kB / 0.84 GB, free: 0.7969 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000208/0.9385, allocations: 348.1 kB / 0.8403 GB, free: 472 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005774/0.9391, allocations: 298.2 kB / 0.8406 GB, free: 328 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008492/0.94, allocations: 449.4 kB / 0.8411 GB, free: 12 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001571/0.9415, allocations: 0.7658 MB / 0.8418 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.9415, allocations: 3.938 kB / 0.8418 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002452/0.944, allocations: 1.156 MB / 0.8429 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.944, allocations: 7.312 kB / 0.8429 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.944, allocations: 2.812 kB / 0.8429 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000572/0.9446, allocations: 163.8 kB / 0.8431 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007532/0.9453, allocations: 209.4 kB / 0.8433 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006524/0.9519, allocations: 6.747 MB / 0.8499 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.953, allocations: 115 kB / 0.85 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001479/0.9532, allocations: 43.98 kB / 0.85 GB, free: 7.336 MB / 0.6075 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.0007699/0.9539, allocations: 309.6 kB / 0.8503 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003964/0.9543, allocations: 174.9 kB / 0.8505 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003173/0.9575, allocations: 1.719 MB / 0.8522 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.9575, allocations: 8 kB / 0.8522 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/0.9575, allocations: 4 kB / 0.8522 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.9575, allocations: 3.984 kB / 0.8522 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004288/0.9618, allocations: 2.362 MB / 0.8545 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/0.9618, allocations: 7.984 kB / 0.8545 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005488/0.9624, allocations: 127.8 kB / 0.8546 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005171/0.9629, allocations: 164.4 kB / 0.8548 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.509e-05/0.963, allocations: 35.86 kB / 0.8548 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006741/0.9697, allocations: 6.746 MB / 0.8614 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.9697, allocations: 4 kB / 0.8614 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003412/0.9731, allocations: 1.588 MB / 0.863 GB, free: 9.289 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000995/0.9741, allocations: 266.6 kB / 0.8632 GB, free: 9.027 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002517/0.9744, allocations: 39.78 kB / 0.8633 GB, free: 8.988 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000595/0.975, allocations: 27.98 kB / 0.8633 GB, free: 8.961 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001766/0.9751, allocations: 71.81 kB / 0.8634 GB, free: 8.891 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.526e-05/0.9752, allocations: 35.92 kB / 0.8634 GB, free: 8.855 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001628/0.9768, allocations: 0.997 MB / 0.8644 GB, free: 7.867 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.9768, allocations: 0 / 0.8644 GB, free: 7.867 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001856/0.9787, allocations: 471.3 kB / 0.8648 GB, free: 7.406 MB / 0.6231 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.005708/0.9844, allocations: 2.782 MB / 0.8675 GB, free: 4.723 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002813/0.9872, allocations: 1.293 MB / 0.8688 GB, free: 3.371 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.9872, allocations: 0 / 0.8688 GB, free: 3.371 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001475/0.9887, allocations: 0.9272 MB / 0.8697 GB, free: 2.379 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002888/0.9916, allocations: 485.3 kB / 0.8702 GB, free: 1.922 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02307/1.015, allocations: 10.99 MB / 0.8809 GB, free: 6.57 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00129/1.016, allocations: 1.216 MB / 0.8821 GB, free: 5.328 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001557/1.018, allocations: 311 kB / 0.8824 GB, free: 5.07 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001032/1.019, allocations: 0.6086 MB / 0.883 GB, free: 4.461 MB / 0.6387 GB Notification: Performance of SimCode: time 2.034e-06/1.019, allocations: 0 / 0.883 GB, free: 4.461 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1088/1.127, allocations: 40.38 MB / 0.9224 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.34/20.46, allocations: 8 kB / 0.9224 GB, free: 12.29 MB / 0.6856 GB " [Timeout remaining time 639] (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 & python3 -m fmpy simulate --output-file ThermofluidStream_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_ThermofluidStream_Undirected_Interfaces_Tests_Test_p_out_clipping.fmu > ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_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_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_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_res.csv. Warning: Get data of variable Time from file ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 24.96022822800296]