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.001683/0.001683, 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.001734/0.001734, allocations: 210.5 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.444/1.444, allocations: 230.6 MB / 256 MB, free: 7.785 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 0.8807/0.8807, allocations: 100.9 MB / 413.3 MB, free: 2.883 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.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: 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.002531/0.002531, allocations: 91.94 kB / 0.5641 GB, free: 35.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1369, allocations: 74.62 MB / 0.6369 GB, free: 6.465 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.4857/0.6225, allocations: 120.9 MB / 0.7551 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00343/0.6259, allocations: 3.074 MB / 0.7581 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000397/0.6263, allocations: 30.56 kB / 0.7581 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006178/0.627, allocations: 122 kB / 0.7582 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006074/0.6276, allocations: 203.9 kB / 0.7584 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006196/0.6282, allocations: 204.2 kB / 0.7586 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004842/0.6287, allocations: 390.4 kB / 0.759 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.6288, allocations: 40.47 kB / 0.759 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005665/0.6294, allocations: 241.6 kB / 0.7592 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001888/0.6296, allocations: 114.8 kB / 0.7593 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.709e-05/0.6296, allocations: 12.25 kB / 0.7594 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004704/0.6301, allocations: 219.8 kB / 0.7596 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.166e-05/0.6302, allocations: 35.42 kB / 0.7596 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.6303, allocations: 87.44 kB / 0.7597 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005453/0.6308, allocations: 332.9 kB / 0.76 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.6308, allocations: 0.8438 kB / 0.76 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.445e-06/0.6308, allocations: 0 / 0.76 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.6308, allocations: 0.7812 kB / 0.76 GB, free: 3.18 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.0008734/0.6317, allocations: 0.5091 MB / 0.7605 GB, free: 18.8 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.6317, allocations: 10.72 kB / 0.7605 GB, free: 18.8 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.005e-05/0.6318, allocations: 48.27 kB / 0.7606 GB, free: 18.76 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.291e-05/0.6318, allocations: 34.75 kB / 0.7606 GB, free: 18.74 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005937/0.6324, allocations: 304.5 kB / 0.7609 GB, free: 18.57 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.6325, allocations: 8.609 kB / 0.7609 GB, free: 18.57 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.856e-05/0.6325, allocations: 18.05 kB / 0.7609 GB, free: 18.57 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.6327, allocations: 150.9 kB / 0.761 GB, free: 18.5 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.6327, allocations: 5.188 kB / 0.7611 GB, free: 18.5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.6327, allocations: 4.406 kB / 0.7611 GB, free: 18.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.6327, allocations: 3.062 kB / 0.7611 GB, free: 18.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.6329, allocations: 77.42 kB / 0.7611 GB, free: 18.5 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008203/0.6337, allocations: 0.6791 MB / 0.7618 GB, free: 17.99 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.6338, allocations: 77.97 kB / 0.7619 GB, free: 17.94 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.215e-05/0.6339, allocations: 33.81 kB / 0.7619 GB, free: 17.93 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.444e-05/0.6339, allocations: 14.2 kB / 0.7619 GB, free: 17.93 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.634, allocations: 37.88 kB / 0.762 GB, free: 17.88 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.634, allocations: 2.812 kB / 0.762 GB, free: 17.88 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0006478/0.6346, allocations: 188.8 kB / 0.7621 GB, free: 17.82 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.632e-05/0.6347, allocations: 79.11 kB / 0.7622 GB, free: 17.72 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003934/0.6351, allocations: 335.8 kB / 0.7625 GB, free: 17.61 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.6351, allocations: 26.64 kB / 0.7626 GB, free: 17.57 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.6352, allocations: 168.8 kB / 0.7627 GB, free: 17.49 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.562e-05/0.6353, allocations: 31.36 kB / 0.7627 GB, free: 17.47 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.627e-05/0.6353, allocations: 27.05 kB / 0.7628 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002234/0.6355, allocations: 343.6 kB / 0.7631 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.928e-05/0.6356, allocations: 19.66 kB / 0.7631 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.031e-05/0.6356, allocations: 48.44 kB / 0.7632 GB, free: 17.11 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.6358, allocations: 73.47 kB / 0.7632 GB, free: 17.08 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.6358, allocations: 0 / 0.7632 GB, free: 17.08 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002766/0.636, allocations: 158.6 kB / 0.7634 GB, free: 17.01 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.6361, allocations: 9.312 kB / 0.7634 GB, free: 17.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.6361, allocations: 7.375 kB / 0.7634 GB, free: 17.01 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002266/0.6363, allocations: 41.7 kB / 0.7634 GB, free: 16.99 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.37e-05/0.6364, allocations: 11.53 kB / 0.7635 GB, free: 16.99 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00238/0.6387, allocations: 2.546 MB / 0.7659 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.6389, allocations: 11.92 kB / 0.766 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.6389, allocations: 5.531 kB / 0.766 GB, free: 14.55 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.0001762/0.639, allocations: 135.2 kB / 0.7661 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.431e-05/0.6391, allocations: 38.61 kB / 0.7661 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004085/0.6396, allocations: 161.1 kB / 0.7663 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.6396, allocations: 2.125 kB / 0.7663 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.6396, allocations: 2 kB / 0.7663 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.6396, allocations: 5.188 kB / 0.7663 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000699/0.6403, allocations: 0.4926 MB / 0.7668 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.6403, allocations: 0 / 0.7668 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.722e-05/0.6403, allocations: 5.766 kB / 0.7668 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000137/0.6404, allocations: 46.48 kB / 0.7668 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.6404, allocations: 4.391 kB / 0.7668 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002006/0.6424, allocations: 2.56 MB / 0.7693 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.6424, allocations: 2.281 kB / 0.7693 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003873/0.6428, allocations: 337.5 kB / 0.7696 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.85e-05/0.6429, allocations: 30.14 kB / 0.7697 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.6429, allocations: 3.359 kB / 0.7697 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.643, allocations: 1.375 kB / 0.7697 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.187e-05/0.6431, allocations: 19.83 kB / 0.7697 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.6431, allocations: 3.359 kB / 0.7697 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003324/0.6434, allocations: 241.4 kB / 0.7699 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.6434, allocations: 0 / 0.7699 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004877/0.6439, allocations: 55.88 kB / 0.77 GB, free: 11.13 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.001109/0.645, allocations: 0.9216 MB / 0.7709 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005831/0.6456, allocations: 287.4 kB / 0.7712 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.6456, allocations: 0.5625 kB / 0.7712 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003317/0.6459, allocations: 253 kB / 0.7714 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006893/0.6466, allocations: 66.75 kB / 0.7715 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003545/0.6502, allocations: 2.684 MB / 0.7741 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001893/0.6503, allocations: 149.9 kB / 0.7742 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001155/0.6505, allocations: 28.86 kB / 0.7743 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.6506, allocations: 88.59 kB / 0.7743 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of SimCode: time 1.392e-06/0.6506, allocations: 0.625 kB / 0.7743 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04331/0.6939, allocations: 7.689 MB / 0.7818 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/12, allocations: 6.25 kB / 0.7819 GB, free: 7.051 MB / 0.5919 GB " [Timeout remaining time 648] (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/jenkins1/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: 15.761483600828797]