Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001737/0.001737, 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.002312/0.002312, allocations: 218.4 kB / 22.25 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.735/1.735, allocations: 230.6 MB / 256 MB, free: 8.004 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.9343/0.9343, allocations: 94.56 MB / 407 MB, free: 9.195 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.FlowControl.Tests.SpecificValveType,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_SpecificValveType",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.SpecificValveType,fileNamePrefix="ThermofluidStream_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.002581/0.002581, allocations: 89.94 kB / 0.555 GB, free: 38.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.184, allocations: 73.05 MB / 0.6263 GB, free: 0.5 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.04801/0.232, allocations: 37.83 MB / 0.6632 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02155/0.2535, allocations: 15.2 MB / 0.6781 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00202/0.2556, allocations: 71.38 kB / 0.6781 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002911/0.2585, allocations: 0.9484 MB / 0.6791 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005017/0.2635, allocations: 1.394 MB / 0.6804 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004165/0.2677, allocations: 1.042 MB / 0.6815 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003964/0.2716, allocations: 1.953 MB / 0.6834 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006398/0.2723, allocations: 227.5 kB / 0.6836 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002789/0.2751, allocations: 1.086 MB / 0.6846 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001356/0.2764, allocations: 0.7113 MB / 0.6853 GB, free: 3.797 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001894/0.2766, allocations: 88 kB / 0.6854 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003259/0.2799, allocations: 0.8935 MB / 0.6863 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004172/0.2803, allocations: 330.5 kB / 0.6866 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009651/0.2812, allocations: 0.726 MB / 0.6873 GB, free: 1.762 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00537/0.2866, allocations: 2.132 MB / 0.6894 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.2866, allocations: 0 / 0.6894 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2866, allocations: 0 / 0.6894 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.838e-05/0.2866, allocations: 4 kB / 0.6894 GB, free: 15.62 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.004082/0.2907, allocations: 2.03 MB / 0.6914 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.2908, allocations: 12.03 kB / 0.6914 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001814/0.291, allocations: 123.1 kB / 0.6915 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003881/0.2913, allocations: 202.9 kB / 0.6917 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002358/0.2937, allocations: 1.127 MB / 0.6928 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.827e-05/0.2938, allocations: 62 kB / 0.6929 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.2939, allocations: 83.95 kB / 0.6929 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.2954, allocations: 0.8649 MB / 0.6938 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/0.2955, allocations: 3.984 kB / 0.6938 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.692e-05/0.2955, allocations: 36 kB / 0.6938 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.514e-05/0.2956, allocations: 23.94 kB / 0.6938 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.297, allocations: 0.8159 MB / 0.6946 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005588/0.3026, allocations: 3.553 MB / 0.6981 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/0.3038, allocations: 0.5759 MB / 0.6987 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005714/0.3043, allocations: 306.6 kB / 0.699 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002976/0.3073, allocations: 1.303 MB / 0.7002 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.047e-05/0.3074, allocations: 39.22 kB / 0.7003 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=73): time 2.084e-06/0.3074, allocations: 0 / 0.7003 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of matching and sorting (n=73): time 0.002807/0.3102, allocations: 1.092 MB / 0.7013 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.3102, allocations: 60 kB / 0.7014 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002038/0.3123, allocations: 1.341 MB / 0.7027 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.127e-05/0.3123, allocations: 37.7 kB / 0.7027 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006362/0.313, allocations: 0.6362 MB / 0.7034 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002594/0.3132, allocations: 253.8 kB / 0.7036 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002407/0.3135, allocations: 154.5 kB / 0.7038 GB, free: 404 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.3136, allocations: 333.9 kB / 0.7041 GB, free: 64 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004548/0.3141, allocations: 209.9 kB / 0.7043 GB, free: 15.86 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005378/0.3146, allocations: 314.2 kB / 0.7046 GB, free: 15.52 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.3157, allocations: 0.5381 MB / 0.7051 GB, free: 14.96 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.3157, allocations: 4 kB / 0.7051 GB, free: 14.96 MB / 0.545 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001741/0.3174, allocations: 0.8298 MB / 0.7059 GB, free: 14.11 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.344e-05/0.3174, allocations: 7.938 kB / 0.7059 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.3174, allocations: 7.938 kB / 0.7059 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005174/0.318, allocations: 109.6 kB / 0.706 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005636/0.3185, allocations: 143.9 kB / 0.7062 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003062/0.3216, allocations: 3.013 MB / 0.7091 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007221/0.3223, allocations: 63.52 kB / 0.7092 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.462e-05/0.3224, allocations: 31.98 kB / 0.7092 GB, free: 10.51 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.0006751/0.3231, allocations: 325.6 kB / 0.7095 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002834/0.3234, allocations: 158.9 kB / 0.7097 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002329/0.3257, allocations: 1.155 MB / 0.7108 GB, free: 8.848 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.3257, allocations: 8 kB / 0.7108 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3257, allocations: 0 / 0.7108 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/0.3257, allocations: 3.984 kB / 0.7108 GB, free: 8.836 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003687/0.3294, allocations: 1.987 MB / 0.7127 GB, free: 6.777 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.3294, allocations: 4 kB / 0.7128 GB, free: 6.773 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004583/0.3299, allocations: 120 kB / 0.7129 GB, free: 6.656 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003846/0.3302, allocations: 109.5 kB / 0.713 GB, free: 6.543 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.498e-05/0.3303, allocations: 23.98 kB / 0.713 GB, free: 6.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003035/0.3333, allocations: 3.009 MB / 0.7159 GB, free: 3.281 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.3333, allocations: 7.969 kB / 0.7159 GB, free: 3.273 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002383/0.3357, allocations: 1.23 MB / 0.7171 GB, free: 2.008 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006218/0.3363, allocations: 276.6 kB / 0.7174 GB, free: 1.734 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001458/0.3365, allocations: 19.94 kB / 0.7174 GB, free: 1.715 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004438/0.3369, allocations: 27.98 kB / 0.7175 GB, free: 1.688 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.3371, allocations: 60.48 kB / 0.7175 GB, free: 1.629 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.776e-05/0.3371, allocations: 32.05 kB / 0.7175 GB, free: 1.598 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001451/0.3386, allocations: 0.9545 MB / 0.7185 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3386, allocations: 0 / 0.7185 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001419/0.34, allocations: 427 kB / 0.7189 GB, free: 236 kB / 0.545 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.004673/0.3447, allocations: 2.431 MB / 0.7213 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001822/0.3465, allocations: 0.8033 MB / 0.722 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.3465, allocations: 0 / 0.722 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009965/0.3475, allocations: 0.56 MB / 0.7226 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002121/0.3496, allocations: 410.5 kB / 0.723 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01624/0.3658, allocations: 9.172 MB / 0.7319 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00111/0.367, allocations: 1.212 MB / 0.7331 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001045/0.368, allocations: 246.9 kB / 0.7334 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008039/0.3688, allocations: 0.5657 MB / 0.7339 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of SimCode: time 2.064e-06/0.3688, allocations: 0 / 0.7339 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5469/0.9157, allocations: 35.17 MB / 0.7683 GB, free: 110.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.13/16.05, allocations: 7.422 kB / 0.7683 GB, free: 110.7 MB / 0.5762 GB " [Timeout remaining time 644] (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.sim & python3 -m fmpy simulate --output-file ThermofluidStream_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_ThermofluidStream_FlowControl_Tests_SpecificValveType.fmu > ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_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_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_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.csv. Warning: Get data of variable Time from file ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.csv failed! Error: Could not read variable source.outlet.m_flow in file ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.csv. Warning: Get data of variable source.outlet.m_flow from file ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.csv failed! Error: Could not read variable source1.outlet.m_flow in file ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.csv. Warning: Get data of variable source1.outlet.m_flow from file ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 20.680272760000662]