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/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/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.006228/0.006228, allocations: 98.02 kB / 15.73 MB, free: 6.004 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.001599/0.001599, allocations: 199.3 kB / 16.68 MB, free: 5.934 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.6856/0.6856, allocations: 89.47 MB / 380 MB, free: 10.95 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002477/0.002477, allocations: 79.88 kB / 0.5139 GB, free: 11.74 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.131, allocations: 67.29 MB / 0.5797 GB, free: 8.371 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.4601/0.5912, allocations: 146.7 MB / 0.723 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003819/0.5951, allocations: 3.095 MB / 0.726 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002757/0.5954, allocations: 7.938 kB / 0.726 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006532/0.5961, allocations: 222.5 kB / 0.7262 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0007646/0.5968, allocations: 325.9 kB / 0.7265 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.5979, allocations: 470.3 kB / 0.727 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006387/0.5985, allocations: 0.5717 MB / 0.7275 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002304/0.5988, allocations: 129 kB / 0.7276 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009471/0.5997, allocations: 430.1 kB / 0.7281 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003678/0.6001, allocations: 275 kB / 0.7283 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.203e-05/0.6002, allocations: 24 kB / 0.7283 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001051/0.6012, allocations: 0.5536 MB / 0.7289 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.25e-05/0.6013, allocations: 59.72 kB / 0.7289 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001777/0.6015, allocations: 183.1 kB / 0.7291 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008671/0.6023, allocations: 0.5796 MB / 0.7297 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.6024, allocations: 8 kB / 0.7297 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6024, allocations: 0 / 0.7297 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.6024, allocations: 0 / 0.7297 GB, free: 2.797 MB / 0.5606 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.001101/0.6035, allocations: 0.689 MB / 0.7304 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.6035, allocations: 12.03 kB / 0.7304 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.023e-05/0.6036, allocations: 59.48 kB / 0.7304 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.362e-05/0.6037, allocations: 44.66 kB / 0.7305 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003534/0.604, allocations: 295.6 kB / 0.7307 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.6041, allocations: 24.94 kB / 0.7308 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.361e-05/0.6041, allocations: 28.55 kB / 0.7308 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005336/0.6047, allocations: 332.3 kB / 0.7311 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.6047, allocations: 0 / 0.7311 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.771e-05/0.6047, allocations: 12 kB / 0.7311 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.6048, allocations: 4 kB / 0.7311 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004276/0.6052, allocations: 196.6 kB / 0.7313 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001897/0.6071, allocations: 1.747 MB / 0.733 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004768/0.6076, allocations: 172.2 kB / 0.7332 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.6078, allocations: 74.62 kB / 0.7333 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006887/0.6085, allocations: 0.5181 MB / 0.7338 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.6085, allocations: 34.5 kB / 0.7338 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.533e-06/0.6085, allocations: 4 kB / 0.7338 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.000874/0.6094, allocations: 356.2 kB / 0.7341 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.402e-05/0.6095, allocations: 106.8 kB / 0.7342 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003487/0.6098, allocations: 333.7 kB / 0.7346 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.6098, allocations: 25.7 kB / 0.7346 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.61, allocations: 204.2 kB / 0.7348 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.479e-05/0.6101, allocations: 51.53 kB / 0.7348 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.274e-05/0.6101, allocations: 41.72 kB / 0.7349 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.6103, allocations: 342.8 kB / 0.7352 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.6105, allocations: 59.59 kB / 0.7353 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.6107, allocations: 109.9 kB / 0.7354 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003376/0.611, allocations: 184.5 kB / 0.7355 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.611, allocations: 7.938 kB / 0.7355 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005032/0.6115, allocations: 242.1 kB / 0.7358 GB, free: 12 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.6116, allocations: 8.125 kB / 0.7358 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.6116, allocations: 7.984 kB / 0.7358 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000161/0.6117, allocations: 20.86 kB / 0.7358 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.6119, allocations: 51.91 kB / 0.7359 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001143/0.6131, allocations: 1.387 MB / 0.7372 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.6133, allocations: 27.88 kB / 0.7372 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-05/0.6133, allocations: 12 kB / 0.7372 GB, free: 10.34 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.0001628/0.6135, allocations: 153.8 kB / 0.7374 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.548e-05/0.6136, allocations: 39.7 kB / 0.7374 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005937/0.6142, allocations: 247.7 kB / 0.7377 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.6142, allocations: 0 / 0.7377 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.6142, allocations: 4 kB / 0.7377 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.6142, allocations: 0 / 0.7377 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004142/0.6146, allocations: 321.4 kB / 0.738 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.6146, allocations: 0 / 0.738 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/0.6148, allocations: 31.98 kB / 0.738 GB, free: 9.492 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.459e-05/0.6149, allocations: 25.25 kB / 0.738 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/0.6149, allocations: 15.94 kB / 0.7381 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001047/0.616, allocations: 1.39 MB / 0.7394 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.237e-06/0.616, allocations: 7.875 kB / 0.7394 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006387/0.6166, allocations: 445.3 kB / 0.7398 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.968e-05/0.6167, allocations: 104.9 kB / 0.7399 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.631e-05/0.6168, allocations: 7.969 kB / 0.7399 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.6169, allocations: 12 kB / 0.74 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.245e-05/0.617, allocations: 11.92 kB / 0.74 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.617, allocations: 11.98 kB / 0.74 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002589/0.6173, allocations: 231.2 kB / 0.7402 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6173, allocations: 4 kB / 0.7402 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004526/0.6178, allocations: 99.81 kB / 0.7403 GB, free: 6.965 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.001187/0.619, allocations: 1.068 MB / 0.7413 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005901/0.6196, allocations: 266.5 kB / 0.7416 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.6196, allocations: 0 / 0.7416 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003396/0.6199, allocations: 198.8 kB / 0.7418 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007217/0.6206, allocations: 91.55 kB / 0.7419 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004011/0.6247, allocations: 3.099 MB / 0.7449 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004178/0.6251, allocations: 0.7714 MB / 0.7457 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001799/0.6253, allocations: 54.52 kB / 0.7457 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.6254, allocations: 103.4 kB / 0.7458 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of SimCode: time 5.41e-07/0.6255, allocations: 0 / 0.7458 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04049/0.6659, allocations: 8.74 MB / 0.7543 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/11.26, allocations: 10.55 kB / 0.7544 GB, free: 8.562 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries.fmu > ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat","/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