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.001651/0.001651, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001681/0.001681, allocations: 214.2 kB / 23.03 MB, free: 4.922 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.434/1.434, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.756/0.756, allocations: 94.61 MB / 407.8 MB, free: 8.844 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.002437/0.002437, allocations: 88.28 kB / 0.5557 GB, free: 38.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1313, allocations: 73.04 MB / 0.627 GB, free: 200 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.156/0.2873, allocations: 120.9 MB / 0.7451 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003993/0.2913, allocations: 3.07 MB / 0.7481 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003274/0.2916, allocations: 27.75 kB / 0.7481 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005667/0.2922, allocations: 119.1 kB / 0.7482 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005571/0.2927, allocations: 210.8 kB / 0.7484 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005332/0.2933, allocations: 199.3 kB / 0.7486 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004797/0.2938, allocations: 394.4 kB / 0.749 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.2939, allocations: 40.91 kB / 0.7491 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005006/0.2944, allocations: 235 kB / 0.7493 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001899/0.2946, allocations: 123.3 kB / 0.7494 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.833e-05/0.2946, allocations: 12 kB / 0.7494 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004318/0.295, allocations: 215.6 kB / 0.7496 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.763e-05/0.2951, allocations: 35.8 kB / 0.7496 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.785e-05/0.2952, allocations: 87.41 kB / 0.7497 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005051/0.2957, allocations: 334.5 kB / 0.75 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2957, allocations: 4 kB / 0.75 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2957, allocations: 0 / 0.75 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.2957, allocations: 0 / 0.75 GB, free: 1.723 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.0008049/0.2965, allocations: 0.511 MB / 0.7505 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.2966, allocations: 8.031 kB / 0.7506 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.945e-05/0.2966, allocations: 4.422 kB / 0.7506 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.345e-05/0.2966, allocations: 46.73 kB / 0.7506 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.418e-05/0.2967, allocations: 32.75 kB / 0.7506 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005666/0.2973, allocations: 309 kB / 0.7509 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.2973, allocations: 12.59 kB / 0.7509 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.005e-05/0.2973, allocations: 16.12 kB / 0.751 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002576/0.2976, allocations: 148.1 kB / 0.7511 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.2976, allocations: 0 / 0.7511 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.2976, allocations: 4 kB / 0.7511 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.2976, allocations: 4 kB / 0.7511 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.2977, allocations: 71.91 kB / 0.7512 GB, free: 500 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.286/0.5837, allocations: 0.6863 MB / 0.7518 GB, free: 128.4 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.5839, allocations: 75.22 kB / 0.7519 GB, free: 128.3 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.223e-05/0.584, allocations: 32.48 kB / 0.7519 GB, free: 128.3 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.013e-05/0.5841, allocations: 11.48 kB / 0.752 GB, free: 128.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.5841, allocations: 36.11 kB / 0.752 GB, free: 128.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.753e-06/0.5841, allocations: 0.5625 kB / 0.752 GB, free: 128.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0006786/0.5848, allocations: 185.4 kB / 0.7522 GB, free: 128.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.5848, allocations: 80.17 kB / 0.7522 GB, free: 128.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003559/0.5851, allocations: 331.8 kB / 0.7526 GB, free: 128 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.5852, allocations: 29.2 kB / 0.7526 GB, free: 128 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.286e-05/0.5852, allocations: 167.9 kB / 0.7528 GB, free: 127.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.234e-05/0.5853, allocations: 37.16 kB / 0.7528 GB, free: 127.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.894e-05/0.5853, allocations: 21.27 kB / 0.7528 GB, free: 127.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.733e-05/0.5854, allocations: 349.7 kB / 0.7531 GB, free: 127.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.26e-05/0.5854, allocations: 17.66 kB / 0.7532 GB, free: 127.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.268e-05/0.5855, allocations: 50.62 kB / 0.7532 GB, free: 127.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.159e-05/0.5856, allocations: 71.78 kB / 0.7533 GB, free: 127.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5856, allocations: 1.812 kB / 0.7533 GB, free: 127.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002515/0.5858, allocations: 161.2 kB / 0.7534 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.5858, allocations: 6.5 kB / 0.7534 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.5858, allocations: 1.5 kB / 0.7534 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002012/0.586, allocations: 50.48 kB / 0.7535 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.79e-05/0.5861, allocations: 10.88 kB / 0.7535 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001338/0.5874, allocations: 2.547 MB / 0.756 GB, free: 125 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.089e-05/0.5875, allocations: 12.56 kB / 0.756 GB, free: 124.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.5875, allocations: 5.266 kB / 0.756 GB, free: 124.9 MB / 0.5762 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 9.879e-05/0.5876, allocations: 137.6 kB / 0.7561 GB, free: 124.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.69e-05/0.5877, allocations: 34.02 kB / 0.7562 GB, free: 124.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002921/0.588, allocations: 156.5 kB / 0.7563 GB, free: 124.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.588, allocations: 1.406 kB / 0.7563 GB, free: 124.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.588, allocations: 4.109 kB / 0.7563 GB, free: 124.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.588, allocations: 5.109 kB / 0.7563 GB, free: 124.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004509/0.5885, allocations: 0.4912 MB / 0.7568 GB, free: 124.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.5885, allocations: 3.938 kB / 0.7568 GB, free: 124.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.833e-05/0.5885, allocations: 4.484 kB / 0.7568 GB, free: 124.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001171/0.5886, allocations: 45.8 kB / 0.7569 GB, free: 124.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.5886, allocations: 1.844 kB / 0.7569 GB, free: 124.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001183/0.5898, allocations: 2.566 MB / 0.7594 GB, free: 121.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5898, allocations: 1.125 kB / 0.7594 GB, free: 121.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002834/0.5901, allocations: 341.2 kB / 0.7597 GB, free: 121.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.9e-05/0.5901, allocations: 29.84 kB / 0.7597 GB, free: 121.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.888e-05/0.5901, allocations: 2.891 kB / 0.7597 GB, free: 121.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.5903, allocations: 2.125 kB / 0.7597 GB, free: 121.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.27e-05/0.5903, allocations: 7.641 kB / 0.7597 GB, free: 121.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.5903, allocations: 7.172 kB / 0.7597 GB, free: 121.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002194/0.5905, allocations: 246.3 kB / 0.76 GB, free: 121.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.5905, allocations: 0 / 0.76 GB, free: 121.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003732/0.5909, allocations: 47.73 kB / 0.76 GB, free: 121.4 MB / 0.5762 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.0005056/0.5914, allocations: 0.9232 MB / 0.7609 GB, free: 120.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003977/0.5918, allocations: 284.9 kB / 0.7612 GB, free: 120.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5918, allocations: 0 / 0.7612 GB, free: 120.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001916/0.592, allocations: 253.6 kB / 0.7614 GB, free: 120.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005528/0.5925, allocations: 62.39 kB / 0.7615 GB, free: 120.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002973/0.5955, allocations: 2.694 MB / 0.7641 GB, free: 118.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000172/0.5957, allocations: 150.7 kB / 0.7643 GB, free: 118.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001056/0.5958, allocations: 30.22 kB / 0.7643 GB, free: 118.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.5959, allocations: 90.64 kB / 0.7644 GB, free: 118 MB / 0.5762 GB Notification: Performance of SimCode: time 6.61e-07/0.5959, allocations: 0 / 0.7644 GB, free: 118 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03629/0.6322, allocations: 7.326 MB / 0.7715 GB, free: 115.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.32, allocations: 6.844 kB / 0.7715 GB, free: 115.9 MB / 0.5762 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.914559572003782]