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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 111.6 kB / 18.13 MB, free: 3.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002108/0.002108, allocations: 197.2 kB / 21.43 MB, free: 412 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.69/1.69, allocations: 225.6 MB / 250.2 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 1.008/1.008, allocations: 94.59 MB / 400 MB, free: 15.75 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-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: "" <> 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: Performance of FrontEnd - loaded program: time 0.002494/0.002494, allocations: 81.78 kB / 0.5457 GB, free: 43.01 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2009/0.2034, allocations: 71.85 MB / 0.6159 GB, free: 8.984 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping): time 0.8503/1.054, allocations: 173.5 MB / 0.7853 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0198/1.073, allocations: 11.44 MB / 0.7965 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004324/1.078, allocations: 73.38 kB / 0.7966 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003568/1.081, allocations: 0.8898 MB / 0.7974 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008635/1.09, allocations: 1.733 MB / 0.7991 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005895/1.096, allocations: 1.318 MB / 0.8004 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005874/1.102, allocations: 2.565 MB / 0.8029 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008203/1.103, allocations: 245.3 kB / 0.8031 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004404/1.107, allocations: 1.46 MB / 0.8046 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002478/1.109, allocations: 1.154 MB / 0.8057 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002459/1.11, allocations: 110.9 kB / 0.8058 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005967/1.116, allocations: 1.874 MB / 0.8076 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003664/1.116, allocations: 338.4 kB / 0.808 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001522/1.118, allocations: 0.8008 MB / 0.8087 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00703/1.125, allocations: 2.518 MB / 0.8112 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/1.125, allocations: 0 / 0.8112 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.655e-06/1.125, allocations: 0 / 0.8112 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.531e-05/1.125, allocations: 0.7812 kB / 0.8112 GB, free: 0.9414 MB / 0.5762 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.005272/1.13, allocations: 2.166 MB / 0.8133 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 8.255e-05/1.13, allocations: 10.19 kB / 0.8133 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002743/1.13, allocations: 158.2 kB / 0.8135 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004929/1.131, allocations: 205.6 kB / 0.8137 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002666/1.133, allocations: 1.24 MB / 0.8149 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/1.134, allocations: 80.91 kB / 0.815 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002452/1.134, allocations: 114.7 kB / 0.8151 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002375/1.136, allocations: 1.171 MB / 0.8162 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.984e-05/1.136, allocations: 3.375 kB / 0.8162 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/1.136, allocations: 44.5 kB / 0.8163 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-05/1.136, allocations: 28.48 kB / 0.8163 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001856/1.138, allocations: 1.076 MB / 0.8173 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008677/1.147, allocations: 5.257 MB / 0.8225 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/1.148, allocations: 0.6918 MB / 0.8231 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000763/1.149, allocations: 393.3 kB / 0.8235 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00613/1.155, allocations: 3.909 MB / 0.8273 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.586e-05/1.155, allocations: 44.34 kB / 0.8274 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=108): time 3.706e-06/1.155, allocations: 0 / 0.8274 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of matching and sorting (n=108): time 0.004359/1.16, allocations: 1.842 MB / 0.8292 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/1.16, allocations: 117.3 kB / 0.8293 GB, free: 4.395 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002165/1.162, allocations: 1.285 MB / 0.8305 GB, free: 3.715 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001021/1.162, allocations: 45.7 kB / 0.8306 GB, free: 3.668 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007423/1.163, allocations: 0.6266 MB / 0.8312 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004321/1.163, allocations: 393.4 kB / 0.8316 GB, free: 2.777 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003414/1.164, allocations: 196 kB / 0.8318 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001951/1.164, allocations: 345.2 kB / 0.8321 GB, free: 2.328 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006124/1.164, allocations: 301.6 kB / 0.8324 GB, free: 2.184 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008364/1.165, allocations: 447.5 kB / 0.8328 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00149/1.167, allocations: 0.769 MB / 0.8336 GB, free: 1.453 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.009e-05/1.167, allocations: 7.125 kB / 0.8336 GB, free: 1.449 MB / 0.5919 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.00254/1.169, allocations: 1.168 MB / 0.8347 GB, free: 0.8594 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.237e-05/1.169, allocations: 8.969 kB / 0.8347 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/1.169, allocations: 1.812 kB / 0.8347 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000616/1.17, allocations: 162 kB / 0.8349 GB, free: 0.7578 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007845/1.171, allocations: 207.2 kB / 0.8351 GB, free: 0.7188 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007623/1.178, allocations: 7.244 MB / 0.8421 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/1.18, allocations: 113 kB / 0.8423 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000149/1.18, allocations: 45.45 kB / 0.8423 GB, free: 9.27 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.0008653/1.181, allocations: 314.8 kB / 0.8426 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006251/1.181, allocations: 176.6 kB / 0.8428 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003772/1.185, allocations: 1.708 MB / 0.8444 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/1.185, allocations: 9.562 kB / 0.8444 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/1.185, allocations: 6.594 kB / 0.8444 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.49e-05/1.185, allocations: 9.266 kB / 0.8445 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004876/1.19, allocations: 2.395 MB / 0.8468 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/1.19, allocations: 7.938 kB / 0.8468 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005442/1.191, allocations: 121 kB / 0.8469 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000544/1.191, allocations: 166.7 kB / 0.8471 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.237e-05/1.191, allocations: 27.98 kB / 0.8471 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007341/1.199, allocations: 7.269 MB / 0.8542 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/1.199, allocations: 0 / 0.8542 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00342/1.202, allocations: 1.589 MB / 0.8558 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007747/1.203, allocations: 347.7 kB / 0.8561 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000224/1.203, allocations: 39.75 kB / 0.8561 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005746/1.204, allocations: 16 kB / 0.8561 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/1.204, allocations: 74.34 kB / 0.8562 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.508e-05/1.204, allocations: 31.92 kB / 0.8562 GB, free: 11 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001823/1.206, allocations: 0.9967 MB / 0.8572 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/1.206, allocations: 4 kB / 0.8572 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002074/1.208, allocations: 463.3 kB / 0.8577 GB, free: 9.555 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.005485/1.213, allocations: 2.778 MB / 0.8604 GB, free: 6.91 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002659/1.216, allocations: 1.294 MB / 0.8616 GB, free: 5.578 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/1.216, allocations: 0 / 0.8616 GB, free: 5.578 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001482/1.217, allocations: 0.9204 MB / 0.8625 GB, free: 4.613 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002795/1.22, allocations: 0.4931 MB / 0.863 GB, free: 4.137 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02078/1.241, allocations: 10.96 MB / 0.8737 GB, free: 8.902 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001221/1.242, allocations: 1.221 MB / 0.8749 GB, free: 7.652 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001394/1.244, allocations: 302.4 kB / 0.8752 GB, free: 7.387 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008923/1.245, allocations: 0.6047 MB / 0.8758 GB, free: 6.781 MB / 0.6387 GB Notification: Performance of SimCode: time 1.343e-06/1.245, allocations: 4 kB / 0.8758 GB, free: 6.777 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1215/1.366, allocations: 39.78 MB / 0.9146 GB, free: 15.22 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.55/18.92, allocations: 7.5 kB / 0.9146 GB, free: 15.21 MB / 0.6856 GB " [Timeout remaining time 641] (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_2/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: 23.59584570908919]