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.00177/0.00177, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001963/0.001963, allocations: 213.9 kB / 23.04 MB, free: 5.078 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.359/1.359, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.6764/0.6764, allocations: 94.56 MB / 407.8 MB, free: 9.168 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.SourceSink,fileNamePrefix="ThermofluidStream_ThermofluidStream_Boundaries_Tests_SourceSink",fmuType="cs",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.002323/0.002323, allocations: 87.48 kB / 0.5557 GB, free: 38.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1114, allocations: 73.06 MB / 0.6271 GB, free: 480 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.4583/0.5696, allocations: 141.1 MB / 0.7649 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002891/0.5725, allocations: 3.375 MB / 0.7682 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003231/0.5728, allocations: 27.72 kB / 0.7682 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005007/0.5733, allocations: 138.4 kB / 0.7683 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005143/0.5739, allocations: 207.4 kB / 0.7685 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005096/0.5744, allocations: 204.1 kB / 0.7687 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003757/0.5747, allocations: 398.9 kB / 0.7691 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.5749, allocations: 45.38 kB / 0.7691 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004825/0.5754, allocations: 232.8 kB / 0.7694 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001637/0.5755, allocations: 124.7 kB / 0.7695 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.5756, allocations: 9.531 kB / 0.7695 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004464/0.576, allocations: 269.1 kB / 0.7697 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.577e-05/0.5761, allocations: 36.11 kB / 0.7698 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.781e-05/0.5762, allocations: 116.8 kB / 0.7699 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004524/0.5766, allocations: 341.3 kB / 0.7702 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.5766, allocations: 0 / 0.7702 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5766, allocations: 0 / 0.7702 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.5766, allocations: 1.094 kB / 0.7702 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.0008126/0.5774, allocations: 0.4991 MB / 0.7707 GB, free: 17.74 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.5775, allocations: 10.72 kB / 0.7707 GB, free: 17.74 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.398e-05/0.5775, allocations: 11.02 kB / 0.7707 GB, free: 17.74 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.279e-05/0.5775, allocations: 48.08 kB / 0.7708 GB, free: 17.7 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.321e-05/0.5776, allocations: 32.47 kB / 0.7708 GB, free: 17.68 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005375/0.5781, allocations: 306 kB / 0.7711 GB, free: 17.5 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.208e-06/0.5781, allocations: 12.3 kB / 0.7711 GB, free: 17.5 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.988e-05/0.5781, allocations: 16.52 kB / 0.7711 GB, free: 17.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.5783, allocations: 148.3 kB / 0.7713 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.5783, allocations: 6.125 kB / 0.7713 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.5784, allocations: 6.609 kB / 0.7713 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.5784, allocations: 3.969 kB / 0.7713 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.5785, allocations: 69.09 kB / 0.7713 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007289/0.5792, allocations: 0.7173 MB / 0.772 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.5793, allocations: 75.52 kB / 0.7721 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.754e-05/0.5794, allocations: 37.39 kB / 0.7722 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.962e-05/0.5794, allocations: 16.25 kB / 0.7722 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.607e-05/0.5795, allocations: 34.44 kB / 0.7722 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.5795, allocations: 0.8125 kB / 0.7722 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.000588/0.5801, allocations: 182.6 kB / 0.7724 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/0.5801, allocations: 81.95 kB / 0.7725 GB, free: 16.63 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003594/0.5805, allocations: 334.1 kB / 0.7728 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.5805, allocations: 29.42 kB / 0.7728 GB, free: 16.49 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.5806, allocations: 162.8 kB / 0.773 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/0.5806, allocations: 37.05 kB / 0.773 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.152e-05/0.5807, allocations: 23.66 kB / 0.773 GB, free: 16.37 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.5808, allocations: 340.3 kB / 0.7733 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.742e-05/0.5809, allocations: 24.05 kB / 0.7734 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.339e-05/0.5809, allocations: 47.06 kB / 0.7734 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.5811, allocations: 74.03 kB / 0.7735 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.5811, allocations: 0.5 kB / 0.7735 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002909/0.5813, allocations: 162.2 kB / 0.7736 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.5814, allocations: 5.5 kB / 0.7736 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.5814, allocations: 0.5938 kB / 0.7736 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000212/0.5816, allocations: 41.3 kB / 0.7737 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.987e-05/0.5817, allocations: 10.64 kB / 0.7737 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002163/0.5838, allocations: 2.562 MB / 0.7762 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.029e-05/0.5839, allocations: 20.31 kB / 0.7762 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.5839, allocations: 2.906 kB / 0.7762 GB, free: 13.44 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.0001433/0.584, allocations: 129.1 kB / 0.7763 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.272e-05/0.5841, allocations: 36.31 kB / 0.7764 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002942/0.5844, allocations: 162.8 kB / 0.7765 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.5844, allocations: 1.094 kB / 0.7765 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.5844, allocations: 1.625 kB / 0.7765 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.5844, allocations: 0.5 kB / 0.7765 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005662/0.585, allocations: 0.5064 MB / 0.777 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.585, allocations: 1.281 kB / 0.777 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.85e-05/0.585, allocations: 4.531 kB / 0.777 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001216/0.5851, allocations: 45.95 kB / 0.7771 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.5851, allocations: 2.219 kB / 0.7771 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001914/0.5871, allocations: 2.562 MB / 0.7796 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.5871, allocations: 1.062 kB / 0.7796 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003473/0.5874, allocations: 336.5 kB / 0.7799 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.707e-05/0.5875, allocations: 34.55 kB / 0.7799 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.032e-05/0.5875, allocations: 6.672 kB / 0.7799 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.5876, allocations: 5.156 kB / 0.7799 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.5876, allocations: 16.56 kB / 0.78 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.5876, allocations: 6.375 kB / 0.78 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000287/0.5879, allocations: 243.6 kB / 0.7802 GB, free: 10 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.5879, allocations: 0 / 0.7802 GB, free: 10 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003933/0.5883, allocations: 45.78 kB / 0.7802 GB, free: 10 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.000736/0.5891, allocations: 0.9302 MB / 0.7811 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004291/0.5895, allocations: 278.7 kB / 0.7814 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5895, allocations: 0 / 0.7814 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002688/0.5898, allocations: 253.1 kB / 0.7817 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005508/0.5903, allocations: 61.11 kB / 0.7817 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003571/0.5939, allocations: 2.695 MB / 0.7843 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005439/0.5944, allocations: 0.7583 MB / 0.7851 GB, free: 6.395 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001259/0.5946, allocations: 35.11 kB / 0.7851 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/0.5947, allocations: 88.62 kB / 0.7852 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of SimCode: time 4.01e-07/0.5947, allocations: 0 / 0.7852 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03312/0.6278, allocations: 7.013 MB / 0.7921 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/12.13, allocations: 6.812 kB / 0.7921 GB, free: 5.508 MB / 0.5919 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Boundaries_Tests_SourceSink_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Boundaries_Tests_SourceSink.fmu > ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink_res.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.484901521005668]