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.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.001596/0.001596, allocations: 114 kB / 18.14 MB, free: 3.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.00167/0.00167, allocations: 201.2 kB / 21.43 MB, free: 0.5 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.782/1.782, allocations: 225.6 MB / 250.2 MB, free: 13.26 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 1.038/1.038, allocations: 94.61 MB / 400 MB, free: 15.72 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-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.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: Performance of FrontEnd - loaded program: time 0.002516/0.002516, allocations: 80.69 kB / 0.5457 GB, free: 42.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1918, allocations: 71.84 MB / 0.6158 GB, free: 8.957 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.7704/0.9622, allocations: 165.4 MB / 0.7774 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01786/0.98, allocations: 13.08 MB / 0.7901 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002163/0.9822, allocations: 44.16 kB / 0.7902 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003038/0.9852, allocations: 0.5903 MB / 0.7908 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00425/0.9895, allocations: 0.8916 MB / 0.7916 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003443/0.9929, allocations: 0.8255 MB / 0.7924 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002793/0.9957, allocations: 1.365 MB / 0.7938 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006745/0.9964, allocations: 198.5 kB / 0.794 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001778/0.9982, allocations: 0.5672 MB / 0.7945 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001356/0.9995, allocations: 0.6801 MB / 0.7952 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003634/0.9999, allocations: 74.91 kB / 0.7952 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00399/1.004, allocations: 1.404 MB / 0.7966 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003603/1.004, allocations: 202.1 kB / 0.7968 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009165/1.005, allocations: 0.5093 MB / 0.7973 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005283/1.01, allocations: 1.586 MB / 0.7989 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/1.01, allocations: 3.969 kB / 0.7989 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.434e-06/1.01, allocations: 0 / 0.7989 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.238e-05/1.01, allocations: 0 / 0.7989 GB, free: 1.684 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.003694/1.014, allocations: 1.463 MB / 0.8003 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.543e-05/1.014, allocations: 12.28 kB / 0.8003 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001764/1.014, allocations: 114.4 kB / 0.8004 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003186/1.015, allocations: 130 kB / 0.8005 GB, free: 16.74 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001631/1.016, allocations: 0.7932 MB / 0.8013 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.833e-05/1.016, allocations: 53.88 kB / 0.8014 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.841e-05/1.017, allocations: 71.39 kB / 0.8014 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/1.018, allocations: 0.7321 MB / 0.8021 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/1.018, allocations: 3.094 kB / 0.8021 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.338e-05/1.018, allocations: 30.75 kB / 0.8022 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/1.018, allocations: 15.91 kB / 0.8022 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/1.019, allocations: 0.632 MB / 0.8028 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004337/1.023, allocations: 3.105 MB / 0.8058 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/1.024, allocations: 0.5375 MB / 0.8064 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003737/1.025, allocations: 230.1 kB / 0.8066 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003241/1.028, allocations: 2.583 MB / 0.8091 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/1.028, allocations: 44.72 kB / 0.8092 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=55): time 2.365e-06/1.028, allocations: 1 kB / 0.8092 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56): time 0.003834/1.032, allocations: 1.794 MB / 0.8109 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.602e-05/1.032, allocations: 60.22 kB / 0.811 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/1.033, allocations: 0.6946 MB / 0.8116 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.935e-05/1.033, allocations: 36.7 kB / 0.8117 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000527/1.034, allocations: 450.8 kB / 0.8121 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001908/1.034, allocations: 205.6 kB / 0.8123 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001635/1.034, allocations: 93.89 kB / 0.8124 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001821/1.034, allocations: 324.4 kB / 0.8127 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003527/1.035, allocations: 165.5 kB / 0.8129 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004545/1.035, allocations: 228.3 kB / 0.8131 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009268/1.036, allocations: 426.2 kB / 0.8135 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/1.036, allocations: 3.25 kB / 0.8135 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001516/1.037, allocations: 0.6531 MB / 0.8141 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/1.037, allocations: 4.719 kB / 0.8141 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/1.037, allocations: 3.656 kB / 0.8141 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000552/1.038, allocations: 108.1 kB / 0.8142 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003631/1.038, allocations: 98.19 kB / 0.8143 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003078/1.041, allocations: 2.056 MB / 0.8163 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005562/1.042, allocations: 18.36 kB / 0.8164 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.514e-05/1.042, allocations: 23.91 kB / 0.8164 GB, free: 7.934 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.0004612/1.043, allocations: 209.8 kB / 0.8166 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001811/1.043, allocations: 96.55 kB / 0.8167 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001845/1.045, allocations: 0.859 MB / 0.8175 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/1.045, allocations: 8.062 kB / 0.8175 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/1.045, allocations: 2.719 kB / 0.8175 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/1.045, allocations: 9.781 kB / 0.8175 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003073/1.048, allocations: 1.526 MB / 0.819 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/1.048, allocations: 0.875 kB / 0.819 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003732/1.048, allocations: 91.38 kB / 0.8191 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005741/1.049, allocations: 118.4 kB / 0.8192 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.078e-05/1.049, allocations: 19.83 kB / 0.8192 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002941/1.052, allocations: 2.057 MB / 0.8212 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-05/1.052, allocations: 3.625 kB / 0.8212 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002408/1.054, allocations: 0.9763 MB / 0.8222 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000506/1.055, allocations: 162.7 kB / 0.8224 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001663/1.055, allocations: 13.12 kB / 0.8224 GB, free: 4.066 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003194/1.055, allocations: 18.27 kB / 0.8224 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/1.055, allocations: 49.92 kB / 0.8224 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.71e-05/1.055, allocations: 20.88 kB / 0.8225 GB, free: 4.043 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008777/1.056, allocations: 0.5091 MB / 0.823 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/1.056, allocations: 0.9062 kB / 0.823 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001248/1.057, allocations: 330.8 kB / 0.8233 GB, free: 3.75 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.003469/1.061, allocations: 1.91 MB / 0.8251 GB, free: 2.637 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001565/1.062, allocations: 0.5866 MB / 0.8257 GB, free: 2.371 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.247e-05/1.062, allocations: 0.5938 kB / 0.8257 GB, free: 2.371 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009434/1.063, allocations: 427.9 kB / 0.8261 GB, free: 2.16 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001651/1.065, allocations: 265.4 kB / 0.8264 GB, free: 2.082 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01316/1.078, allocations: 6.317 MB / 0.8325 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007883/1.079, allocations: 1.005 MB / 0.8335 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008658/1.08, allocations: 148.5 kB / 0.8337 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005899/1.08, allocations: 378.4 kB / 0.834 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of SimCode: time 1.803e-06/1.08, allocations: 0 / 0.834 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08518/1.166, allocations: 25.96 MB / 0.8594 GB, free: 4.664 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.61/14.78, allocations: 7.703 kB / 0.8594 GB, free: 4.66 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_2/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.419420613441616]