Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001328/0.001328, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001532/0.001532, allocations: 216.8 kB / 22.26 MB, free: 5.082 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.512/1.512, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.7737/0.7737, allocations: 94.55 MB / 407 MB, free: 9.195 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/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_ThermofluidStream_Boundaries_Tests_SourceSink",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.SourceSink,fileNamePrefix="ThermofluidStream_ThermofluidStream_Boundaries_Tests_SourceSink",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.002567/0.002567, allocations: 78.8 kB / 0.5549 GB, free: 38.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1334, allocations: 73.06 MB / 0.6263 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.5291/0.6624, allocations: 141.1 MB / 0.7641 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003053/0.6655, allocations: 3.379 MB / 0.7674 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004/0.6659, allocations: 30.06 kB / 0.7674 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005679/0.6665, allocations: 137.5 kB / 0.7676 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000546/0.667, allocations: 208.8 kB / 0.7678 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005044/0.6675, allocations: 203.6 kB / 0.768 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003971/0.6679, allocations: 399.8 kB / 0.7683 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.668, allocations: 37.23 kB / 0.7684 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004832/0.6685, allocations: 240.7 kB / 0.7686 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001703/0.6687, allocations: 120.2 kB / 0.7687 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.6687, allocations: 11.75 kB / 0.7687 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004708/0.6692, allocations: 268.6 kB / 0.769 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.425e-05/0.6692, allocations: 37.62 kB / 0.769 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.227e-05/0.6693, allocations: 110.1 kB / 0.7691 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004721/0.6698, allocations: 346.8 kB / 0.7695 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.6698, allocations: 3.375 kB / 0.7695 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.552e-06/0.6698, allocations: 0 / 0.7695 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.6698, allocations: 1.203 kB / 0.7695 GB, free: 2.117 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0008077/0.6706, allocations: 0.5013 MB / 0.7699 GB, free: 17.74 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.6707, allocations: 10.62 kB / 0.77 GB, free: 17.74 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.004e-05/0.6707, allocations: 47.03 kB / 0.77 GB, free: 17.7 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.6e-05/0.6707, allocations: 34.94 kB / 0.77 GB, free: 17.68 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005494/0.6713, allocations: 310.3 kB / 0.7703 GB, free: 17.5 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.6713, allocations: 10.77 kB / 0.7703 GB, free: 17.5 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.6713, allocations: 12.22 kB / 0.7704 GB, free: 17.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.6715, allocations: 156.9 kB / 0.7705 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.6715, allocations: 0.5 kB / 0.7705 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.6716, allocations: 0 / 0.7705 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.6716, allocations: 5.25 kB / 0.7705 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.6717, allocations: 73.59 kB / 0.7706 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007758/0.6725, allocations: 0.7114 MB / 0.7713 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.6726, allocations: 75.34 kB / 0.7713 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.779e-05/0.6726, allocations: 35.31 kB / 0.7714 GB, free: 16.85 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.267e-05/0.6727, allocations: 8.672 kB / 0.7714 GB, free: 16.85 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.6727, allocations: 45.23 kB / 0.7714 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.6727, allocations: 0 / 0.7714 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0006205/0.6733, allocations: 181.1 kB / 0.7716 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/0.6734, allocations: 84.84 kB / 0.7717 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003464/0.6737, allocations: 335.8 kB / 0.772 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.6738, allocations: 29.77 kB / 0.772 GB, free: 16.49 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.6739, allocations: 164 kB / 0.7722 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/0.6739, allocations: 32.33 kB / 0.7722 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.674, allocations: 22.7 kB / 0.7722 GB, free: 16.37 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.6741, allocations: 346.3 kB / 0.7726 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.758e-05/0.6742, allocations: 19.39 kB / 0.7726 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.903e-05/0.6742, allocations: 52.88 kB / 0.7726 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.6743, allocations: 68.81 kB / 0.7727 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.6743, allocations: 3.688 kB / 0.7727 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002903/0.6746, allocations: 152.7 kB / 0.7729 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.6746, allocations: 16.08 kB / 0.7729 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.6747, allocations: 5 kB / 0.7729 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002114/0.6749, allocations: 39.62 kB / 0.7729 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.855e-05/0.6749, allocations: 9 kB / 0.7729 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002054/0.677, allocations: 2.557 MB / 0.7754 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.6771, allocations: 14.97 kB / 0.7754 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.6771, allocations: 4.719 kB / 0.7754 GB, free: 13.45 MB / 0.5919 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 0.0001516/0.6773, allocations: 144.5 kB / 0.7756 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.2e-05/0.6773, allocations: 34.28 kB / 0.7756 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003276/0.6777, allocations: 151.7 kB / 0.7758 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.6777, allocations: 1.719 kB / 0.7758 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.89e-05/0.6777, allocations: 1.156 kB / 0.7758 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.6777, allocations: 4.562 kB / 0.7758 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006343/0.6783, allocations: 0.5078 MB / 0.7763 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.6783, allocations: 0.5938 kB / 0.7763 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.176e-05/0.6783, allocations: 9.984 kB / 0.7763 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001355/0.6785, allocations: 44.38 kB / 0.7763 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.6785, allocations: 5.156 kB / 0.7763 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001982/0.6805, allocations: 2.554 MB / 0.7788 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.6805, allocations: 2.688 kB / 0.7788 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004357/0.6809, allocations: 338.9 kB / 0.7791 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.092e-05/0.681, allocations: 34.09 kB / 0.7792 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.356e-05/0.681, allocations: 7.391 kB / 0.7792 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.6812, allocations: 4.812 kB / 0.7792 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-05/0.6812, allocations: 16.52 kB / 0.7792 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.6812, allocations: 2.438 kB / 0.7792 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003131/0.6815, allocations: 243.7 kB / 0.7794 GB, free: 10 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6815, allocations: 1.828 kB / 0.7794 GB, free: 10 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004781/0.682, allocations: 45.53 kB / 0.7795 GB, free: 9.996 MB / 0.5919 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.0009036/0.6829, allocations: 0.9282 MB / 0.7804 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004991/0.6834, allocations: 282 kB / 0.7806 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.6834, allocations: 1.406 kB / 0.7806 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002785/0.6837, allocations: 252 kB / 0.7809 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006383/0.6843, allocations: 65.84 kB / 0.781 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003332/0.6876, allocations: 2.689 MB / 0.7836 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004353/0.6881, allocations: 0.757 MB / 0.7843 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001173/0.6882, allocations: 35.98 kB / 0.7844 GB, free: 6.383 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.6883, allocations: 89.05 kB / 0.7844 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of SimCode: time 8.01e-07/0.6883, allocations: 0 / 0.7844 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04315/0.7315, allocations: 6.981 MB / 0.7913 GB, free: 5.516 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.41, allocations: 9.344 kB / 0.7913 GB, free: 5.516 MB / 0.5919 GB " [Timeout remaining time 647] (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.sim & python3 -m fmpy simulate --output-file ThermofluidStream_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_ThermofluidStream_Boundaries_Tests_SourceSink.fmu > ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.SourceSink_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_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_ThermofluidStream.Boundaries.Tests.SourceSink_res.csv. Warning: Get data of variable Time from file ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink_res.csv failed! Error: Could not read variable source.outlet.m_flow in file ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink_res.csv. Warning: Get data of variable source.outlet.m_flow from file ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink_res.csv failed! Error: Could not read variable source1.outlet.m_flow in file ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink_res.csv. Warning: Get data of variable source1.outlet.m_flow from file ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.164695938001387]