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.0008341/0.0008341, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004941/0.004941, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.145/1.145, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5303/0.5303, allocations: 89.64 MB / 381.1 MB, free: 11.3 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002923/0.0002923, allocations: 13.06 kB / 460.7 MB, free: 24.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09046/0.09076, allocations: 68.83 MB / 0.5172 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.3115/0.4023, allocations: 142.9 MB / 0.6567 GB, free: 7.215 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002848/0.4052, allocations: 3.101 MB / 0.6598 GB, free: 4.68 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.4053, allocations: 8.594 kB / 0.6598 GB, free: 4.676 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004483/0.4058, allocations: 194.8 kB / 0.66 GB, free: 4.52 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000474/0.4063, allocations: 308.3 kB / 0.6603 GB, free: 4.273 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006006/0.4069, allocations: 408.8 kB / 0.6606 GB, free: 3.977 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004952/0.4074, allocations: 0.6941 MB / 0.6613 GB, free: 3.586 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.4076, allocations: 117.6 kB / 0.6614 GB, free: 3.52 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000597/0.4082, allocations: 401 kB / 0.6618 GB, free: 3.273 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002532/0.4084, allocations: 256.8 kB / 0.6621 GB, free: 3.137 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.317e-05/0.4085, allocations: 10.88 kB / 0.6621 GB, free: 3.137 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006885/0.4092, allocations: 0.5347 MB / 0.6626 GB, free: 2.875 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.275e-05/0.4092, allocations: 50.58 kB / 0.6626 GB, free: 2.836 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.4093, allocations: 180.3 kB / 0.6628 GB, free: 2.715 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005432/0.4099, allocations: 0.5545 MB / 0.6634 GB, free: 2.367 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4099, allocations: 4 kB / 0.6634 GB, free: 2.363 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.4099, allocations: 0 / 0.6634 GB, free: 2.363 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.4099, allocations: 7.938 kB / 0.6634 GB, free: 2.355 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0007832/0.4107, allocations: 0.629 MB / 0.664 GB, free: 1.797 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.931e-05/0.4107, allocations: 7.75 kB / 0.664 GB, free: 1.797 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.416e-05/0.4108, allocations: 59.42 kB / 0.664 GB, free: 1.738 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.548e-05/0.4109, allocations: 47.66 kB / 0.6641 GB, free: 1.715 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.4111, allocations: 297.9 kB / 0.6644 GB, free: 1.426 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.4111, allocations: 16.75 kB / 0.6644 GB, free: 1.418 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.094e-05/0.4112, allocations: 36.17 kB / 0.6644 GB, free: 1.402 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004396/0.4116, allocations: 336 kB / 0.6647 GB, free: 1.152 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.4117, allocations: 0 / 0.6647 GB, free: 1.152 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.4117, allocations: 10.06 kB / 0.6648 GB, free: 1.145 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.4117, allocations: 9.188 kB / 0.6648 GB, free: 1.145 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003592/0.4121, allocations: 208.4 kB / 0.665 GB, free: 1.051 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001451/0.4135, allocations: 1.747 MB / 0.6667 GB, free: 15.37 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003677/0.4139, allocations: 182.8 kB / 0.6668 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.414, allocations: 80.8 kB / 0.6669 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005543/0.4146, allocations: 0.5312 MB / 0.6674 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.4146, allocations: 46.42 kB / 0.6675 GB, free: 14.54 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.4146, allocations: 0 / 0.6675 GB, free: 14.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007213/0.4154, allocations: 364.7 kB / 0.6678 GB, free: 14.29 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.4154, allocations: 102.8 kB / 0.6679 GB, free: 14.17 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002628/0.4157, allocations: 331.1 kB / 0.6682 GB, free: 13.96 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.4157, allocations: 29.7 kB / 0.6683 GB, free: 13.92 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.4159, allocations: 194.8 kB / 0.6685 GB, free: 13.74 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.048e-05/0.4159, allocations: 61 kB / 0.6685 GB, free: 13.69 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.109e-05/0.4159, allocations: 25.59 kB / 0.6685 GB, free: 13.66 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.4161, allocations: 344.5 kB / 0.6689 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.4162, allocations: 58.5 kB / 0.6689 GB, free: 13.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.4164, allocations: 118.8 kB / 0.669 GB, free: 13.21 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002869/0.4167, allocations: 189.7 kB / 0.6692 GB, free: 13.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.4167, allocations: 7.938 kB / 0.6692 GB, free: 13.08 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004308/0.4171, allocations: 266.8 kB / 0.6695 GB, free: 12.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.4171, allocations: 9.875 kB / 0.6695 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.4171, allocations: 0 / 0.6695 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00011/0.4173, allocations: 22.06 kB / 0.6695 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.4174, allocations: 53.84 kB / 0.6696 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007753/0.4182, allocations: 1.285 MB / 0.6708 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.4184, allocations: 37.95 kB / 0.6709 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.4184, allocations: 16.12 kB / 0.6709 GB, free: 11.53 MB / 494.1 MB 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.0001131/0.4185, allocations: 141.1 kB / 0.671 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.288e-05/0.4186, allocations: 35.56 kB / 0.671 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004912/0.4191, allocations: 264.7 kB / 0.6713 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.4191, allocations: 4.031 kB / 0.6713 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.4191, allocations: 2.531 kB / 0.6713 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.4191, allocations: 4 kB / 0.6713 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003312/0.4194, allocations: 308.9 kB / 0.6716 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.4195, allocations: 2.156 kB / 0.6716 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.4196, allocations: 39.53 kB / 0.6716 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.515e-05/0.4197, allocations: 27.53 kB / 0.6717 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.4197, allocations: 11.12 kB / 0.6717 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007445/0.4205, allocations: 1.289 MB / 0.6729 GB, free: 9.523 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4205, allocations: 0 / 0.6729 GB, free: 9.523 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005339/0.421, allocations: 469.8 kB / 0.6734 GB, free: 9.184 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.319e-05/0.4211, allocations: 112.7 kB / 0.6735 GB, free: 9.062 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.995e-05/0.4211, allocations: 2.531 kB / 0.6735 GB, free: 9.062 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.4213, allocations: 16.3 kB / 0.6735 GB, free: 9.055 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/0.4213, allocations: 13.77 kB / 0.6735 GB, free: 9.047 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.4214, allocations: 9.094 kB / 0.6735 GB, free: 9.043 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001849/0.4216, allocations: 232.2 kB / 0.6737 GB, free: 8.898 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4216, allocations: 3.156 kB / 0.6737 GB, free: 8.898 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003582/0.4219, allocations: 98.81 kB / 0.6738 GB, free: 8.871 MB / 494.1 MB 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.000874/0.4228, allocations: 1.084 MB / 0.6749 GB, free: 7.961 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004491/0.4233, allocations: 280 kB / 0.6752 GB, free: 7.781 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4233, allocations: 4.25 kB / 0.6752 GB, free: 7.777 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002713/0.4236, allocations: 199.9 kB / 0.6754 GB, free: 7.625 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000653/0.4242, allocations: 88.64 kB / 0.6754 GB, free: 7.578 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003345/0.4276, allocations: 3.319 MB / 0.6787 GB, free: 4.391 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.4279, allocations: 0.7753 MB / 0.6794 GB, free: 3.59 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001459/0.428, allocations: 42.28 kB / 0.6795 GB, free: 3.551 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.4281, allocations: 107.4 kB / 0.6796 GB, free: 3.449 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4281, allocations: 0 / 0.6796 GB, free: 3.449 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.61/2.038, allocations: 8.179 MB / 0.6876 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000193/2.039, allocations: 235.7 kB / 0.6878 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.761/3.8, allocations: 2.344 kB / 0.6878 GB, free: 11.24 MB / 0.4981 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