Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.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.Undirected.Boundaries.Tests.TestBoundaries,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries",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.008531/0.008531, allocations: 100.6 kB / 15.73 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002046/0.002047, allocations: 192.4 kB / 16.68 MB, free: 6.367 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6657/0.6657, allocations: 91.18 MB / 381.7 MB, free: 9.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001724/0.001724, allocations: 83.88 kB / 0.5164 GB, free: 9.508 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1428, allocations: 67.69 MB / 0.5825 GB, free: 5.734 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.4735/0.6163, allocations: 146.9 MB / 0.7259 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003785/0.6202, allocations: 3.149 MB / 0.729 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005964/0.6208, allocations: 23.88 kB / 0.729 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008271/0.6217, allocations: 230.4 kB / 0.7292 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001086/0.6228, allocations: 389.6 kB / 0.7296 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.624, allocations: 458.3 kB / 0.73 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009712/0.625, allocations: 0.6884 MB / 0.7307 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002856/0.6253, allocations: 136.9 kB / 0.7308 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001091/0.6264, allocations: 493.9 kB / 0.7313 GB, free: 32 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004866/0.6269, allocations: 294.7 kB / 0.7316 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.91e-05/0.627, allocations: 24 kB / 0.7316 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/0.6281, allocations: 0.5614 MB / 0.7322 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.6282, allocations: 71.66 kB / 0.7322 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002326/0.6284, allocations: 206.8 kB / 0.7324 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001208/0.6296, allocations: 0.6962 MB / 0.7331 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.6297, allocations: 0 / 0.7331 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.994e-06/0.6297, allocations: 0 / 0.7331 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.7e-05/0.6297, allocations: 0 / 0.7331 GB, free: 14.19 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001317/0.631, allocations: 0.8054 MB / 0.7339 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.881e-05/0.6311, allocations: 12.03 kB / 0.7339 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.947e-05/0.6312, allocations: 58.73 kB / 0.734 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.504e-05/0.6313, allocations: 56.56 kB / 0.734 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007532/0.632, allocations: 486.1 kB / 0.7345 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/0.6321, allocations: 16.94 kB / 0.7345 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.186e-05/0.6321, allocations: 31.94 kB / 0.7345 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005324/0.6327, allocations: 320.5 kB / 0.7348 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.6327, allocations: 0 / 0.7348 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.62e-05/0.6327, allocations: 12 kB / 0.7349 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.6327, allocations: 11.94 kB / 0.7349 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004161/0.6332, allocations: 195.8 kB / 0.7351 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001815/0.635, allocations: 1.781 MB / 0.7368 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004739/0.6355, allocations: 168.6 kB / 0.737 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.6356, allocations: 70.64 kB / 0.737 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006184/0.6363, allocations: 0.5181 MB / 0.7375 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.6363, allocations: 42.5 kB / 0.7376 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 3.046e-06/0.6363, allocations: 0 / 0.7376 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.000867/0.6372, allocations: 363.5 kB / 0.7379 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.6372, allocations: 114.8 kB / 0.738 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004556/0.6377, allocations: 438.2 kB / 0.7384 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.6377, allocations: 33.64 kB / 0.7385 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/0.6379, allocations: 248.2 kB / 0.7387 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.261e-05/0.638, allocations: 59.53 kB / 0.7388 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.695e-05/0.638, allocations: 37.7 kB / 0.7388 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.6382, allocations: 358.8 kB / 0.7391 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.6383, allocations: 59.97 kB / 0.7392 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/0.6385, allocations: 113.8 kB / 0.7393 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003082/0.6388, allocations: 169 kB / 0.7395 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.6388, allocations: 7.938 kB / 0.7395 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005327/0.6394, allocations: 279 kB / 0.7397 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.6394, allocations: 8 kB / 0.7398 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.6394, allocations: 0 / 0.7398 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000156/0.6396, allocations: 24.84 kB / 0.7398 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.6397, allocations: 47.91 kB / 0.7398 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001034/0.6408, allocations: 1.391 MB / 0.7412 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001724/0.641, allocations: 35.94 kB / 0.7412 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.965e-05/0.641, allocations: 8 kB / 0.7412 GB, free: 5.176 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000169/0.6412, allocations: 153.7 kB / 0.7414 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.6413, allocations: 51.66 kB / 0.7414 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005612/0.6419, allocations: 257.9 kB / 0.7417 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.6419, allocations: 4 kB / 0.7417 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.6419, allocations: 0 / 0.7417 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.6419, allocations: 0 / 0.7417 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004278/0.6423, allocations: 357.4 kB / 0.742 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.6423, allocations: 0 / 0.742 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.6425, allocations: 31.98 kB / 0.742 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.079e-05/0.6426, allocations: 36.72 kB / 0.7421 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.6426, allocations: 4 kB / 0.7421 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009222/0.6436, allocations: 1.394 MB / 0.7434 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.6436, allocations: 7.969 kB / 0.7434 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005916/0.6442, allocations: 454.3 kB / 0.7439 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.792e-05/0.6443, allocations: 124.8 kB / 0.744 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.915e-05/0.6443, allocations: 7.938 kB / 0.744 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.6445, allocations: 11.98 kB / 0.744 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.476e-05/0.6446, allocations: 19.92 kB / 0.744 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.6446, allocations: 8 kB / 0.744 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000332/0.6449, allocations: 306.9 kB / 0.7443 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6449, allocations: 0 / 0.7443 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004826/0.6454, allocations: 103.8 kB / 0.7444 GB, free: 1.633 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (boundary_fore.rear.m_flow,terminal_rear.p,terminal_fore.p) * 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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.001143/0.6466, allocations: 1.085 MB / 0.7455 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000558/0.6471, allocations: 266.4 kB / 0.7457 GB, free: 252 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.6472, allocations: 4.25 kB / 0.7458 GB, free: 248 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003187/0.6475, allocations: 190.6 kB / 0.7459 GB, free: 44 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007122/0.6482, allocations: 100.6 kB / 0.746 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004445/0.6527, allocations: 3.567 MB / 0.7495 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004033/0.6531, allocations: 0.8074 MB / 0.7503 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001741/0.6533, allocations: 63.06 kB / 0.7504 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/0.6535, allocations: 155.4 kB / 0.7505 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of SimCode: time 7.92e-07/0.6535, allocations: 4 kB / 0.7505 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03538/0.6889, allocations: 10.15 MB / 0.7604 GB, free: 1.238 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.31/11, allocations: 10.66 kB / 0.7604 GB, free: 1.23 MB / 0.5919 GB (rm -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.sim & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.csv --start-time 0 --stop-time 10 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries.fmu > ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches