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.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002164/0.002164, allocations: 108 kB / 15.6 MB, free: 132 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.002958/0.002959, allocations: 193 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.006/2.006, allocations: 222.9 MB / 240.2 MB, free: 4.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 1.143/1.143, allocations: 93.72 MB / 384.1 MB, free: 6.945 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002598/0.002598, allocations: 86.3 kB / 463.5 MB, free: 21.95 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2643, allocations: 68.26 MB / 0.5193 GB, free: 6.891 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.9109/1.175, allocations: 146.9 MB / 0.6628 GB, free: 164 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.007017/1.182, allocations: 3.153 MB / 0.6658 GB, free: 13.58 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009211/1.183, allocations: 27.34 kB / 0.6659 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001377/1.185, allocations: 229.7 kB / 0.6661 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001422/1.186, allocations: 366.4 kB / 0.6664 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001998/1.188, allocations: 460.4 kB / 0.6669 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001361/1.19, allocations: 0.6781 MB / 0.6675 GB, free: 12.33 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000363/1.19, allocations: 133.4 kB / 0.6677 GB, free: 12.27 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001959/1.192, allocations: 482.2 kB / 0.6681 GB, free: 11.97 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005039/1.193, allocations: 295.4 kB / 0.6684 GB, free: 11.8 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.443e-05/1.193, allocations: 25.38 kB / 0.6684 GB, free: 11.8 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00181/1.195, allocations: 0.553 MB / 0.669 GB, free: 11.54 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000158/1.195, allocations: 78.06 kB / 0.669 GB, free: 11.47 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003173/1.195, allocations: 217.2 kB / 0.6692 GB, free: 11.33 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00178/1.197, allocations: 0.6587 MB / 0.6699 GB, free: 10.91 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.427e-05/1.197, allocations: 14.66 kB / 0.6699 GB, free: 10.9 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.775e-06/1.197, allocations: 0 / 0.6699 GB, free: 10.9 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.215e-05/1.197, allocations: 0 / 0.6699 GB, free: 10.9 MB / 494.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.001944/1.199, allocations: 0.7758 MB / 0.6707 GB, free: 10.23 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.207e-05/1.199, allocations: 10.06 kB / 0.6707 GB, free: 10.23 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001047/1.199, allocations: 58.7 kB / 0.6707 GB, free: 10.17 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/1.199, allocations: 55.59 kB / 0.6708 GB, free: 10.14 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008998/1.2, allocations: 432.8 kB / 0.6712 GB, free: 9.762 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.702e-05/1.2, allocations: 26.64 kB / 0.6712 GB, free: 9.746 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001456/1.2, allocations: 26.16 kB / 0.6712 GB, free: 9.738 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006934/1.201, allocations: 323.1 kB / 0.6716 GB, free: 9.496 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/1.201, allocations: 2.438 kB / 0.6716 GB, free: 9.496 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.872e-05/1.201, allocations: 10.62 kB / 0.6716 GB, free: 9.488 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/1.201, allocations: 9.188 kB / 0.6716 GB, free: 9.484 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000473/1.202, allocations: 195 kB / 0.6718 GB, free: 9.395 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003302/1.205, allocations: 1.782 MB / 0.6735 GB, free: 7.684 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005986/1.206, allocations: 174 kB / 0.6737 GB, free: 7.555 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001988/1.206, allocations: 68.67 kB / 0.6737 GB, free: 7.508 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009241/1.207, allocations: 0.5318 MB / 0.6742 GB, free: 6.902 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.535e-05/1.207, allocations: 38.44 kB / 0.6743 GB, free: 6.855 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.433e-06/1.207, allocations: 0 / 0.6743 GB, free: 6.855 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.001308/1.208, allocations: 359.9 kB / 0.6746 GB, free: 6.605 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.435e-05/1.208, allocations: 112.5 kB / 0.6747 GB, free: 6.473 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008656/1.209, allocations: 441.1 kB / 0.6752 GB, free: 6.207 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.904e-05/1.209, allocations: 29.7 kB / 0.6752 GB, free: 6.172 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002749/1.21, allocations: 241.6 kB / 0.6754 GB, free: 5.957 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.658e-05/1.21, allocations: 61.98 kB / 0.6755 GB, free: 5.902 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/1.21, allocations: 49.39 kB / 0.6755 GB, free: 5.863 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002603/1.21, allocations: 352.6 kB / 0.6759 GB, free: 5.52 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/1.21, allocations: 56.27 kB / 0.6759 GB, free: 5.496 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/1.21, allocations: 112.2 kB / 0.676 GB, free: 5.402 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004084/1.211, allocations: 179.2 kB / 0.6762 GB, free: 5.277 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.66e-05/1.211, allocations: 3.938 kB / 0.6762 GB, free: 5.273 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008078/1.212, allocations: 256.5 kB / 0.6764 GB, free: 5.133 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.906e-05/1.212, allocations: 5.625 kB / 0.6764 GB, free: 5.133 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/1.212, allocations: 2.281 kB / 0.6764 GB, free: 5.133 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002408/1.212, allocations: 27.41 kB / 0.6765 GB, free: 5.113 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002039/1.212, allocations: 49.23 kB / 0.6765 GB, free: 5.102 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001894/1.214, allocations: 1.384 MB / 0.6779 GB, free: 3.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002105/1.214, allocations: 33.14 kB / 0.6779 GB, free: 3.637 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.309e-05/1.214, allocations: 11.81 kB / 0.6779 GB, free: 3.633 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.0002943/1.215, allocations: 159.6 kB / 0.6781 GB, free: 3.484 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003074/1.215, allocations: 50.09 kB / 0.6781 GB, free: 3.457 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007434/1.216, allocations: 256.5 kB / 0.6784 GB, free: 3.289 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/1.216, allocations: 3.031 kB / 0.6784 GB, free: 3.289 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/1.216, allocations: 0 / 0.6784 GB, free: 3.289 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/1.216, allocations: 10.25 kB / 0.6784 GB, free: 3.281 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005699/1.216, allocations: 355.4 kB / 0.6787 GB, free: 2.961 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.145e-06/1.216, allocations: 0 / 0.6787 GB, free: 2.961 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002136/1.217, allocations: 35.64 kB / 0.6787 GB, free: 2.953 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002771/1.217, allocations: 27.3 kB / 0.6788 GB, free: 2.934 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.698e-05/1.217, allocations: 9.922 kB / 0.6788 GB, free: 2.926 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001347/1.218, allocations: 1.379 MB / 0.6801 GB, free: 1.48 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.303e-06/1.218, allocations: 6.562 kB / 0.6801 GB, free: 1.477 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/1.219, allocations: 455.9 kB / 0.6806 GB, free: 1.133 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/1.22, allocations: 122.5 kB / 0.6807 GB, free: 1.004 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.424e-05/1.22, allocations: 7 kB / 0.6807 GB, free: 1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/1.22, allocations: 8.812 kB / 0.6807 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.242e-05/1.22, allocations: 15.22 kB / 0.6807 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/1.22, allocations: 6.906 kB / 0.6807 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005495/1.22, allocations: 310.7 kB / 0.681 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.71e-07/1.221, allocations: 2.312 kB / 0.681 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006723/1.221, allocations: 102.9 kB / 0.6811 GB, free: 0.7695 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.00172/1.223, allocations: 1.076 MB / 0.6822 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007885/1.224, allocations: 279.1 kB / 0.6824 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/1.224, allocations: 8.25 kB / 0.6824 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003821/1.224, allocations: 192.5 kB / 0.6826 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009729/1.225, allocations: 100.7 kB / 0.6827 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00641/1.232, allocations: 3.621 MB / 0.6863 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000722/1.232, allocations: 0.8137 MB / 0.6871 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002593/1.233, allocations: 58.31 kB / 0.6871 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002713/1.233, allocations: 158.2 kB / 0.6873 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of SimCode: time 1.433e-06/1.233, allocations: 0 / 0.6873 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06517/1.298, allocations: 9.997 MB / 0.697 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.12/18.41, allocations: 6.688 kB / 0.697 GB, free: 4.027 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries.fmu > ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_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_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches