Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.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: translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|counterFlowNTU1.h_out_A|counterFlowNTU1.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|counterFlowNTU1.h_out_A|counterFlowNTU1.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006983/0.006983, allocations: 98.67 kB / 15.73 MB, free: 5.988 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.001382/0.001383, allocations: 199.3 kB / 16.68 MB, free: 5.918 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.396/1.396, 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.7033/0.7033, allocations: 91.18 MB / 381.7 MB, free: 9.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 79.88 kB / 0.5168 GB, free: 9.012 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1568, allocations: 67.69 MB / 0.583 GB, free: 5.238 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.594/0.7508, allocations: 234.9 MB / 0.8124 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02763/0.7785, allocations: 22.29 MB / 0.8342 GB, free: 6.316 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001584/0.7801, allocations: 55.62 kB / 0.8342 GB, free: 6.262 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002392/0.7826, allocations: 0.7878 MB / 0.835 GB, free: 5.469 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00588/0.7885, allocations: 2.015 MB / 0.8369 GB, free: 3.445 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006344/0.7949, allocations: 2.176 MB / 0.8391 GB, free: 1.266 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.4317/1.227, allocations: 2.176 MB / 0.8412 GB, free: 4.898 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009276/1.228, allocations: 414.2 kB / 0.8416 GB, free: 4.789 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003438/1.231, allocations: 1.386 MB / 0.8429 GB, free: 4.789 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001266/1.232, allocations: 0.8326 MB / 0.8438 GB, free: 4.789 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003131/1.233, allocations: 135.1 kB / 0.8439 GB, free: 4.789 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00898/1.242, allocations: 4.083 MB / 0.8479 GB, free: 4.781 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0005489/1.242, allocations: 341.7 kB / 0.8482 GB, free: 4.781 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001412/1.244, allocations: 0.8167 MB / 0.849 GB, free: 4.781 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.008489/1.252, allocations: 2.997 MB / 0.8519 GB, free: 4.703 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/1.252, allocations: 0.8438 kB / 0.8519 GB, free: 4.703 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.214e-06/1.252, allocations: 0.7188 kB / 0.8519 GB, free: 4.703 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.883e-05/1.252, allocations: 0.7812 kB / 0.8519 GB, free: 4.703 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.006071/1.258, allocations: 2.298 MB / 0.8542 GB, free: 19.73 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 6.533e-05/1.258, allocations: 10.03 kB / 0.8542 GB, free: 19.73 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003245/1.262, allocations: 410.4 kB / 0.8546 GB, free: 19.63 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002167/1.264, allocations: 1.083 MB / 0.8556 GB, free: 19.23 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003933/1.264, allocations: 348.5 kB / 0.856 GB, free: 18.98 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002284/1.264, allocations: 127.9 kB / 0.8561 GB, free: 18.98 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003142/1.268, allocations: 1.453 MB / 0.8575 GB, free: 18.84 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.827e-05/1.268, allocations: 2.375 kB / 0.8575 GB, free: 18.84 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/1.268, allocations: 51.73 kB / 0.8576 GB, free: 18.84 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.796e-05/1.268, allocations: 30.59 kB / 0.8576 GB, free: 18.84 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002804/1.271, allocations: 1.189 MB / 0.8587 GB, free: 18.82 MB / 0.6856 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008012/1.279, allocations: 5.438 MB / 0.8641 GB, free: 16.02 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003252/1.282, allocations: 1.314 MB / 0.8653 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001714/1.284, allocations: 0.7126 MB / 0.866 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001396/1.285, allocations: 1.79 MB / 0.8678 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/1.285, allocations: 47.81 kB / 0.8678 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=113): time 3.456e-06/1.285, allocations: 0.5938 kB / 0.8678 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of matching and sorting (n=113): time 0.009393/1.294, allocations: 3.044 MB / 0.8708 GB, free: 13.35 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/1.294, allocations: 67.94 kB / 0.8709 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001369/1.296, allocations: 0.8726 MB / 0.8717 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001333/1.296, allocations: 47.73 kB / 0.8718 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004099/1.296, allocations: 0.6055 MB / 0.8724 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002751/1.297, allocations: 394.5 kB / 0.8727 GB, free: 12.63 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003558/1.297, allocations: 211.3 kB / 0.8729 GB, free: 12.61 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001311/1.297, allocations: 344.9 kB / 0.8733 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001167/1.298, allocations: 498.7 kB / 0.8737 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001199/1.3, allocations: 0.5864 MB / 0.8743 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002329/1.302, allocations: 1.053 MB / 0.8753 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/1.302, allocations: 2.375 kB / 0.8753 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005226/1.307, allocations: 1.916 MB / 0.8772 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/1.307, allocations: 5.594 kB / 0.8772 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/1.307, allocations: 1.25 kB / 0.8772 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001352/1.309, allocations: 412.6 kB / 0.8776 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001492/1.31, allocations: 301.6 kB / 0.8779 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009294/1.319, allocations: 7.408 MB / 0.8851 GB, free: 6.609 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/1.321, allocations: 137.7 kB / 0.8853 GB, free: 6.562 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001626/1.321, allocations: 68.19 kB / 0.8853 GB, free: 6.562 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (112): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,1,88.9%), (3,1,88.9%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000663/1.322, allocations: 276.4 kB / 0.8856 GB, free: 6.438 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000286/1.322, allocations: 128.9 kB / 0.8857 GB, free: 6.367 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006508/1.328, allocations: 2.713 MB / 0.8884 GB, free: 6.184 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/1.329, allocations: 11.66 kB / 0.8884 GB, free: 6.184 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/1.329, allocations: 2.781 kB / 0.8884 GB, free: 6.184 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.404e-05/1.329, allocations: 7.125 kB / 0.8884 GB, free: 6.184 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00771/1.336, allocations: 3.594 MB / 0.8919 GB, free: 5.613 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/1.336, allocations: 5.594 kB / 0.8919 GB, free: 5.613 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001491/1.338, allocations: 286 kB / 0.8922 GB, free: 5.613 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001211/1.339, allocations: 421 kB / 0.8926 GB, free: 5.57 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001155/1.339, allocations: 50.02 kB / 0.8926 GB, free: 5.57 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008791/1.348, allocations: 7.424 MB / 0.8999 GB, free: 116 kB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/1.348, allocations: 11 kB / 0.8999 GB, free: 112 kB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006565/1.355, allocations: 2.598 MB / 0.9024 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007395/1.355, allocations: 310 kB / 0.9027 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001731/1.355, allocations: 28.44 kB / 0.9027 GB, free: 15.58 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008295/1.356, allocations: 76.48 kB / 0.9028 GB, free: 15.58 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002321/1.357, allocations: 102.9 kB / 0.9029 GB, free: 15.57 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001298/1.357, allocations: 68.09 kB / 0.903 GB, free: 15.57 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0007781/1.357, allocations: 0.6071 MB / 0.9036 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.91e-07/1.357, allocations: 4 kB / 0.9036 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002041/1.36, allocations: 0.5997 MB / 0.9042 GB, free: 15.36 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,counterFlowNTU1.h_out_A,counterFlowNTU1.h_out_B,mCV.inlet.m_flow,mCV.dp_int,mCV1.inlet.m_flow,mCV1.dp_int) * 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 (106): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,5,100.0%), (1,5,100.0%), (3,1,88.9%), (3,1,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001371/1.361, allocations: 0.6831 MB / 0.9048 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004436/1.365, allocations: 1.891 MB / 0.9067 GB, free: 14.65 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/1.365, allocations: 0 / 0.9067 GB, free: 14.65 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0035/1.369, allocations: 1.371 MB / 0.908 GB, free: 14.17 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002157/1.371, allocations: 310.7 kB / 0.9083 GB, free: 14.12 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006521/1.378, allocations: 3.005 MB / 0.9112 GB, free: 12.78 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007573/1.378, allocations: 1.189 MB / 0.9124 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001802/1.38, allocations: 0.8467 MB / 0.9132 GB, free: 11.9 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000541/1.381, allocations: 184.8 kB / 0.9134 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of SimCode: time 1.803e-06/1.381, allocations: 0 / 0.9134 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of Templates: time 0.04516/1.426, allocations: 25.7 MB / 0.9385 GB, free: 9.039 MB / 0.7169 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.makefile (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches