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.001878/0.001878, allocations: 106.5 kB / 16.45 MB, free: 6.508 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.002362/0.002362, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.412/1.412, allocations: 230.6 MB / 252.8 MB, free: 9.113 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.7502/0.7502, allocations: 94.56 MB / 403.4 MB, free: 10.12 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.002315/0.002315, allocations: 81.05 kB / 0.5499 GB, free: 39.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1303, allocations: 73.02 MB / 0.6212 GB, free: 1.969 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.5006/0.6309, allocations: 141 MB / 0.7589 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002809/0.6337, allocations: 3.347 MB / 0.7622 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002425/0.6339, allocations: 34.62 kB / 0.7622 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004288/0.6344, allocations: 133.6 kB / 0.7623 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003975/0.6348, allocations: 207.6 kB / 0.7625 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003934/0.6352, allocations: 200.9 kB / 0.7627 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003191/0.6355, allocations: 387.5 kB / 0.7631 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.6356, allocations: 38.7 kB / 0.7631 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004/0.636, allocations: 236.7 kB / 0.7634 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.6361, allocations: 126.8 kB / 0.7635 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.6362, allocations: 11.16 kB / 0.7635 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003874/0.6365, allocations: 269.2 kB / 0.7637 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.285e-05/0.6366, allocations: 36.42 kB / 0.7638 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.031e-05/0.6367, allocations: 112.6 kB / 0.7639 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003996/0.6371, allocations: 336.7 kB / 0.7642 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.6371, allocations: 3.812 kB / 0.7642 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6371, allocations: 0 / 0.7642 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.6371, allocations: 1.203 kB / 0.7642 GB, free: 1.801 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.0007824/0.6379, allocations: 0.5789 MB / 0.7648 GB, free: 17.32 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.6379, allocations: 9.656 kB / 0.7648 GB, free: 17.32 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.961e-05/0.638, allocations: 44.92 kB / 0.7648 GB, free: 17.29 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.872e-05/0.638, allocations: 33.81 kB / 0.7649 GB, free: 17.27 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005069/0.6385, allocations: 384.8 kB / 0.7652 GB, free: 17.03 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.6385, allocations: 13.7 kB / 0.7652 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.439e-05/0.6386, allocations: 12.38 kB / 0.7653 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.6388, allocations: 148.5 kB / 0.7654 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.6388, allocations: 0 / 0.7654 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.6388, allocations: 4.438 kB / 0.7654 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.6388, allocations: 2.656 kB / 0.7654 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.6389, allocations: 74.55 kB / 0.7655 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006921/0.6396, allocations: 0.7449 MB / 0.7662 GB, free: 16.42 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.6397, allocations: 73.09 kB / 0.7663 GB, free: 16.37 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.066e-05/0.6397, allocations: 40.92 kB / 0.7663 GB, free: 16.35 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001518/0.6399, allocations: 161.9 kB / 0.7665 GB, free: 16.16 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.6399, allocations: 36.59 kB / 0.7665 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.6399, allocations: 0 / 0.7665 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0006539/0.6406, allocations: 341.7 kB / 0.7668 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/0.6406, allocations: 78.58 kB / 0.7669 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003045/0.6409, allocations: 333.5 kB / 0.7672 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.6409, allocations: 29.58 kB / 0.7672 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.146e-05/0.641, allocations: 168.3 kB / 0.7674 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.6411, allocations: 33.11 kB / 0.7674 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.6411, allocations: 28.84 kB / 0.7675 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.6412, allocations: 343.2 kB / 0.7678 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.053e-05/0.6413, allocations: 21.75 kB / 0.7678 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.94e-05/0.6413, allocations: 53.38 kB / 0.7679 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.157e-05/0.6414, allocations: 77 kB / 0.7679 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6414, allocations: 0 / 0.7679 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002487/0.6417, allocations: 153.7 kB / 0.7681 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.6417, allocations: 9.594 kB / 0.7681 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.6417, allocations: 0.7188 kB / 0.7681 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001925/0.6419, allocations: 44.12 kB / 0.7681 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.371e-05/0.642, allocations: 14.88 kB / 0.7682 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001999/0.644, allocations: 2.761 MB / 0.7708 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.784e-05/0.644, allocations: 12.56 kB / 0.7709 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.644, allocations: 2.969 kB / 0.7709 GB, free: 12.31 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.0001333/0.6442, allocations: 137.6 kB / 0.771 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.262e-05/0.6442, allocations: 34.22 kB / 0.771 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002837/0.6445, allocations: 156.8 kB / 0.7712 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.6445, allocations: 4.188 kB / 0.7712 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.6445, allocations: 1.281 kB / 0.7712 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.6445, allocations: 4.188 kB / 0.7712 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005614/0.6451, allocations: 0.5352 MB / 0.7717 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.6451, allocations: 0.7188 kB / 0.7717 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.909e-05/0.6451, allocations: 4 kB / 0.7717 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001247/0.6452, allocations: 42.16 kB / 0.7718 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.6453, allocations: 5 kB / 0.7718 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002022/0.6473, allocations: 2.76 MB / 0.7745 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.6473, allocations: 1.062 kB / 0.7745 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003752/0.6477, allocations: 338.4 kB / 0.7748 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.583e-05/0.6477, allocations: 112.7 kB / 0.7749 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.911e-05/0.6478, allocations: 10.12 kB / 0.7749 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.6479, allocations: 1.375 kB / 0.7749 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.613e-05/0.6479, allocations: 10.58 kB / 0.7749 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.6479, allocations: 5.906 kB / 0.7749 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002952/0.6482, allocations: 239.9 kB / 0.7751 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6482, allocations: 1.703 kB / 0.7751 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003885/0.6486, allocations: 49.16 kB / 0.7752 GB, free: 8.492 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.0008249/0.6494, allocations: 0.9258 MB / 0.7761 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004535/0.6499, allocations: 282.4 kB / 0.7764 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.6499, allocations: 0 / 0.7764 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003034/0.6502, allocations: 260.9 kB / 0.7766 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005861/0.6508, allocations: 71.12 kB / 0.7767 GB, free: 7.227 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003188/0.654, allocations: 2.684 MB / 0.7793 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004078/0.6544, allocations: 0.7659 MB / 0.78 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.934e-05/0.6545, allocations: 29.19 kB / 0.7801 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.6546, allocations: 84.92 kB / 0.7802 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of SimCode: time 3.8e-07/0.6546, allocations: 0 / 0.7802 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03568/0.6903, allocations: 6.898 MB / 0.7869 GB, free: 4.031 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.551/10.24, allocations: 9.906 kB / 0.7869 GB, free: 4.023 MB / 0.5919 GB " [Timeout remaining time 650] (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: 13.745118309991085]