Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.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.0008219/0.0008219, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.000802/0.000802, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8901/0.8901, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6237/0.6237, allocations: 116 MB / 375.2 MB, free: 4.188 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.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.Boundaries.Tests.SourceSink,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Boundaries_Tests_SourceSink",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.SourceSink,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Boundaries_Tests_SourceSink",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.5532 GB, free: 13.34 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.921e-05/2.076e-05, allocations: 4.953 kB / 0.5533 GB, free: 13.34 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.3624/0.3625, allocations: 122.7 MB / 0.6731 GB, free: 7.172 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001304/0.3638, allocations: 1.456 MB / 0.6745 GB, free: 7.055 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002439/0.364, allocations: 32.5 kB / 0.6746 GB, free: 7.035 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0004748/0.3645, allocations: 125.7 kB / 0.6747 GB, free: 6.996 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0004706/0.365, allocations: 227.7 kB / 0.6749 GB, free: 6.965 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004087/0.3654, allocations: 209.6 kB / 0.6751 GB, free: 6.945 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0004824/0.3659, allocations: 440.2 kB / 0.6755 GB, free: 6.945 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.366, allocations: 43.44 kB / 0.6756 GB, free: 6.934 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000624/0.3666, allocations: 307.8 kB / 0.6759 GB, free: 6.914 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001975/0.3668, allocations: 110 kB / 0.676 GB, free: 6.914 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.82e-05/0.3669, allocations: 10.41 kB / 0.676 GB, free: 6.914 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000424/0.3673, allocations: 214.9 kB / 0.6762 GB, free: 6.91 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 6.771e-05/0.3673, allocations: 35.92 kB / 0.6762 GB, free: 6.91 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 9.127e-05/0.3674, allocations: 68.94 kB / 0.6763 GB, free: 6.91 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0005399/0.368, allocations: 344.2 kB / 0.6766 GB, free: 6.879 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.368, allocations: 4.625 kB / 0.6766 GB, free: 6.875 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.753e-06/0.368, allocations: 0 / 0.6766 GB, free: 6.875 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.368, allocations: 0.5312 kB / 0.6766 GB, free: 6.875 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006775/0.3687, allocations: 0.5116 MB / 0.6771 GB, free: 6.488 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.3687, allocations: 12.77 kB / 0.6771 GB, free: 6.488 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.455e-05/0.3688, allocations: 47.55 kB / 0.6772 GB, free: 6.449 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.893e-05/0.3688, allocations: 37.08 kB / 0.6772 GB, free: 6.43 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00051/0.3693, allocations: 330.7 kB / 0.6775 GB, free: 6.234 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.3693, allocations: 8.922 kB / 0.6775 GB, free: 6.234 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.109e-05/0.3694, allocations: 11.06 kB / 0.6775 GB, free: 6.234 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000223/0.3696, allocations: 147.6 kB / 0.6777 GB, free: 6.168 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.3696, allocations: 3.875 kB / 0.6777 GB, free: 6.168 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.3696, allocations: 9.094 kB / 0.6777 GB, free: 6.164 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.3696, allocations: 2.719 kB / 0.6777 GB, free: 6.164 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.3698, allocations: 76.66 kB / 0.6778 GB, free: 6.156 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007147/0.3705, allocations: 0.6919 MB / 0.6784 GB, free: 5.641 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.3706, allocations: 71.55 kB / 0.6785 GB, free: 5.59 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.705e-05/0.3707, allocations: 36.97 kB / 0.6785 GB, free: 5.574 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.525e-05/0.3708, allocations: 6.25 kB / 0.6785 GB, free: 5.574 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.3708, allocations: 42.56 kB / 0.6786 GB, free: 5.531 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 2.114e-06/0.3708, allocations: 1.594 kB / 0.6786 GB, free: 5.531 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.0004792/0.3713, allocations: 189.8 kB / 0.6788 GB, free: 5.453 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.3713, allocations: 82.09 kB / 0.6788 GB, free: 5.359 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/0.3715, allocations: 340.3 kB / 0.6792 GB, free: 5.25 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.523e-06/0.3716, allocations: 26.7 kB / 0.6792 GB, free: 5.219 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.032e-05/0.3716, allocations: 170.8 kB / 0.6794 GB, free: 5.137 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.3716, allocations: 30.23 kB / 0.6794 GB, free: 5.117 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.796e-05/0.3717, allocations: 27.2 kB / 0.6794 GB, free: 5.098 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.403e-05/0.3717, allocations: 350.5 kB / 0.6798 GB, free: 4.781 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.239e-05/0.3718, allocations: 23 kB / 0.6798 GB, free: 4.777 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.971e-05/0.3718, allocations: 45.02 kB / 0.6798 GB, free: 4.746 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.589e-05/0.3719, allocations: 70.58 kB / 0.6799 GB, free: 4.711 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3719, allocations: 1.438 kB / 0.6799 GB, free: 4.711 MB / 0.5573 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001797/0.3721, allocations: 163.6 kB / 0.68 GB, free: 4.637 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.3721, allocations: 5.594 kB / 0.68 GB, free: 4.637 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.3721, allocations: 0 / 0.68 GB, free: 4.637 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001533/0.3722, allocations: 46.62 kB / 0.6801 GB, free: 4.613 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.391e-05/0.3723, allocations: 15.52 kB / 0.6801 GB, free: 4.609 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009915/0.3733, allocations: 2.55 MB / 0.6826 GB, free: 2.156 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.807e-05/0.3734, allocations: 11.27 kB / 0.6826 GB, free: 2.148 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.3734, allocations: 5.531 kB / 0.6826 GB, free: 2.148 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 6 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.629e-05/0.3735, allocations: 134.4 kB / 0.6827 GB, free: 2.031 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.315e-05/0.3735, allocations: 37.27 kB / 0.6828 GB, free: 2.012 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002199/0.3737, allocations: 155.1 kB / 0.6829 GB, free: 1.93 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.3737, allocations: 5.719 kB / 0.6829 GB, free: 1.926 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.3737, allocations: 1.531 kB / 0.6829 GB, free: 1.926 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3737, allocations: 0 / 0.6829 GB, free: 1.926 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003613/0.3741, allocations: 0.4949 MB / 0.6834 GB, free: 1.547 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.3741, allocations: 1.5 kB / 0.6834 GB, free: 1.547 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.776e-06/0.3741, allocations: 2.5 kB / 0.6834 GB, free: 1.547 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.623e-05/0.3742, allocations: 41.67 kB / 0.6835 GB, free: 1.527 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.3742, allocations: 10.8 kB / 0.6835 GB, free: 1.523 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001089/0.3753, allocations: 2.546 MB / 0.686 GB, free: 15.07 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3753, allocations: 1.031 kB / 0.686 GB, free: 15.07 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002235/0.3755, allocations: 345.2 kB / 0.6863 GB, free: 14.8 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.702e-05/0.3756, allocations: 34.83 kB / 0.6863 GB, free: 14.79 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.3756, allocations: 4.906 kB / 0.6863 GB, free: 14.79 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.91e-05/0.3757, allocations: 1.375 kB / 0.6863 GB, free: 14.79 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.655e-05/0.3757, allocations: 13.86 kB / 0.6863 GB, free: 14.78 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.3757, allocations: 1.375 kB / 0.6863 GB, free: 14.78 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001768/0.3759, allocations: 253.3 kB / 0.6866 GB, free: 14.7 MB / 0.573 GB Notification: Performance of sort global known variables: time 6e-08/0.3759, allocations: 4.125 kB / 0.6866 GB, free: 14.69 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0002969/0.3762, allocations: 49.95 kB / 0.6866 GB, free: 14.69 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (sink1.inlet.m_flow,sink.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 (4): * Single equations (assignments): 2 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005214/0.3767, allocations: 0.9211 MB / 0.6875 GB, free: 13.88 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0003147/0.377, allocations: 293.5 kB / 0.6878 GB, free: 13.64 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.377, allocations: 4 kB / 0.6878 GB, free: 13.64 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.3771, allocations: 252.6 kB / 0.6881 GB, free: 13.42 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005132/0.3777, allocations: 99.94 kB / 0.6881 GB, free: 13.41 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002261/0.3799, allocations: 2.662 MB / 0.6907 GB, free: 11.77 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001218/0.38, allocations: 155.5 kB / 0.6909 GB, free: 11.69 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001062/0.3801, allocations: 33.55 kB / 0.6909 GB, free: 11.68 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.148e-05/0.3802, allocations: 92 kB / 0.691 GB, free: 11.68 MB / 0.573 GB Notification: Performance of SimCode: time 9.61e-07/0.3802, allocations: 0 / 0.691 GB, free: 11.68 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02773/0.4079, allocations: 8.627 MB / 0.6994 GB, free: 9.812 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.287/7.695, allocations: 11.97 kB / 0.6995 GB, free: 9.809 MB / 0.573 GB " [Timeout remaining time 652] (rm -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink_res.csv --start-time 0 --stop-time 1 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ThermofluidStream_dev_ThermofluidStream_Boundaries_Tests_SourceSink.fmu > ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.SourceSink_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink_res.csv. Warning: Get data of variable Time from file ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink_res.csv failed! Error: Could not read variable source.outlet.m_flow in file ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink_res.csv. Warning: Get data of variable source.outlet.m_flow from file ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink_res.csv failed! Error: Could not read variable source1.outlet.m_flow in file ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink_res.csv. Warning: Get data of variable source1.outlet.m_flow from file ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.236203051172197]