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.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.001413/0.001413, allocations: 108.3 kB / 17.54 MB, free: 4.781 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.001449/0.001449, allocations: 190.6 kB / 20.71 MB, free: 1.625 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.282/1.282, allocations: 225.6 MB / 249.3 MB, free: 3.332 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5546/0.5546, allocations: 94.58 MB / 399 MB, free: 15.83 MB / 334.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.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_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: Performance of FrontEnd - loaded program: time 0.002182/0.002182, allocations: 83.86 kB / 0.5442 GB, free: 12.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3147, allocations: 71.85 MB / 0.6144 GB, free: 3.852 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.03712/0.3518, allocations: 37.72 MB / 0.6512 GB, free: 8.512 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0171/0.3689, allocations: 15.06 MB / 0.6659 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001133/0.37, allocations: 51.81 kB / 0.666 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001796/0.3718, allocations: 0.9512 MB / 0.6669 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00296/0.3748, allocations: 1.339 MB / 0.6682 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002498/0.3773, allocations: 1.032 MB / 0.6692 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002216/0.3795, allocations: 1.925 MB / 0.6711 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003768/0.3799, allocations: 219.4 kB / 0.6713 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001529/0.3814, allocations: 1.052 MB / 0.6723 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008086/0.3822, allocations: 0.6963 MB / 0.673 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.3823, allocations: 94.25 kB / 0.6731 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002164/0.3845, allocations: 0.8857 MB / 0.674 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000323/0.3848, allocations: 333.2 kB / 0.6743 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000637/0.3855, allocations: 0.7166 MB / 0.675 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003031/0.3885, allocations: 2.117 MB / 0.677 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3885, allocations: 0 / 0.677 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3885, allocations: 0 / 0.677 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.614e-05/0.3885, allocations: 0 / 0.677 GB, free: 4.742 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.003239/0.3918, allocations: 2.086 MB / 0.6791 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.3918, allocations: 15.97 kB / 0.6791 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001437/0.3919, allocations: 127.1 kB / 0.6792 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002647/0.3922, allocations: 194.9 kB / 0.6794 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001842/0.394, allocations: 1.222 MB / 0.6806 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.607e-05/0.3941, allocations: 65.94 kB / 0.6807 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.3942, allocations: 83.95 kB / 0.6807 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/0.3956, allocations: 0.8532 MB / 0.6816 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.3956, allocations: 0 / 0.6816 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.563e-05/0.3956, allocations: 32 kB / 0.6816 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.834e-05/0.3957, allocations: 27.88 kB / 0.6816 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001359/0.397, allocations: 0.7925 MB / 0.6824 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004396/0.4014, allocations: 3.603 MB / 0.6859 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.4024, allocations: 0.5747 MB / 0.6865 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005114/0.4029, allocations: 302.7 kB / 0.6868 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003423/0.4064, allocations: 3.396 MB / 0.6901 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.4064, allocations: 43.16 kB / 0.6901 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=73): time 1.703e-06/0.4064, allocations: 0 / 0.6901 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of matching and sorting (n=73): time 0.002508/0.4089, allocations: 1.242 MB / 0.6913 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.4089, allocations: 64 kB / 0.6914 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001609/0.4105, allocations: 1.331 MB / 0.6927 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.916e-05/0.4106, allocations: 41.7 kB / 0.6927 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005065/0.4111, allocations: 0.6205 MB / 0.6933 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002007/0.4113, allocations: 265.7 kB / 0.6936 GB, free: 2.688 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002091/0.4115, allocations: 146.6 kB / 0.6937 GB, free: 2.535 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.4117, allocations: 326 kB / 0.694 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004204/0.4121, allocations: 213.9 kB / 0.6943 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005322/0.4126, allocations: 318.2 kB / 0.6946 GB, free: 1.664 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009966/0.4136, allocations: 0.5342 MB / 0.6951 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.4136, allocations: 4 kB / 0.6951 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00156/0.4152, allocations: 0.8336 MB / 0.6959 GB, free: 264 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.4152, allocations: 10.12 kB / 0.6959 GB, free: 256 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.4152, allocations: 4 kB / 0.6959 GB, free: 252 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004017/0.4156, allocations: 109.8 kB / 0.696 GB, free: 136 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005173/0.4161, allocations: 139.9 kB / 0.6961 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00282/0.4189, allocations: 3.204 MB / 0.6993 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004988/0.4194, allocations: 71.53 kB / 0.6993 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.017e-05/0.4195, allocations: 27.98 kB / 0.6994 GB, free: 12.41 MB / 0.5294 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.0004628/0.42, allocations: 329.5 kB / 0.6997 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002307/0.4202, allocations: 167 kB / 0.6998 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002058/0.4222, allocations: 1.132 MB / 0.7009 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.106e-06/0.4223, allocations: 8 kB / 0.701 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.4223, allocations: 0 / 0.701 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.888e-06/0.4223, allocations: 3.984 kB / 0.701 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003132/0.4254, allocations: 2.015 MB / 0.7029 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.4254, allocations: 0 / 0.7029 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004429/0.4258, allocations: 123.8 kB / 0.703 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003488/0.4262, allocations: 109.7 kB / 0.7032 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.92e-05/0.4263, allocations: 32.08 kB / 0.7032 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002804/0.4291, allocations: 3.208 MB / 0.7063 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.4291, allocations: 4.031 kB / 0.7063 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002147/0.4312, allocations: 1.237 MB / 0.7075 GB, free: 3.617 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000483/0.4317, allocations: 347.8 kB / 0.7079 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001542/0.4318, allocations: 15.94 kB / 0.7079 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004743/0.4323, allocations: 27.98 kB / 0.7079 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.4324, allocations: 60.58 kB / 0.708 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-05/0.4325, allocations: 27.98 kB / 0.708 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001285/0.4338, allocations: 0.9423 MB / 0.7089 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.4338, allocations: 0 / 0.7089 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001091/0.4349, allocations: 434.9 kB / 0.7093 GB, free: 1.766 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.00414/0.439, allocations: 2.423 MB / 0.7117 GB, free: 15.44 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001522/0.4405, allocations: 0.7993 MB / 0.7125 GB, free: 14.61 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4405, allocations: 384 / 0.7125 GB, free: 14.61 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008576/0.4414, allocations: 0.5477 MB / 0.713 GB, free: 14.04 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001637/0.443, allocations: 402.8 kB / 0.7134 GB, free: 13.66 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01349/0.4565, allocations: 9.11 MB / 0.7223 GB, free: 4.34 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008753/0.4574, allocations: 1.208 MB / 0.7235 GB, free: 3.102 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006964/0.4581, allocations: 242.9 kB / 0.7237 GB, free: 2.883 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007061/0.4588, allocations: 0.5539 MB / 0.7242 GB, free: 2.324 MB / 0.545 GB Notification: Performance of SimCode: time 5.21e-07/0.4588, allocations: 0 / 0.7242 GB, free: 2.324 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07666/0.5354, allocations: 34.57 MB / 0.758 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.23, allocations: 10.55 kB / 0.758 GB, free: 15.92 MB / 0.5919 GB " [Timeout remaining time 648] (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: 15.27183993899962]