Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.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.0008863/0.0008863, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0009439/0.0009439, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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 0.8819/0.8819, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.6381/0.6381, allocations: 116 MB / 375.2 MB, free: 4.18 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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.Undirected.Boundaries.Tests.TestBoundaries,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.5533 GB, free: 13.33 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.131e-05/1.268e-05, allocations: 2.281 kB / 0.5533 GB, free: 13.32 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.4313/0.4313, allocations: 127 MB / 0.6773 GB, free: 6.844 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.003249/0.4346, allocations: 2.901 MB / 0.6801 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004976/0.4351, allocations: 39.97 kB / 0.6802 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0006156/0.4357, allocations: 219.7 kB / 0.6804 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0008152/0.4365, allocations: 419.8 kB / 0.6808 GB, free: 6.465 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009934/0.4375, allocations: 478.5 kB / 0.6812 GB, free: 6.414 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001039/0.4385, allocations: 0.7563 MB / 0.682 GB, free: 6.406 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002337/0.4388, allocations: 85.09 kB / 0.682 GB, free: 6.387 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00107/0.4398, allocations: 0.6184 MB / 0.6827 GB, free: 6.277 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002935/0.4401, allocations: 265.8 kB / 0.6829 GB, free: 6.25 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.727e-05/0.4402, allocations: 24.97 kB / 0.6829 GB, free: 6.25 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007787/0.4409, allocations: 474.2 kB / 0.6834 GB, free: 6.203 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 7.385e-05/0.441, allocations: 81.06 kB / 0.6835 GB, free: 6.18 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.4412, allocations: 146.6 kB / 0.6836 GB, free: 6.152 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0009004/0.4421, allocations: 0.684 MB / 0.6843 GB, free: 6.062 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.4421, allocations: 1.062 kB / 0.6843 GB, free: 6.062 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.555e-06/0.4421, allocations: 0 / 0.6843 GB, free: 6.062 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.4421, allocations: 0 / 0.6843 GB, free: 6.062 MB / 0.5573 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.001115/0.4432, allocations: 0.7328 MB / 0.685 GB, free: 5.59 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.4432, allocations: 10.12 kB / 0.685 GB, free: 5.59 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.585e-05/0.4433, allocations: 65.88 kB / 0.6851 GB, free: 5.547 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.572e-05/0.4433, allocations: 60.44 kB / 0.6851 GB, free: 5.516 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006406/0.444, allocations: 402 kB / 0.6855 GB, free: 5.301 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.444, allocations: 18.44 kB / 0.6855 GB, free: 5.301 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.03e-05/0.444, allocations: 37.42 kB / 0.6856 GB, free: 5.293 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003789/0.4444, allocations: 321.2 kB / 0.6859 GB, free: 5.18 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.4444, allocations: 3.938 kB / 0.6859 GB, free: 5.176 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.4445, allocations: 12.97 kB / 0.6859 GB, free: 5.176 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.689e-06/0.4445, allocations: 7.625 kB / 0.6859 GB, free: 5.176 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002658/0.4447, allocations: 201.4 kB / 0.6861 GB, free: 5.164 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.4459, allocations: 1.407 MB / 0.6874 GB, free: 4.195 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003561/0.4462, allocations: 162.6 kB / 0.6876 GB, free: 4.117 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.4464, allocations: 70.45 kB / 0.6877 GB, free: 4.09 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002488/0.4466, allocations: 71.3 kB / 0.6877 GB, free: 4.09 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.515e-05/0.4466, allocations: 40.34 kB / 0.6878 GB, free: 4.047 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=15): time 1.563e-06/0.4466, allocations: 1.125 kB / 0.6878 GB, free: 4.047 MB / 0.5573 GB Notification: Performance of matching and sorting (n=15): time 0.0005684/0.4472, allocations: 287.9 kB / 0.6881 GB, free: 3.969 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.4472, allocations: 106.1 kB / 0.6882 GB, free: 3.844 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004165/0.4476, allocations: 455.3 kB / 0.6886 GB, free: 3.715 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.4476, allocations: 28.86 kB / 0.6886 GB, free: 3.684 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.4478, allocations: 241.5 kB / 0.6888 GB, free: 3.57 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/0.4478, allocations: 62.59 kB / 0.6889 GB, free: 3.531 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.225e-05/0.4479, allocations: 44.92 kB / 0.6889 GB, free: 3.516 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.398e-05/0.4479, allocations: 353.8 kB / 0.6893 GB, free: 3.203 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.448, allocations: 62.25 kB / 0.6893 GB, free: 3.199 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.4482, allocations: 113.6 kB / 0.6895 GB, free: 3.141 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002295/0.4484, allocations: 170.8 kB / 0.6896 GB, free: 3.082 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.4484, allocations: 3.938 kB / 0.6896 GB, free: 3.078 MB / 0.5573 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003675/0.4488, allocations: 269.9 kB / 0.6899 GB, free: 2.996 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.395e-05/0.4488, allocations: 5.719 kB / 0.6899 GB, free: 2.996 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.4488, allocations: 1.406 kB / 0.6899 GB, free: 2.996 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002242/0.449, allocations: 28.31 kB / 0.6899 GB, free: 2.984 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.4492, allocations: 55.52 kB / 0.69 GB, free: 2.977 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006484/0.4498, allocations: 1.275 MB / 0.6912 GB, free: 1.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.4499, allocations: 34.97 kB / 0.6912 GB, free: 1.734 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.4499, allocations: 14.03 kB / 0.6913 GB, free: 1.73 MB / 0.5573 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.0001201/0.4501, allocations: 148.7 kB / 0.6914 GB, free: 1.613 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.225e-05/0.4501, allocations: 53.77 kB / 0.6914 GB, free: 1.582 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003872/0.4505, allocations: 255 kB / 0.6917 GB, free: 1.52 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.4505, allocations: 2.281 kB / 0.6917 GB, free: 1.52 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.4505, allocations: 1.156 kB / 0.6917 GB, free: 1.52 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.4505, allocations: 1.094 kB / 0.6917 GB, free: 1.52 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003219/0.4508, allocations: 309.9 kB / 0.692 GB, free: 1.355 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.4508, allocations: 3.75 kB / 0.692 GB, free: 1.355 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.631e-05/0.4509, allocations: 35.25 kB / 0.692 GB, free: 1.352 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.237e-05/0.451, allocations: 22.02 kB / 0.692 GB, free: 1.344 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.451, allocations: 13.62 kB / 0.6921 GB, free: 1.336 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004389/0.4515, allocations: 1.282 MB / 0.6933 GB, free: 108 kB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.4515, allocations: 1.984 kB / 0.6933 GB, free: 108 kB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004999/0.452, allocations: 460.2 kB / 0.6938 GB, free: 15.84 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.987e-05/0.4521, allocations: 57.23 kB / 0.6938 GB, free: 15.82 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.4521, allocations: 5.562 kB / 0.6938 GB, free: 15.82 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.4522, allocations: 7.797 kB / 0.6938 GB, free: 15.82 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.951e-05/0.4522, allocations: 24.27 kB / 0.6938 GB, free: 15.81 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.4522, allocations: 7.375 kB / 0.6939 GB, free: 15.81 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002868/0.4525, allocations: 315 kB / 0.6942 GB, free: 15.72 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.1e-08/0.4525, allocations: 1.281 kB / 0.6942 GB, free: 15.72 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0003728/0.4529, allocations: 102.5 kB / 0.6943 GB, free: 15.71 MB / 0.573 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.0009098/0.4538, allocations: 1.078 MB / 0.6953 GB, free: 14.9 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0004038/0.4542, allocations: 269.8 kB / 0.6956 GB, free: 14.78 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4542, allocations: 1.719 kB / 0.6956 GB, free: 14.78 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002051/0.4544, allocations: 183.9 kB / 0.6957 GB, free: 14.66 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007078/0.4551, allocations: 168.9 kB / 0.6959 GB, free: 14.63 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003278/0.4584, allocations: 3.477 MB / 0.6993 GB, free: 12.82 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001759/0.4586, allocations: 207.8 kB / 0.6995 GB, free: 12.73 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001395/0.4587, allocations: 64.39 kB / 0.6996 GB, free: 12.71 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.4588, allocations: 157.3 kB / 0.6997 GB, free: 12.7 MB / 0.573 GB Notification: Performance of SimCode: time 6.11e-07/0.4588, allocations: 0 / 0.6997 GB, free: 12.7 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02828/0.4871, allocations: 12.58 MB / 0.712 GB, free: 7.383 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8/8.487, allocations: 15.27 kB / 0.712 GB, free: 7.375 MB / 0.573 GB " [Timeout remaining time 651] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_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_dev_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries.fmu > ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.csv. Warning: Get data of variable Time from file ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.csv failed! Error: Could not read variable boundary_rear.fore.m_flow in file ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.csv. Warning: Get data of variable boundary_rear.fore.m_flow from file ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:Time,boundary_rear.fore.m_flow,terminal_fore.p,terminal_rear.p Variables in the result:time,boundary_fore.rear.m_flow,terminal_fore.p,terminal_rear.p [Calling sys.exit(0), Time elapsed: 11.136687538586557]