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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001964/0.001964, allocations: 192.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8114/0.8114, allocations: 93.71 MB / 384.1 MB, free: 6.984 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00237/0.00237, allocations: 82.91 kB / 463.5 MB, free: 21.95 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1314, allocations: 68.27 MB / 0.5193 GB, free: 6.91 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.4044/0.5358, allocations: 140.5 MB / 0.6565 GB, free: 5.289 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003614/0.5394, allocations: 3.33 MB / 0.6598 GB, free: 2.594 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002129/0.5397, allocations: 18.88 kB / 0.6598 GB, free: 2.586 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004399/0.5402, allocations: 137.1 kB / 0.6599 GB, free: 2.473 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004038/0.5406, allocations: 198.3 kB / 0.6601 GB, free: 2.305 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004109/0.541, allocations: 195.2 kB / 0.6603 GB, free: 2.16 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004039/0.5414, allocations: 390.3 kB / 0.6607 GB, free: 1.934 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.5416, allocations: 75.83 kB / 0.6607 GB, free: 1.898 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004444/0.542, allocations: 217.7 kB / 0.6609 GB, free: 1.762 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.5422, allocations: 115.2 kB / 0.661 GB, free: 1.695 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/0.5422, allocations: 14.59 kB / 0.6611 GB, free: 1.691 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000468/0.5427, allocations: 263.3 kB / 0.6613 GB, free: 1.574 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.065e-05/0.5428, allocations: 38.66 kB / 0.6613 GB, free: 1.543 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.5429, allocations: 109.6 kB / 0.6615 GB, free: 1.469 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004273/0.5433, allocations: 317.5 kB / 0.6618 GB, free: 1.273 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.5433, allocations: 0 / 0.6618 GB, free: 1.273 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.5434, allocations: 1.781 kB / 0.6618 GB, free: 1.273 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.5434, allocations: 0 / 0.6618 GB, free: 1.273 MB / 478.1 MB 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.0007889/0.5442, allocations: 0.5673 MB / 0.6623 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.5442, allocations: 10.81 kB / 0.6623 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.776e-05/0.5443, allocations: 48.77 kB / 0.6624 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.097e-05/0.5443, allocations: 35.05 kB / 0.6624 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004399/0.5448, allocations: 356.3 kB / 0.6627 GB, free: 344 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.5448, allocations: 9.422 kB / 0.6627 GB, free: 340 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.828e-05/0.5448, allocations: 11.88 kB / 0.6628 GB, free: 336 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.5451, allocations: 154.8 kB / 0.6629 GB, free: 208 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.5451, allocations: 0 / 0.6629 GB, free: 208 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.5451, allocations: 6.938 kB / 0.6629 GB, free: 204 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.5451, allocations: 1.781 kB / 0.6629 GB, free: 204 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/0.5453, allocations: 73.69 kB / 0.663 GB, free: 168 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008711/0.5461, allocations: 0.735 MB / 0.6637 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.5463, allocations: 84.58 kB / 0.6638 GB, free: 15.39 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.808e-05/0.5464, allocations: 41.23 kB / 0.6638 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001692/0.5465, allocations: 163.9 kB / 0.664 GB, free: 15.16 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.5466, allocations: 34.56 kB / 0.664 GB, free: 15.12 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.352e-06/0.5466, allocations: 0 / 0.664 GB, free: 15.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006766/0.5473, allocations: 339.5 kB / 0.6643 GB, free: 14.81 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.585e-05/0.5473, allocations: 77.11 kB / 0.6644 GB, free: 14.72 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003265/0.5477, allocations: 333.7 kB / 0.6647 GB, free: 14.51 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.5477, allocations: 29.7 kB / 0.6648 GB, free: 14.47 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.5478, allocations: 171.1 kB / 0.6649 GB, free: 14.32 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.239e-05/0.5479, allocations: 25.38 kB / 0.6649 GB, free: 14.29 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.557e-05/0.5479, allocations: 29.61 kB / 0.665 GB, free: 14.27 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.5481, allocations: 338.5 kB / 0.6653 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.232e-05/0.5481, allocations: 26.05 kB / 0.6653 GB, free: 13.92 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.469e-05/0.5482, allocations: 43.86 kB / 0.6654 GB, free: 13.88 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.5483, allocations: 81.27 kB / 0.6654 GB, free: 13.81 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.5483, allocations: 0 / 0.6654 GB, free: 13.81 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002578/0.5486, allocations: 154.9 kB / 0.6656 GB, free: 13.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.5486, allocations: 11.38 kB / 0.6656 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.5486, allocations: 0.875 kB / 0.6656 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001974/0.5488, allocations: 47.09 kB / 0.6656 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.071e-05/0.5489, allocations: 11.94 kB / 0.6657 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002086/0.551, allocations: 2.751 MB / 0.6683 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.305e-05/0.5511, allocations: 16.47 kB / 0.6684 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.5511, allocations: 2.906 kB / 0.6684 GB, free: 10.77 MB / 494.1 MB 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.0001405/0.5512, allocations: 152.6 kB / 0.6685 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.731e-05/0.5513, allocations: 39.06 kB / 0.6685 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002926/0.5516, allocations: 153.8 kB / 0.6687 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.5516, allocations: 0 / 0.6687 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.5516, allocations: 3.031 kB / 0.6687 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.624e-06/0.5516, allocations: 4 kB / 0.6687 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005704/0.5522, allocations: 0.5321 MB / 0.6692 GB, free: 9.941 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.5522, allocations: 0 / 0.6692 GB, free: 9.941 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.784e-05/0.5522, allocations: 5.469 kB / 0.6692 GB, free: 9.941 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001271/0.5524, allocations: 48.78 kB / 0.6693 GB, free: 9.902 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.5524, allocations: 1.812 kB / 0.6693 GB, free: 9.902 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002067/0.5545, allocations: 2.754 MB / 0.672 GB, free: 7.02 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.5545, allocations: 3.938 kB / 0.672 GB, free: 7.016 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003368/0.5548, allocations: 340.5 kB / 0.6723 GB, free: 6.711 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.881e-05/0.5549, allocations: 104.2 kB / 0.6724 GB, free: 6.598 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.238e-05/0.555, allocations: 6.562 kB / 0.6724 GB, free: 6.594 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.5551, allocations: 8.062 kB / 0.6724 GB, free: 6.586 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.599e-05/0.5552, allocations: 13.14 kB / 0.6724 GB, free: 6.578 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-06/0.5552, allocations: 2.531 kB / 0.6724 GB, free: 6.578 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002392/0.5554, allocations: 242 kB / 0.6726 GB, free: 6.422 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.5554, allocations: 0 / 0.6726 GB, free: 6.422 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003732/0.5558, allocations: 46.12 kB / 0.6727 GB, free: 6.414 MB / 494.1 MB 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.000767/0.5566, allocations: 0.9296 MB / 0.6736 GB, free: 5.543 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004292/0.557, allocations: 288.1 kB / 0.6739 GB, free: 5.277 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.557, allocations: 0 / 0.6739 GB, free: 5.277 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002584/0.5573, allocations: 259.5 kB / 0.6741 GB, free: 5.027 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006313/0.5579, allocations: 64.83 kB / 0.6742 GB, free: 4.996 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003075/0.561, allocations: 2.707 MB / 0.6768 GB, free: 2.875 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.5614, allocations: 0.7578 MB / 0.6776 GB, free: 2.141 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.691e-05/0.5615, allocations: 39.81 kB / 0.6776 GB, free: 2.121 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.5616, allocations: 84.16 kB / 0.6777 GB, free: 2.051 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.5616, allocations: 0 / 0.6777 GB, free: 2.051 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03718/0.5988, allocations: 6.753 MB / 0.6843 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.646/10.24, allocations: 10.72 kB / 0.6843 GB, free: 14.72 MB / 0.4981 GB (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) 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) Reference file matches