Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.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.001462/0.001462, allocations: 110.6 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.001625/0.001625, allocations: 220.5 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.536/1.536, 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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.7961/0.7961, allocations: 100.3 MB / 412.7 MB, free: 3.656 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.SpecificValveType,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_SpecificValveType",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.SpecificValveType,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_SpecificValveType",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.002497/0.002497, allocations: 84.92 kB / 0.5633 GB, free: 35.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1498, allocations: 74.46 MB / 0.636 GB, free: 7.672 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.04405/0.1938, allocations: 37.82 MB / 0.6729 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02086/0.2147, allocations: 15.2 MB / 0.6878 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001539/0.2162, allocations: 71.38 kB / 0.6878 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002281/0.2185, allocations: 0.96 MB / 0.6888 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003855/0.2223, allocations: 1.383 MB / 0.6901 GB, free: 36 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003065/0.2254, allocations: 1.054 MB / 0.6911 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002841/0.2282, allocations: 1.961 MB / 0.6931 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005932/0.2288, allocations: 215.5 kB / 0.6933 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0019/0.2307, allocations: 1.086 MB / 0.6943 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009783/0.2317, allocations: 0.7152 MB / 0.695 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000162/0.2319, allocations: 92 kB / 0.6951 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002491/0.2344, allocations: 0.8935 MB / 0.696 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004403/0.2348, allocations: 322.5 kB / 0.6963 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000742/0.2356, allocations: 0.7299 MB / 0.697 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003817/0.2394, allocations: 2.132 MB / 0.6991 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2394, allocations: 0 / 0.6991 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2394, allocations: 0 / 0.6991 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.847e-05/0.2394, allocations: 0 / 0.6991 GB, free: 6.789 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.003888/0.2433, allocations: 2.026 MB / 0.7011 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.2433, allocations: 8.031 kB / 0.7011 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001505/0.2435, allocations: 135.1 kB / 0.7012 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000315/0.2438, allocations: 198.9 kB / 0.7014 GB, free: 4.379 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002217/0.246, allocations: 1.131 MB / 0.7025 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.648e-05/0.2461, allocations: 62 kB / 0.7025 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.2462, allocations: 84 kB / 0.7026 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/0.2477, allocations: 0.861 MB / 0.7035 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.2477, allocations: 0 / 0.7035 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-05/0.2478, allocations: 36 kB / 0.7035 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.262e-05/0.2478, allocations: 23.94 kB / 0.7035 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/0.2492, allocations: 0.8198 MB / 0.7043 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005416/0.2546, allocations: 3.553 MB / 0.7078 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.2558, allocations: 0.5721 MB / 0.7084 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005131/0.2563, allocations: 306.6 kB / 0.7086 GB, free: 12.56 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002812/0.2591, allocations: 1.287 MB / 0.7099 GB, free: 11.25 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/0.2591, allocations: 43.2 kB / 0.7099 GB, free: 11.2 MB / 0.545 GB Notification: Performance of pre-optimization done (n=73): time 2.034e-06/0.2592, allocations: 0 / 0.7099 GB, free: 11.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=73): time 0.002725/0.2619, allocations: 1.092 MB / 0.711 GB, free: 10.1 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.2619, allocations: 64 kB / 0.7111 GB, free: 10.02 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001906/0.2638, allocations: 1.341 MB / 0.7124 GB, free: 8.668 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.159e-05/0.2639, allocations: 41.7 kB / 0.7124 GB, free: 8.621 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005483/0.2644, allocations: 0.6284 MB / 0.713 GB, free: 7.984 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003336/0.2648, allocations: 265.7 kB / 0.7133 GB, free: 7.723 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/0.265, allocations: 146.5 kB / 0.7134 GB, free: 7.574 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.2651, allocations: 334 kB / 0.7137 GB, free: 7.242 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004195/0.2656, allocations: 209.9 kB / 0.7139 GB, free: 7.035 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005217/0.2661, allocations: 318.2 kB / 0.7142 GB, free: 6.695 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.2672, allocations: 0.5381 MB / 0.7148 GB, free: 6.141 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.2672, allocations: 0 / 0.7148 GB, free: 6.141 MB / 0.545 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001735/0.2689, allocations: 0.8337 MB / 0.7156 GB, free: 5.293 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.2689, allocations: 11.94 kB / 0.7156 GB, free: 5.281 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.2689, allocations: 0 / 0.7156 GB, free: 5.281 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004892/0.2694, allocations: 109.6 kB / 0.7157 GB, free: 5.168 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005555/0.27, allocations: 147.8 kB / 0.7158 GB, free: 5.023 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003051/0.273, allocations: 3.003 MB / 0.7188 GB, free: 1.793 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005287/0.2736, allocations: 71.53 kB / 0.7188 GB, free: 1.723 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.174e-05/0.2736, allocations: 27.98 kB / 0.7189 GB, free: 1.695 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (75): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0006289/0.2743, allocations: 321.7 kB / 0.7192 GB, free: 1.371 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002216/0.2745, allocations: 162.9 kB / 0.7193 GB, free: 1.211 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002132/0.2766, allocations: 1.139 MB / 0.7204 GB, free: 52 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.2766, allocations: 8 kB / 0.7205 GB, free: 44 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2766, allocations: 4 kB / 0.7205 GB, free: 40 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.2766, allocations: 3.984 kB / 0.7205 GB, free: 36 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003414/0.2801, allocations: 1.991 MB / 0.7224 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.2801, allocations: 0 / 0.7224 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004814/0.2805, allocations: 124 kB / 0.7225 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003373/0.2809, allocations: 117.5 kB / 0.7226 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.967e-05/0.2809, allocations: 23.98 kB / 0.7227 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002931/0.2839, allocations: 3.005 MB / 0.7256 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.2839, allocations: 7.969 kB / 0.7256 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002312/0.2862, allocations: 1.229 MB / 0.7268 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006415/0.2868, allocations: 284.6 kB / 0.7271 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/0.287, allocations: 23.95 kB / 0.7271 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004151/0.2874, allocations: 19.98 kB / 0.7271 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.2875, allocations: 60.67 kB / 0.7272 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.447e-05/0.2875, allocations: 35.98 kB / 0.7272 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001638/0.2892, allocations: 0.9585 MB / 0.7281 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2892, allocations: 0 / 0.7281 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001209/0.2904, allocations: 423 kB / 0.7285 GB, free: 7.414 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance6.inlet.m_flow,flowResistance2.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 (67): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.004551/0.2949, allocations: 2.438 MB / 0.7309 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001581/0.2965, allocations: 0.7994 MB / 0.7317 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2965, allocations: 0 / 0.7317 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008805/0.2974, allocations: 0.5522 MB / 0.7322 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00168/0.2991, allocations: 420 kB / 0.7326 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01477/0.3139, allocations: 9.171 MB / 0.7416 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/0.3149, allocations: 1.212 MB / 0.7428 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007788/0.3157, allocations: 247.3 kB / 0.743 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007275/0.3164, allocations: 0.5695 MB / 0.7436 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of SimCode: time 1.262e-06/0.3164, allocations: 0 / 0.7436 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3676/0.684, allocations: 35.16 MB / 0.7779 GB, free: 98.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.96/14.65, allocations: 15.34 kB / 0.7779 GB, free: 98.79 MB / 0.5762 GB " [Timeout remaining time 645] (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.csv --start-time 0 --stop-time 20 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_SpecificValveType.fmu > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.SpecificValveType_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.csv. Warning: Get data of variable Time from file ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.csv failed! Error: Could not read variable source.outlet.m_flow in file ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.csv. Warning: Get data of variable source.outlet.m_flow from file ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.csv failed! Error: Could not read variable source1.outlet.m_flow in file ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.csv. Warning: Get data of variable source1.outlet.m_flow from file ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.545207283998025]