Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.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.00146/0.00146, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001981/0.001981, allocations: 212.4 kB / 22.24 MB, free: 5.262 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.689/1.689, allocations: 230.6 MB / 256 MB, free: 7.777 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 1.086/1.086, allocations: 100.9 MB / 413.3 MB, free: 2.859 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.TanValve,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_TanValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.TanValve,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_TanValve",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.003458/0.003458, allocations: 87.08 kB / 0.5641 GB, free: 35.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2369, allocations: 74.62 MB / 0.6369 GB, free: 6.469 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.8473/1.084, allocations: 143 MB / 0.7766 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02056/1.105, allocations: 11.87 MB / 0.7881 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002292/1.107, allocations: 58.38 kB / 0.7882 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002292/1.109, allocations: 0.5083 MB / 0.7887 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00444/1.114, allocations: 0.8863 MB / 0.7896 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003693/1.118, allocations: 0.8088 MB / 0.7903 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002795/1.12, allocations: 1.37 MB / 0.7917 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005814/1.121, allocations: 197.1 kB / 0.7919 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00151/1.122, allocations: 0.585 MB / 0.7924 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001036/1.123, allocations: 0.6255 MB / 0.7931 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001568/1.124, allocations: 76.41 kB / 0.7931 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003462/1.127, allocations: 1.218 MB / 0.7943 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002396/1.127, allocations: 195.4 kB / 0.7945 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005955/1.128, allocations: 427.2 kB / 0.7949 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003232/1.131, allocations: 1.575 MB / 0.7964 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/1.131, allocations: 0.9375 kB / 0.7965 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.987e-06/1.131, allocations: 0 / 0.7965 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.286e-05/1.131, allocations: 0 / 0.7965 GB, free: 2.156 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.003261/1.134, allocations: 1.392 MB / 0.7978 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.972e-05/1.134, allocations: 13.25 kB / 0.7978 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000154/1.135, allocations: 114.3 kB / 0.7979 GB, free: 17.37 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002793/1.135, allocations: 130.7 kB / 0.7981 GB, free: 17.3 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001457/1.136, allocations: 0.7094 MB / 0.7987 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.704e-05/1.136, allocations: 52.31 kB / 0.7988 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/1.137, allocations: 75.45 kB / 0.7989 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/1.138, allocations: 0.7478 MB / 0.7996 GB, free: 16.94 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.469e-05/1.138, allocations: 0 / 0.7996 GB, free: 16.94 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.132e-05/1.138, allocations: 26.09 kB / 0.7996 GB, free: 16.94 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.181e-05/1.138, allocations: 16.98 kB / 0.7996 GB, free: 16.94 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001194/1.139, allocations: 0.6485 MB / 0.8003 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003639/1.143, allocations: 1.849 MB / 0.8021 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/1.144, allocations: 0.5207 MB / 0.8026 GB, free: 16.43 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004558/1.145, allocations: 221.7 kB / 0.8028 GB, free: 16.42 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00226/1.147, allocations: 0.9163 MB / 0.8037 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.183e-05/1.147, allocations: 38.53 kB / 0.8037 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=55): time 2.785e-06/1.147, allocations: 0 / 0.8037 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56): time 0.003984/1.151, allocations: 1.566 MB / 0.8053 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.993e-05/1.151, allocations: 58.56 kB / 0.8053 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/1.152, allocations: 0.6986 MB / 0.806 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.533e-05/1.152, allocations: 37.33 kB / 0.806 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004829/1.153, allocations: 449.5 kB / 0.8065 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001963/1.153, allocations: 201.1 kB / 0.8067 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001773/1.153, allocations: 87.75 kB / 0.8067 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002483/1.153, allocations: 327.3 kB / 0.8071 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003633/1.154, allocations: 163.8 kB / 0.8072 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004555/1.154, allocations: 227.8 kB / 0.8074 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007795/1.155, allocations: 432.2 kB / 0.8078 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/1.155, allocations: 1.062 kB / 0.8078 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001376/1.156, allocations: 0.6533 MB / 0.8085 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/1.156, allocations: 5.438 kB / 0.8085 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/1.156, allocations: 1 kB / 0.8085 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004767/1.157, allocations: 112.7 kB / 0.8086 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003887/1.157, allocations: 98.14 kB / 0.8087 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00266/1.16, allocations: 1.917 MB / 0.8106 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004316/1.16, allocations: 18.8 kB / 0.8106 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.404e-05/1.16, allocations: 21.19 kB / 0.8106 GB, free: 11.67 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004458/1.161, allocations: 208.9 kB / 0.8108 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002604/1.161, allocations: 104.6 kB / 0.8109 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001778/1.163, allocations: 0.8641 MB / 0.8117 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/1.163, allocations: 9.25 kB / 0.8117 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/1.163, allocations: 0 / 0.8117 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/1.163, allocations: 7.703 kB / 0.8118 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002753/1.166, allocations: 1.414 MB / 0.8131 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/1.166, allocations: 4.812 kB / 0.8131 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003325/1.166, allocations: 85.83 kB / 0.8132 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003936/1.166, allocations: 120.9 kB / 0.8133 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.46e-05/1.167, allocations: 23.33 kB / 0.8134 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002516/1.169, allocations: 1.924 MB / 0.8152 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.169, allocations: 0.9688 kB / 0.8152 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002051/1.171, allocations: 0.9876 MB / 0.8162 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002783/1.171, allocations: 81.8 kB / 0.8163 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.562e-05/1.171, allocations: 18.8 kB / 0.8163 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003065/1.172, allocations: 14.47 kB / 0.8163 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/1.172, allocations: 55.23 kB / 0.8164 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.778e-05/1.172, allocations: 20.56 kB / 0.8164 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008139/1.173, allocations: 0.5086 MB / 0.8169 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/1.173, allocations: 0 / 0.8169 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001313/1.174, allocations: 331.2 kB / 0.8172 GB, free: 7.785 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (flowResistance1.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 (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003613/1.178, allocations: 1.918 MB / 0.8191 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001677/1.179, allocations: 0.59 MB / 0.8196 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/1.179, allocations: 3.469 kB / 0.8196 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009003/1.18, allocations: 411.5 kB / 0.82 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001701/1.182, allocations: 275.9 kB / 0.8203 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01247/1.194, allocations: 6.319 MB / 0.8265 GB, free: 2.852 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005264/1.195, allocations: 412.2 kB / 0.8269 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006911/1.196, allocations: 153.3 kB / 0.827 GB, free: 2.668 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005999/1.196, allocations: 376.9 kB / 0.8274 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of SimCode: time 1.673e-06/1.196, allocations: 0 / 0.8274 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08795/1.284, allocations: 27.63 MB / 0.8544 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.84/15.12, allocations: 7.922 kB / 0.8544 GB, free: 13.29 MB / 0.6231 GB " [Timeout remaining time 645] (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve_res.csv --start-time 0 --stop-time 100 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_TanValve.fmu > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.TanValve_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.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.TanValve_res.csv. Warning: Get data of variable Time from file ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve_res.csv failed! Error: Could not read variable source.outlet.m_flow in file ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve_res.csv. Warning: Get data of variable source.outlet.m_flow from file ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve_res.csv failed! Error: Could not read variable tanValve.inlet.m_flow in file ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve_res.csv. Warning: Get data of variable tanValve.inlet.m_flow from file ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.79013774730265]