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.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.001697/0.001697, allocations: 112.8 kB / 16.41 MB, free: 6.48 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.001971/0.001971, allocations: 191.7 kB / 19.35 MB, free: 3.73 MB / 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.787/1.787, allocations: 222.9 MB / 245.1 MB, free: 15 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 0.9861/0.9861, allocations: 93.73 MB / 391 MB, free: 4.605 MB / 302.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.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: Performance of FrontEnd - loaded program: time 0.002617/0.002617, allocations: 83.25 kB / 0.5285 GB, free: 40.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1651, allocations: 68.28 MB / 0.5951 GB, free: 8.086 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.04643/0.2117, allocations: 37.01 MB / 0.6313 GB, free: 2.93 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02528/0.237, allocations: 14.89 MB / 0.6458 GB, free: 3.996 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001836/0.2389, allocations: 47.69 kB / 0.6459 GB, free: 3.949 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002419/0.2413, allocations: 0.9523 MB / 0.6468 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004355/0.2457, allocations: 1.305 MB / 0.6481 GB, free: 1.68 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003619/0.2494, allocations: 1.037 MB / 0.6491 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003042/0.2524, allocations: 1.918 MB / 0.651 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006856/0.2532, allocations: 338.8 kB / 0.6513 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002093/0.2553, allocations: 0.9418 MB / 0.6522 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001048/0.2563, allocations: 0.7035 MB / 0.6529 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001671/0.2565, allocations: 92 kB / 0.653 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002923/0.2594, allocations: 0.8585 MB / 0.6538 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003789/0.2598, allocations: 326.6 kB / 0.6541 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001072/0.2609, allocations: 0.7221 MB / 0.6548 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005863/0.2668, allocations: 2.101 MB / 0.6569 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.2668, allocations: 0 / 0.6569 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.525e-06/0.2668, allocations: 0 / 0.6569 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.245e-05/0.2669, allocations: 0 / 0.6569 GB, free: 8.609 MB / 0.4981 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.004277/0.2712, allocations: 2.089 MB / 0.6589 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.2712, allocations: 12.03 kB / 0.6589 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001644/0.2714, allocations: 135.1 kB / 0.6591 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003483/0.2717, allocations: 194.9 kB / 0.6593 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002282/0.274, allocations: 1.222 MB / 0.6605 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.993e-05/0.2741, allocations: 62 kB / 0.6605 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002413/0.2743, allocations: 83.95 kB / 0.6606 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001813/0.2762, allocations: 0.8532 MB / 0.6614 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.96e-05/0.2762, allocations: 4 kB / 0.6614 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-05/0.2763, allocations: 35.98 kB / 0.6615 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.708e-05/0.2763, allocations: 23.94 kB / 0.6615 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001624/0.278, allocations: 0.7964 MB / 0.6623 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005813/0.2838, allocations: 3.595 MB / 0.6658 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001229/0.2851, allocations: 0.6228 MB / 0.6664 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007341/0.2858, allocations: 346.6 kB / 0.6667 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004666/0.2905, allocations: 3.4 MB / 0.67 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001141/0.2907, allocations: 47.22 kB / 0.6701 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=73): time 2.815e-06/0.2907, allocations: 0 / 0.6701 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=73): time 0.003156/0.2939, allocations: 1.239 MB / 0.6713 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.931e-05/0.294, allocations: 68 kB / 0.6714 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002246/0.2962, allocations: 1.328 MB / 0.6726 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.532e-05/0.2963, allocations: 37.7 kB / 0.6727 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005651/0.2969, allocations: 0.6283 MB / 0.6733 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003461/0.2972, allocations: 257.7 kB / 0.6735 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002279/0.2974, allocations: 142.6 kB / 0.6737 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.2976, allocations: 334 kB / 0.674 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004708/0.2981, allocations: 213.9 kB / 0.6742 GB, free: 5.766 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000656/0.2988, allocations: 310.2 kB / 0.6745 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.2999, allocations: 0.5459 MB / 0.675 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.748e-06/0.2999, allocations: 0 / 0.675 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001928/0.3018, allocations: 0.8336 MB / 0.6758 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.3019, allocations: 7.938 kB / 0.6759 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.3019, allocations: 4 kB / 0.6759 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007884/0.3027, allocations: 109.8 kB / 0.676 GB, free: 3.898 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000642/0.3033, allocations: 139.8 kB / 0.6761 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003341/0.3067, allocations: 3.216 MB / 0.6792 GB, free: 268 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009411/0.3077, allocations: 59.55 kB / 0.6793 GB, free: 208 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.853e-05/0.3078, allocations: 31.98 kB / 0.6793 GB, free: 176 kB / 0.5137 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.0008152/0.3086, allocations: 329.7 kB / 0.6796 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000293/0.3089, allocations: 162.8 kB / 0.6798 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002528/0.3115, allocations: 1.14 MB / 0.6809 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-05/0.3115, allocations: 12 kB / 0.6809 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.3115, allocations: 4 kB / 0.6809 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/0.3116, allocations: 3.984 kB / 0.6809 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003868/0.3154, allocations: 2.015 MB / 0.6829 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.3155, allocations: 0 / 0.6829 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004732/0.316, allocations: 119.9 kB / 0.683 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004398/0.3164, allocations: 113.7 kB / 0.6831 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.798e-05/0.3165, allocations: 27.98 kB / 0.6831 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003354/0.3198, allocations: 3.212 MB / 0.6863 GB, free: 8.648 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.3199, allocations: 4.031 kB / 0.6863 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002605/0.3225, allocations: 1.233 MB / 0.6875 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009841/0.3235, allocations: 347.7 kB / 0.6878 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001684/0.3237, allocations: 24.05 kB / 0.6878 GB, free: 6.988 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004482/0.3241, allocations: 20 kB / 0.6879 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000185/0.3243, allocations: 64.5 kB / 0.6879 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.635e-05/0.3244, allocations: 23.98 kB / 0.6879 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001883/0.3263, allocations: 0.9462 MB / 0.6889 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3263, allocations: 0 / 0.6889 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001806/0.3281, allocations: 423 kB / 0.6893 GB, free: 5.527 MB / 0.5294 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.006089/0.3342, allocations: 2.438 MB / 0.6917 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002365/0.3366, allocations: 0.831 MB / 0.6925 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/0.3366, allocations: 0 / 0.6925 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001267/0.3379, allocations: 0.5789 MB / 0.693 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00336/0.3413, allocations: 405.2 kB / 0.6934 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02334/0.3646, allocations: 9.133 MB / 0.7023 GB, free: 8.008 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001305/0.366, allocations: 1.202 MB / 0.7035 GB, free: 6.777 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0009564/0.367, allocations: 242.2 kB / 0.7037 GB, free: 6.555 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001005/0.368, allocations: 0.5539 MB / 0.7043 GB, free: 6 MB / 0.545 GB Notification: Performance of SimCode: time 1.523e-06/0.368, allocations: 4 kB / 0.7043 GB, free: 5.996 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09224/0.4603, allocations: 34.33 MB / 0.7378 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.09/14.55, allocations: 12.05 kB / 0.7378 GB, free: 3.855 MB / 0.5762 GB " [Timeout remaining time 645] (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_2/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: 19.588130939984694]