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.001736/0.001737, allocations: 102.7 kB / 16.4 MB, free: 6.461 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.002115/0.002115, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.439/1.439, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7738/0.7738, allocations: 91.18 MB / 382.4 MB, free: 7.523 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 75.81 kB / 0.5175 GB, free: 4.102 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3773, allocations: 67.69 MB / 0.5836 GB, free: 13.9 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.557/0.9343, allocations: 235 MB / 0.8131 GB, free: 392 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02073/0.9551, allocations: 22.27 MB / 0.8348 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001688/0.9568, allocations: 57.53 kB / 0.8349 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002322/0.9592, allocations: 0.7931 MB / 0.8356 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006655/0.9659, allocations: 2.02 MB / 0.8376 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006955/0.9729, allocations: 2.168 MB / 0.8397 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003742/0.9766, allocations: 2.186 MB / 0.8419 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008371/0.9775, allocations: 416.5 kB / 0.8423 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002958/0.9804, allocations: 1.39 MB / 0.8436 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001672/0.9821, allocations: 0.8348 MB / 0.8444 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004609/0.9826, allocations: 136 kB / 0.8446 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009167/0.9918, allocations: 4.089 MB / 0.8486 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005821/0.9924, allocations: 344 kB / 0.8489 GB, free: 4.301 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001684/0.9941, allocations: 0.8095 MB / 0.8497 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007695/1.002, allocations: 3 MB / 0.8526 GB, free: 0.7148 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/1.002, allocations: 0 / 0.8526 GB, free: 0.7148 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.094e-06/1.002, allocations: 4 kB / 0.8526 GB, free: 0.7109 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.474e-05/1.002, allocations: 0 / 0.8526 GB, free: 0.7109 MB / 0.5919 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.0052/1.007, allocations: 2.291 MB / 0.8548 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/1.007, allocations: 8.031 kB / 0.8549 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0032/1.01, allocations: 417.5 kB / 0.8552 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002132/1.013, allocations: 1.083 MB / 0.8563 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003919/1.013, allocations: 348.1 kB / 0.8566 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002947/1.013, allocations: 131.9 kB / 0.8568 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003232/1.017, allocations: 1.457 MB / 0.8582 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.161e-05/1.017, allocations: 0 / 0.8582 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001506/1.017, allocations: 52 kB / 0.8582 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.289e-05/1.017, allocations: 28 kB / 0.8583 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002796/1.02, allocations: 1.186 MB / 0.8594 GB, free: 9.621 MB / 0.6075 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.007285/1.027, allocations: 5.438 MB / 0.8647 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003079/1.03, allocations: 1.323 MB / 0.866 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001462/1.031, allocations: 0.712 MB / 0.8667 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001186/1.033, allocations: 1.791 MB / 0.8685 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/1.033, allocations: 46 kB / 0.8685 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=113): time 3.196e-06/1.033, allocations: 4 kB / 0.8685 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of matching and sorting (n=113): time 0.008933/1.042, allocations: 3.035 MB / 0.8715 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.084e-05/1.042, allocations: 68.41 kB / 0.8715 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/1.043, allocations: 0.8793 MB / 0.8724 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001153/1.043, allocations: 45.7 kB / 0.8724 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004647/1.044, allocations: 0.6102 MB / 0.873 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003618/1.044, allocations: 386.8 kB / 0.8734 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003549/1.044, allocations: 206.9 kB / 0.8736 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001516/1.045, allocations: 345.9 kB / 0.8739 GB, free: 9.895 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001212/1.046, allocations: 498.3 kB / 0.8744 GB, free: 9.406 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001307/1.047, allocations: 0.5824 MB / 0.875 GB, free: 8.812 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002455/1.05, allocations: 1.055 MB / 0.876 GB, free: 7.75 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/1.05, allocations: 7.938 kB / 0.876 GB, free: 7.742 MB / 0.6231 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005429/1.055, allocations: 1.913 MB / 0.8779 GB, free: 5.824 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/1.055, allocations: 4.062 kB / 0.8779 GB, free: 5.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/1.055, allocations: 4 kB / 0.8779 GB, free: 5.816 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001383/1.057, allocations: 421.4 kB / 0.8783 GB, free: 5.395 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/1.058, allocations: 293.5 kB / 0.8786 GB, free: 5.117 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009722/1.068, allocations: 7.43 MB / 0.8858 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/1.069, allocations: 123.1 kB / 0.886 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002771/1.069, allocations: 71.97 kB / 0.886 GB, free: 12.97 MB / 0.6387 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.000726/1.07, allocations: 271.8 kB / 0.8863 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004061/1.07, allocations: 122.4 kB / 0.8864 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006703/1.077, allocations: 2.711 MB / 0.889 GB, free: 9.859 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.617e-05/1.077, allocations: 12 kB / 0.8891 GB, free: 9.848 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.606e-05/1.077, allocations: 4 kB / 0.8891 GB, free: 9.844 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.606e-05/1.077, allocations: 11.98 kB / 0.8891 GB, free: 9.832 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00847/1.086, allocations: 3.589 MB / 0.8926 GB, free: 6.195 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/1.086, allocations: 4.156 kB / 0.8926 GB, free: 6.191 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00159/1.087, allocations: 290 kB / 0.8929 GB, free: 5.918 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001313/1.089, allocations: 419 kB / 0.8933 GB, free: 5.496 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001555/1.089, allocations: 55.91 kB / 0.8933 GB, free: 5.441 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01004/1.099, allocations: 7.418 MB / 0.9006 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.099, allocations: 4.031 kB / 0.9006 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00695/1.106, allocations: 2.598 MB / 0.9031 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005952/1.107, allocations: 319 kB / 0.9034 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000257/1.107, allocations: 24 kB / 0.9034 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009676/1.108, allocations: 75.86 kB / 0.9035 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002181/1.108, allocations: 92.88 kB / 0.9036 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001304/1.108, allocations: 78.48 kB / 0.9037 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008704/1.109, allocations: 0.6025 MB / 0.9042 GB, free: 9.664 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.613e-06/1.109, allocations: 0 / 0.9042 GB, free: 9.664 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001857/1.111, allocations: 0.6042 MB / 0.9048 GB, free: 9.059 MB / 0.6544 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.001483/1.112, allocations: 0.6777 MB / 0.9055 GB, free: 8.438 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004648/1.117, allocations: 1.903 MB / 0.9074 GB, free: 6.5 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/1.117, allocations: 0 / 0.9074 GB, free: 6.5 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00297/1.12, allocations: 1.363 MB / 0.9087 GB, free: 5.109 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001648/1.122, allocations: 312.1 kB / 0.909 GB, free: 4.812 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006248/1.128, allocations: 3.04 MB / 0.912 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000984/1.129, allocations: 1.19 MB / 0.9131 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009028/1.13, allocations: 243.2 kB / 0.9133 GB, free: 284 kB / 0.6544 GB Notification: Performance of SimCode: time 1.323e-06/1.13, allocations: 4 kB / 0.9133 GB, free: 280 kB / 0.6544 GB Notification: Performance of Templates: time 0.055/1.185, allocations: 46.52 MB / 0.9588 GB, free: 1.781 MB / 0.7012 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches