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.001563/0.001563, allocations: 107.6 kB / 16.45 MB, free: 6.453 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.001664/0.001664, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.446/1.446, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.8755/0.8755, allocations: 100.3 MB / 409.1 MB, free: 4.777 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.002506/0.002506, allocations: 88.75 kB / 0.5582 GB, free: 36.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1638, allocations: 74.42 MB / 0.6309 GB, free: 9.164 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.598/0.7619, allocations: 141 MB / 0.7686 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003308/0.7652, allocations: 3.348 MB / 0.7718 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003623/0.7656, allocations: 32.02 kB / 0.7719 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005553/0.7661, allocations: 132.6 kB / 0.772 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005175/0.7666, allocations: 204.2 kB / 0.7722 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005505/0.7672, allocations: 198.8 kB / 0.7724 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005157/0.7677, allocations: 391.8 kB / 0.7728 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.7678, allocations: 41.44 kB / 0.7728 GB, free: 500 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005076/0.7683, allocations: 231.7 kB / 0.773 GB, free: 500 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000181/0.7685, allocations: 129.9 kB / 0.7731 GB, free: 500 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.677e-05/0.7686, allocations: 9.625 kB / 0.7732 GB, free: 500 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005254/0.7691, allocations: 262 kB / 0.7734 GB, free: 496 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.748e-05/0.7691, allocations: 38.55 kB / 0.7734 GB, free: 492 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001472/0.7693, allocations: 112.5 kB / 0.7736 GB, free: 492 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006872/0.77, allocations: 337.8 kB / 0.7739 GB, free: 464 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.77, allocations: 1.766 kB / 0.7739 GB, free: 464 kB / 0.5762 GB Notification: Performance of FrontEnd: time 3.126e-06/0.77, allocations: 2.812 kB / 0.7739 GB, free: 464 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.744e-06/0.77, allocations: 0 / 0.7739 GB, free: 464 kB / 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.001032/0.771, allocations: 0.5839 MB / 0.7744 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.817e-05/0.7711, allocations: 9.531 kB / 0.7745 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.185e-05/0.7712, allocations: 43.55 kB / 0.7745 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.748e-05/0.7712, allocations: 39.92 kB / 0.7745 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006892/0.7719, allocations: 380.1 kB / 0.7749 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.7719, allocations: 8.609 kB / 0.7749 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.06e-05/0.772, allocations: 18.7 kB / 0.7749 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002837/0.7723, allocations: 155.2 kB / 0.7751 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.7723, allocations: 0.5312 kB / 0.7751 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.7723, allocations: 4.594 kB / 0.7751 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.7723, allocations: 3.25 kB / 0.7751 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001601/0.7725, allocations: 71.55 kB / 0.7751 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009381/0.7734, allocations: 0.7353 MB / 0.7759 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.7736, allocations: 80.59 kB / 0.7759 GB, free: 15 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.917e-05/0.7736, allocations: 31.53 kB / 0.776 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001913/0.7738, allocations: 165.5 kB / 0.7761 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.7739, allocations: 37.22 kB / 0.7762 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/0.7739, allocations: 0.7188 kB / 0.7762 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0008921/0.7748, allocations: 334.5 kB / 0.7765 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.047e-05/0.7748, allocations: 82.8 kB / 0.7766 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004833/0.7753, allocations: 336.9 kB / 0.7769 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.7753, allocations: 30.02 kB / 0.7769 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.7755, allocations: 167.9 kB / 0.7771 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.106e-05/0.7755, allocations: 29.2 kB / 0.7771 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.728e-05/0.7755, allocations: 30.81 kB / 0.7771 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.7757, allocations: 342.5 kB / 0.7775 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.679e-05/0.7758, allocations: 17.06 kB / 0.7775 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.279e-05/0.7758, allocations: 51.36 kB / 0.7775 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.776, allocations: 73.31 kB / 0.7776 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.776, allocations: 1.25 kB / 0.7776 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002864/0.7762, allocations: 159.1 kB / 0.7777 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.7763, allocations: 9.469 kB / 0.7778 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.7763, allocations: 4.125 kB / 0.7778 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002291/0.7765, allocations: 42.59 kB / 0.7778 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.26e-05/0.7766, allocations: 9.344 kB / 0.7778 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002443/0.779, allocations: 2.767 MB / 0.7805 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.7791, allocations: 17.67 kB / 0.7805 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.7792, allocations: 3.375 kB / 0.7805 GB, free: 10.93 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.0001561/0.7793, allocations: 136.9 kB / 0.7807 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.189e-05/0.7794, allocations: 34.19 kB / 0.7807 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000335/0.7797, allocations: 152.5 kB / 0.7808 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.7797, allocations: 5.406 kB / 0.7808 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.7797, allocations: 4.844 kB / 0.7809 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.7797, allocations: 1.438 kB / 0.7809 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006666/0.7804, allocations: 0.5304 MB / 0.7814 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.7804, allocations: 1.219 kB / 0.7814 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.055e-05/0.7804, allocations: 8.344 kB / 0.7814 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001441/0.7806, allocations: 44.14 kB / 0.7814 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.7806, allocations: 2.438 kB / 0.7814 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002538/0.7831, allocations: 2.759 MB / 0.7841 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.7831, allocations: 3.531 kB / 0.7841 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005097/0.7836, allocations: 343.7 kB / 0.7844 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.7838, allocations: 108.7 kB / 0.7846 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.459e-05/0.7838, allocations: 8.812 kB / 0.7846 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.7839, allocations: 3.469 kB / 0.7846 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.784, allocations: 15.31 kB / 0.7846 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.784, allocations: 6.156 kB / 0.7846 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003341/0.7843, allocations: 241.3 kB / 0.7848 GB, free: 7.113 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7843, allocations: 0 / 0.7848 GB, free: 7.113 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004745/0.7848, allocations: 44.41 kB / 0.7849 GB, free: 7.113 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.001097/0.7859, allocations: 0.9267 MB / 0.7858 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006522/0.7865, allocations: 287 kB / 0.786 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.7865, allocations: 0.5938 kB / 0.786 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003651/0.7869, allocations: 257.3 kB / 0.7863 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007295/0.7876, allocations: 79.27 kB / 0.7864 GB, free: 5.848 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003841/0.7915, allocations: 2.689 MB / 0.789 GB, free: 4.203 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005092/0.792, allocations: 0.7554 MB / 0.7897 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001128/0.7921, allocations: 32.48 kB / 0.7898 GB, free: 3.496 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.7922, allocations: 87.92 kB / 0.7898 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of SimCode: time 1.112e-06/0.7922, allocations: 0 / 0.7898 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03977/0.832, allocations: 6.896 MB / 0.7966 GB, free: 2.648 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.3/11.13, allocations: 3.5 kB / 0.7966 GB, free: 2.648 MB / 0.5919 GB " [Timeout remaining time 649] (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: 14.976157777942717]