Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 100.1 kB / 15.88 MB, free: 8 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.001418/0.001418, allocations: 196.8 kB / 16.79 MB, free: 6.824 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.288/1.288, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6201/0.6201, allocations: 89.52 MB / 380.1 MB, free: 11.24 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002276/0.002276, allocations: 75.05 kB / 458.2 MB, free: 23.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1209, allocations: 67.31 MB / 0.5132 GB, free: 12.9 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.4158/0.5367, allocations: 212.7 MB / 0.7209 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01871/0.5555, allocations: 17.5 MB / 0.738 GB, free: 12.81 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009461/0.5564, allocations: 23.88 kB / 0.7381 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001519/0.558, allocations: 0.5285 MB / 0.7386 GB, free: 12.26 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003787/0.5618, allocations: 1.505 MB / 0.74 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003743/0.5656, allocations: 1.444 MB / 0.7415 GB, free: 9.301 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001979/0.5676, allocations: 1.759 MB / 0.7432 GB, free: 7.535 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004366/0.568, allocations: 258.7 kB / 0.7434 GB, free: 7.27 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002008/0.57, allocations: 1.078 MB / 0.7445 GB, free: 6.188 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006396/0.5707, allocations: 0.5949 MB / 0.7451 GB, free: 5.59 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.5708, allocations: 64 kB / 0.7451 GB, free: 5.527 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006325/0.5771, allocations: 3.595 MB / 0.7486 GB, free: 1.926 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000212/0.5774, allocations: 207.1 kB / 0.7488 GB, free: 1.723 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005681/0.5779, allocations: 0.5439 MB / 0.7494 GB, free: 1.176 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002508/0.5805, allocations: 1.571 MB / 0.7509 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.5805, allocations: 0 / 0.7509 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.81e-07/0.5805, allocations: 3.938 kB / 0.7509 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.5805, allocations: 4 kB / 0.7509 GB, free: 15.59 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.00319/0.5837, allocations: 1.662 MB / 0.7525 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.5837, allocations: 8.031 kB / 0.7525 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00194/0.5857, allocations: 266.3 kB / 0.7528 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009514/0.5867, allocations: 0.6332 MB / 0.7534 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002012/0.5869, allocations: 196.7 kB / 0.7536 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/0.587, allocations: 91.98 kB / 0.7537 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001884/0.5889, allocations: 1.013 MB / 0.7547 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.589, allocations: 0 / 0.7547 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.848e-05/0.589, allocations: 36 kB / 0.7547 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.5891, allocations: 23.94 kB / 0.7547 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001687/0.5908, allocations: 0.7924 MB / 0.7555 GB, free: 10.74 MB / 0.5606 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.004865/0.5956, allocations: 4.067 MB / 0.7595 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001939/0.5976, allocations: 0.8783 MB / 0.7603 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008102/0.5984, allocations: 431.2 kB / 0.7607 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008166/0.5992, allocations: 1.307 MB / 0.762 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.5993, allocations: 43.22 kB / 0.7621 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=80): time 2.264e-06/0.5993, allocations: 0 / 0.7621 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of matching and sorting (n=80): time 0.005285/0.6046, allocations: 1.904 MB / 0.7639 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.6046, allocations: 60.06 kB / 0.764 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007178/0.6054, allocations: 0.6138 MB / 0.7646 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.275e-05/0.6054, allocations: 45.64 kB / 0.7646 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002777/0.6057, allocations: 432.1 kB / 0.765 GB, free: 216 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000214/0.6059, allocations: 272 kB / 0.7653 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002664/0.6062, allocations: 150.6 kB / 0.7654 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.6063, allocations: 334 kB / 0.7657 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007202/0.6071, allocations: 313.8 kB / 0.766 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007661/0.6078, allocations: 395.1 kB / 0.7664 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001463/0.6093, allocations: 0.6901 MB / 0.7671 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.6093, allocations: 0 / 0.7671 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003136/0.6125, allocations: 1.221 MB / 0.7683 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.6125, allocations: 5.875 kB / 0.7683 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.6125, allocations: 5.406 kB / 0.7683 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008158/0.6133, allocations: 246.4 kB / 0.7685 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009716/0.6143, allocations: 207.7 kB / 0.7687 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005472/0.6198, allocations: 4.86 MB / 0.7735 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007564/0.6206, allocations: 99.5 kB / 0.7736 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/0.6207, allocations: 51.98 kB / 0.7736 GB, free: 6.938 MB / 0.5762 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 (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,1,88.9%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003827/0.6211, allocations: 217.7 kB / 0.7738 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001715/0.6213, allocations: 82.97 kB / 0.7739 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004262/0.6255, allocations: 1.807 MB / 0.7757 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.707e-05/0.6256, allocations: 8 kB / 0.7757 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.6256, allocations: 4 kB / 0.7757 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.6256, allocations: 3.984 kB / 0.7757 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004763/0.6304, allocations: 2.436 MB / 0.7781 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.6304, allocations: 0 / 0.7781 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/0.6314, allocations: 188 kB / 0.7782 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000777/0.6322, allocations: 250.3 kB / 0.7785 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.991e-05/0.6323, allocations: 39.97 kB / 0.7785 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005439/0.6377, allocations: 4.869 MB / 0.7833 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/0.6378, allocations: 12.05 kB / 0.7833 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003787/0.6415, allocations: 1.694 MB / 0.7849 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003553/0.6419, allocations: 243.7 kB / 0.7852 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/0.6421, allocations: 16 kB / 0.7852 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005986/0.6427, allocations: 55.89 kB / 0.7852 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.6428, allocations: 80.44 kB / 0.7853 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.251e-05/0.6429, allocations: 43.98 kB / 0.7854 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005236/0.6434, allocations: 451 kB / 0.7858 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6434, allocations: 0 / 0.7858 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001252/0.6447, allocations: 471.1 kB / 0.7862 GB, free: 9.41 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (counterFlowNTU.h_out_A,counterFlowNTU.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 (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (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.001071/0.6458, allocations: 0.5858 MB / 0.7868 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002627/0.6484, allocations: 1.24 MB / 0.788 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.6484, allocations: 3.938 kB / 0.788 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001654/0.6501, allocations: 0.8982 MB / 0.7889 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/0.6513, allocations: 238.9 kB / 0.7891 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004007/0.6553, allocations: 2.562 MB / 0.7916 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005246/0.6559, allocations: 1.009 MB / 0.7926 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006307/0.6565, allocations: 175.3 kB / 0.7928 GB, free: 2.559 MB / 0.5919 GB Notification: Performance of SimCode: time 5.51e-07/0.6565, allocations: 0 / 0.7928 GB, free: 2.559 MB / 0.5919 GB Notification: Performance of Templates: time 0.03028/0.6868, allocations: 28.34 MB / 0.8205 GB, free: 6.238 MB / 0.6231 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.makefile (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches