Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.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.001258/0.001258, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001845/0.001845, allocations: 170.3 kB / 22.46 MB, free: 2.105 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 1.04/1.04, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.6931/0.6931, allocations: 80.18 MB / 339.4 MB, free: 7.531 MB / 314.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.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.FlowControl.Tests.BasicControlValve,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_BasicControlValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.BasicControlValve,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_BasicControlValve",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.571e-06/5.571e-06, allocations: 0 / 0.4924 GB, free: 6.641 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.702e-05/5.259e-05, allocations: 6.219 kB / 0.4924 GB, free: 6.633 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.BasicControlValve): time 0.03776/0.03782, allocations: 52.08 MB / 0.5432 GB, free: 4.234 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.01766/0.05547, allocations: 17.39 MB / 0.5602 GB, free: 2.793 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002304/0.05778, allocations: 111 kB / 0.5603 GB, free: 2.684 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00227/0.06005, allocations: 0.8179 MB / 0.5611 GB, free: 1.859 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005008/0.06505, allocations: 1.889 MB / 0.563 GB, free: 15.96 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004051/0.06911, allocations: 1.377 MB / 0.5643 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.003651/0.07276, allocations: 2.911 MB / 0.5671 GB, free: 11.64 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004707/0.07323, allocations: 306.9 kB / 0.5674 GB, free: 11.31 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001813/0.07504, allocations: 1.57 MB / 0.569 GB, free: 9.738 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007487/0.07579, allocations: 0.7554 MB / 0.5697 GB, free: 8.98 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000125/0.07591, allocations: 132 kB / 0.5698 GB, free: 8.852 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002631/0.07854, allocations: 1.154 MB / 0.571 GB, free: 7.695 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002481/0.07879, allocations: 358.2 kB / 0.5713 GB, free: 7.344 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005776/0.07937, allocations: 0.6232 MB / 0.5719 GB, free: 6.719 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003067/0.08244, allocations: 2.741 MB / 0.5746 GB, free: 3.969 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.08244, allocations: 0 / 0.5746 GB, free: 3.969 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.08245, allocations: 0 / 0.5746 GB, free: 3.969 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.245e-05/0.08248, allocations: 0 / 0.5746 GB, free: 3.969 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.003138/0.08562, allocations: 2.42 MB / 0.577 GB, free: 1.504 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6e-05/0.08568, allocations: 9.469 kB / 0.577 GB, free: 1.496 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001451/0.08582, allocations: 173.4 kB / 0.5771 GB, free: 1.316 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003774/0.0862, allocations: 266.5 kB / 0.5774 GB, free: 1.055 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001628/0.08783, allocations: 1.228 MB / 0.5786 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.075e-05/0.08788, allocations: 94.27 kB / 0.5787 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.08799, allocations: 120 kB / 0.5788 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/0.08942, allocations: 1.33 MB / 0.5801 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.08944, allocations: 0 / 0.5801 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.081e-05/0.0895, allocations: 48 kB / 0.5801 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.903e-05/0.08952, allocations: 31.94 kB / 0.5802 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/0.0909, allocations: 1.16 MB / 0.5813 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003747/0.09465, allocations: 3.69 MB / 0.5849 GB, free: 9.121 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001/0.09565, allocations: 0.8613 MB / 0.5857 GB, free: 8.258 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004599/0.09611, allocations: 419.2 kB / 0.5861 GB, free: 7.844 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00208/0.09819, allocations: 1.562 MB / 0.5877 GB, free: 6.262 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.09822, allocations: 43.56 kB / 0.5877 GB, free: 6.211 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=103): time 1.933e-06/0.09822, allocations: 0 / 0.5877 GB, free: 6.211 MB / 0.4948 GB Notification: Performance of matching and sorting (n=103): time 0.002341/0.1006, allocations: 1.466 MB / 0.5891 GB, free: 4.727 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.1006, allocations: 64.41 kB / 0.5892 GB, free: 4.652 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.1018, allocations: 1.363 MB / 0.5905 GB, free: 3.289 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.332e-05/0.1018, allocations: 41.7 kB / 0.5906 GB, free: 3.242 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004411/0.1022, allocations: 0.8171 MB / 0.5914 GB, free: 2.418 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002012/0.1024, allocations: 368.8 kB / 0.5917 GB, free: 2.055 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/0.1026, allocations: 182.6 kB / 0.5919 GB, free: 1.871 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.618e-05/0.1027, allocations: 345.9 kB / 0.5922 GB, free: 1.527 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003577/0.1031, allocations: 293.9 kB / 0.5925 GB, free: 1.238 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005334/0.1036, allocations: 0.5535 MB / 0.593 GB, free: 0.6016 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009219/0.1045, allocations: 0.8125 MB / 0.5938 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.8e-06/0.1045, allocations: 4 kB / 0.5938 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001606/0.1061, allocations: 1.186 MB / 0.595 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.1061, allocations: 11.94 kB / 0.595 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.1062, allocations: 4 kB / 0.595 GB, free: 14.51 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004479/0.1066, allocations: 170.8 kB / 0.5952 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003935/0.107, allocations: 199.7 kB / 0.5954 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00275/0.1097, allocations: 4.477 MB / 0.5997 GB, free: 9.316 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004384/0.1102, allocations: 95.28 kB / 0.5998 GB, free: 9.223 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-05/0.1103, allocations: 47.98 kB / 0.5999 GB, free: 9.176 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (112): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003801/0.1106, allocations: 285.7 kB / 0.6001 GB, free: 8.887 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/0.1108, allocations: 190.7 kB / 0.6003 GB, free: 8.699 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002144/0.1129, allocations: 1.575 MB / 0.6019 GB, free: 7.105 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.1129, allocations: 12 kB / 0.6019 GB, free: 7.094 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1129, allocations: 192 / 0.6019 GB, free: 7.094 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.113, allocations: 7.984 kB / 0.6019 GB, free: 7.086 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0025/0.1155, allocations: 2.361 MB / 0.6042 GB, free: 4.641 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.89e-06/0.1155, allocations: 0 / 0.6042 GB, free: 4.641 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002787/0.1157, allocations: 151.8 kB / 0.6043 GB, free: 4.492 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003131/0.1161, allocations: 162.6 kB / 0.6045 GB, free: 4.324 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.753e-05/0.1161, allocations: 35.97 kB / 0.6045 GB, free: 4.289 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002775/0.1189, allocations: 4.484 MB / 0.6089 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.1189, allocations: 4.031 kB / 0.6089 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001707/0.1206, allocations: 1.577 MB / 0.6105 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003367/0.1209, allocations: 270.5 kB / 0.6107 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.62e-05/0.121, allocations: 31.88 kB / 0.6107 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002868/0.1213, allocations: 27.98 kB / 0.6108 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.1214, allocations: 80.86 kB / 0.6108 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.794e-05/0.1215, allocations: 35.98 kB / 0.6109 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008615/0.1223, allocations: 0.9513 MB / 0.6118 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.1223, allocations: 0 / 0.6118 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001181/0.1235, allocations: 0.5808 MB / 0.6124 GB, free: 11.87 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (flowResistance6.inlet.m_flow,flowResistance2.inlet.m_flow,flowResistance4.inlet.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 (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002729/0.1262, allocations: 2.701 MB / 0.615 GB, free: 9.117 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001656/0.1279, allocations: 1.13 MB / 0.6161 GB, free: 7.945 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1279, allocations: 0 / 0.6161 GB, free: 7.945 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006721/0.1286, allocations: 0.7718 MB / 0.6169 GB, free: 7.137 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001788/0.1304, allocations: 0.7319 MB / 0.6176 GB, free: 6.43 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0127/0.1431, allocations: 11.14 MB / 0.6285 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005273/0.1436, allocations: 0.6936 MB / 0.6291 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0009598/0.1445, allocations: 300 kB / 0.6294 GB, free: 9.941 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009647/0.1455, allocations: 0.7268 MB / 0.6301 GB, free: 9.215 MB / 0.5417 GB Notification: Performance of SimCode: time 2.654e-06/0.1455, allocations: 0 / 0.6301 GB, free: 9.215 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.406/0.5515, allocations: 52.66 MB / 0.6816 GB, free: 109.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.27, allocations: 11.98 kB / 0.6816 GB, free: 109.4 MB / 0.5417 GB " [Timeout remaining time 649] (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.sim & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.csv --start-time 0 --stop-time 20 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 ThermofluidStream_ThermofluidStream_FlowControl_Tests_BasicControlValve.fmu > ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.BasicControlValve_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.csv. Warning: Get data of variable Time from file ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.csv failed! Error: Could not read variable source.outlet.m_flow in file ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.csv. Warning: Get data of variable source.outlet.m_flow from file ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.csv failed! Error: Could not read variable source1.outlet.m_flow in file ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.csv. Warning: Get data of variable source1.outlet.m_flow from file ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.csv failed! Error: Could not read variable source2.outlet.m_flow in file ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.csv. Warning: Get data of variable source2.outlet.m_flow from file ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.488603482954204]