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.001809/0.001809, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002134/0.002134, allocations: 214.4 kB / 22.25 MB, free: 4.859 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.5/1.5, allocations: 230.6 MB / 256 MB, free: 7.801 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.809/0.809, allocations: 94.62 MB / 407 MB, free: 8.934 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.002561/0.002561, allocations: 91.23 kB / 0.5549 GB, free: 38.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1406, allocations: 73.05 MB / 0.6263 GB, free: 224 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.1645/0.3051, allocations: 121 MB / 0.7444 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004374/0.3095, allocations: 3.066 MB / 0.7474 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000372/0.3098, allocations: 31.69 kB / 0.7475 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006051/0.3104, allocations: 123.2 kB / 0.7476 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006426/0.3111, allocations: 198.8 kB / 0.7478 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006348/0.3117, allocations: 199.3 kB / 0.7479 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005444/0.3123, allocations: 402.4 kB / 0.7483 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001586/0.3124, allocations: 44.78 kB / 0.7484 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005879/0.313, allocations: 238.9 kB / 0.7486 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002011/0.3132, allocations: 111.4 kB / 0.7487 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.823e-05/0.3132, allocations: 8 kB / 0.7487 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004543/0.3137, allocations: 227.6 kB / 0.7489 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.002e-05/0.3138, allocations: 35.78 kB / 0.749 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.3139, allocations: 83.42 kB / 0.749 GB, free: 2 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005787/0.3145, allocations: 334.5 kB / 0.7494 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.3145, allocations: 0 / 0.7494 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3145, allocations: 0 / 0.7494 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.305e-06/0.3145, allocations: 0 / 0.7494 GB, free: 1.672 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.0008568/0.3153, allocations: 0.5008 MB / 0.7499 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.3154, allocations: 12.03 kB / 0.7499 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.654e-05/0.3154, allocations: 50.67 kB / 0.7499 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.015e-05/0.3155, allocations: 36.75 kB / 0.7499 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006522/0.3161, allocations: 305 kB / 0.7502 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.3162, allocations: 8.609 kB / 0.7502 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.674e-05/0.3162, allocations: 12.38 kB / 0.7503 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002806/0.3165, allocations: 152.2 kB / 0.7504 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.3165, allocations: 4 kB / 0.7504 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.3165, allocations: 8 kB / 0.7504 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.3165, allocations: 4 kB / 0.7504 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.3166, allocations: 71.91 kB / 0.7505 GB, free: 448 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3278/0.6444, allocations: 0.6829 MB / 0.7512 GB, free: 128.3 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.6446, allocations: 71.58 kB / 0.7512 GB, free: 128.3 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.251e-05/0.6447, allocations: 31.06 kB / 0.7513 GB, free: 128.3 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001044/0.6448, allocations: 13.23 kB / 0.7513 GB, free: 128.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.6448, allocations: 37.3 kB / 0.7513 GB, free: 128.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 2.435e-06/0.6448, allocations: 0 / 0.7513 GB, free: 128.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0006905/0.6455, allocations: 184.3 kB / 0.7515 GB, free: 128.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.6455, allocations: 83.36 kB / 0.7516 GB, free: 128.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004415/0.646, allocations: 332.8 kB / 0.7519 GB, free: 128 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.646, allocations: 26.41 kB / 0.7519 GB, free: 127.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.6461, allocations: 169.3 kB / 0.7521 GB, free: 127.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/0.6461, allocations: 36.27 kB / 0.7521 GB, free: 127.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-05/0.6462, allocations: 24.14 kB / 0.7521 GB, free: 127.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.476e-05/0.6463, allocations: 344 kB / 0.7524 GB, free: 127.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.494e-05/0.6463, allocations: 18.97 kB / 0.7525 GB, free: 127.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.327e-05/0.6464, allocations: 53.8 kB / 0.7525 GB, free: 127.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.456e-05/0.6465, allocations: 70.02 kB / 0.7526 GB, free: 127.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.6465, allocations: 3.656 kB / 0.7526 GB, free: 127.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002533/0.6467, allocations: 160.3 kB / 0.7527 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.6467, allocations: 5.281 kB / 0.7527 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.6467, allocations: 4.797 kB / 0.7527 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002196/0.647, allocations: 47.36 kB / 0.7528 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.798e-05/0.647, allocations: 9.516 kB / 0.7528 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001414/0.6484, allocations: 2.548 MB / 0.7553 GB, free: 124.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.057e-05/0.6485, allocations: 15.58 kB / 0.7553 GB, free: 124.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.6485, allocations: 4.406 kB / 0.7553 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 0.0001044/0.6486, allocations: 129.7 kB / 0.7554 GB, free: 124.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.635e-05/0.6487, allocations: 34.2 kB / 0.7555 GB, free: 124.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002881/0.649, allocations: 164.4 kB / 0.7556 GB, free: 124.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.649, allocations: 1.75 kB / 0.7556 GB, free: 124.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.649, allocations: 4.047 kB / 0.7556 GB, free: 124.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.649, allocations: 1.484 kB / 0.7556 GB, free: 124.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000497/0.6495, allocations: 0.4897 MB / 0.7561 GB, free: 124.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.6495, allocations: 2.5 kB / 0.7561 GB, free: 124.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.902e-05/0.6495, allocations: 6.375 kB / 0.7561 GB, free: 124.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001229/0.6497, allocations: 48.06 kB / 0.7562 GB, free: 124.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.6497, allocations: 6.891 kB / 0.7562 GB, free: 124.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001279/0.6509, allocations: 2.553 MB / 0.7587 GB, free: 121.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.6509, allocations: 5.75 kB / 0.7587 GB, free: 121.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002887/0.6512, allocations: 338 kB / 0.759 GB, free: 121.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.3e-05/0.6513, allocations: 30.12 kB / 0.759 GB, free: 121.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.6513, allocations: 2.938 kB / 0.759 GB, free: 121.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.6514, allocations: 1.734 kB / 0.759 GB, free: 121.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.569e-05/0.6515, allocations: 11.97 kB / 0.759 GB, free: 121.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.355e-06/0.6515, allocations: 5.625 kB / 0.759 GB, free: 121.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002571/0.6517, allocations: 247.4 kB / 0.7593 GB, free: 121.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.6517, allocations: 3.938 kB / 0.7593 GB, free: 121.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003757/0.6521, allocations: 45.41 kB / 0.7593 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.000567/0.6527, allocations: 0.9242 MB / 0.7602 GB, free: 120.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004012/0.6531, allocations: 281.3 kB / 0.7605 GB, free: 120.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/0.6531, allocations: 0 / 0.7605 GB, free: 120.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002037/0.6533, allocations: 252 kB / 0.7607 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.0006297/0.6539, allocations: 59.58 kB / 0.7608 GB, free: 120 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003151/0.6571, allocations: 2.689 MB / 0.7634 GB, free: 118.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001936/0.6573, allocations: 150 kB / 0.7636 GB, free: 118.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001174/0.6574, allocations: 34.94 kB / 0.7636 GB, free: 118.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.6575, allocations: 94.61 kB / 0.7637 GB, free: 118 MB / 0.5762 GB Notification: Performance of SimCode: time 1.533e-06/0.6575, allocations: 0.875 kB / 0.7637 GB, free: 118 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04192/0.6994, allocations: 7.665 MB / 0.7712 GB, free: 115.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.33, allocations: 8.25 kB / 0.7712 GB, free: 115.4 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 & 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: 16.191946647129953]