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.0007706/0.0007706, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0009821/0.0009822, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7532/0.7532, allocations: 89.62 MB / 380.7 MB, free: 11.43 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003483/0.0003483, allocations: 9.438 kB / 460 MB, free: 24.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1404, allocations: 68.83 MB / 0.5165 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.5605/0.701, allocations: 214.8 MB / 0.7262 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02849/0.7295, allocations: 20.63 MB / 0.7464 GB, free: 468 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002199/0.7318, allocations: 31.81 kB / 0.7464 GB, free: 436 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002626/0.7344, allocations: 0.637 MB / 0.747 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005964/0.7404, allocations: 1.691 MB / 0.7487 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005727/0.7462, allocations: 1.666 MB / 0.7503 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003076/0.7493, allocations: 2.052 MB / 0.7523 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006149/0.7499, allocations: 326.8 kB / 0.7526 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002609/0.7525, allocations: 1.145 MB / 0.7537 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008853/0.7534, allocations: 0.7039 MB / 0.7544 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001376/0.7536, allocations: 68 kB / 0.7545 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009834/0.7634, allocations: 3.851 MB / 0.7582 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000496/0.7639, allocations: 246.9 kB / 0.7585 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006488/0.7646, allocations: 289 kB / 0.7588 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004219/0.7688, allocations: 1.921 MB / 0.7606 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.7689, allocations: 0 / 0.7606 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7689, allocations: 0 / 0.7606 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.023e-05/0.7689, allocations: 4 kB / 0.7606 GB, free: 1.773 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: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.003971/0.7729, allocations: 1.875 MB / 0.7625 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.7729, allocations: 12.03 kB / 0.7625 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002875/0.7758, allocations: 385.8 kB / 0.7628 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001356/0.7772, allocations: 0.735 MB / 0.7636 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003816/0.7776, allocations: 360.1 kB / 0.7639 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002068/0.7778, allocations: 135.9 kB / 0.764 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002908/0.7807, allocations: 1.489 MB / 0.7655 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.536e-05/0.7807, allocations: 0 / 0.7655 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001227/0.7809, allocations: 51.95 kB / 0.7655 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.805e-05/0.7809, allocations: 36 kB / 0.7656 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002564/0.7835, allocations: 1.239 MB / 0.7668 GB, free: 11.27 MB / 0.5762 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.007048/0.7905, allocations: 5.43 MB / 0.7721 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002771/0.7933, allocations: 1.381 MB / 0.7734 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001432/0.7948, allocations: 0.7612 MB / 0.7742 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00153/0.7963, allocations: 1.79 MB / 0.7759 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.457e-05/0.7964, allocations: 43.56 kB / 0.776 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=113): time 3.286e-06/0.7964, allocations: 0 / 0.776 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of matching and sorting (n=113): time 0.00864/0.805, allocations: 3.454 MB / 0.7793 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.8051, allocations: 64.36 kB / 0.7794 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009182/0.806, allocations: 0.6846 MB / 0.7801 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.485e-05/0.8061, allocations: 45.7 kB / 0.7801 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003655/0.8065, allocations: 0.5197 MB / 0.7806 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003288/0.8068, allocations: 386.3 kB / 0.781 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.999e-05/0.8069, allocations: 20 kB / 0.781 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.8071, allocations: 341.9 kB / 0.7813 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001123/0.8082, allocations: 0.5374 MB / 0.7819 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001184/0.8094, allocations: 0.6309 MB / 0.7825 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.8106, allocations: 0.5457 MB / 0.783 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.8106, allocations: 0 / 0.783 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.004969/0.8156, allocations: 2.127 MB / 0.7851 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.8156, allocations: 4 kB / 0.7851 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.8157, allocations: 4 kB / 0.7851 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001334/0.817, allocations: 480.9 kB / 0.7856 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001365/0.8184, allocations: 316.5 kB / 0.7859 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00877/0.8272, allocations: 7.248 MB / 0.7929 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/0.8284, allocations: 178.9 kB / 0.7931 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001566/0.8286, allocations: 71.97 kB / 0.7932 GB, free: 14.66 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 1,(3,88.9%) 1,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005391/0.8291, allocations: 249.7 kB / 0.7934 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001828/0.8293, allocations: 99.16 kB / 0.7935 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0068/0.8361, allocations: 2.946 MB / 0.7964 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.606e-05/0.8362, allocations: 19.95 kB / 0.7964 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.8362, allocations: 7.938 kB / 0.7964 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.8362, allocations: 3.984 kB / 0.7964 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007566/0.8438, allocations: 3.753 MB / 0.8001 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.8438, allocations: 4 kB / 0.8001 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001474/0.8453, allocations: 303.8 kB / 0.8004 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001373/0.8467, allocations: 490.9 kB / 0.8008 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001514/0.8469, allocations: 51.91 kB / 0.8009 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3448/1.192, allocations: 7.254 MB / 0.808 GB, free: 226.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/1.192, allocations: 2.062 kB / 0.808 GB, free: 226.3 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00754/1.199, allocations: 2.83 MB / 0.8107 GB, free: 226 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007954/1.2, allocations: 294.7 kB / 0.811 GB, free: 225.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000176/1.2, allocations: 25.91 kB / 0.811 GB, free: 225.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008934/1.201, allocations: 115.2 kB / 0.8112 GB, free: 225.9 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000274/1.201, allocations: 100.6 kB / 0.8113 GB, free: 225.9 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001761/1.202, allocations: 68.47 kB / 0.8113 GB, free: 225.9 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007323/1.202, allocations: 486.2 kB / 0.8118 GB, free: 225.9 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.91e-07/1.202, allocations: 4.656 kB / 0.8118 GB, free: 225.9 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002245/1.205, allocations: 0.5973 MB / 0.8124 GB, free: 225.8 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 5,(1,100.0%) 5,(3,88.9%) 1,(3,88.9%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001649/1.206, allocations: 0.7192 MB / 0.8131 GB, free: 225.7 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00405/1.21, allocations: 2.059 MB / 0.8151 GB, free: 225.2 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/1.21, allocations: 0 / 0.8151 GB, free: 225.2 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002586/1.213, allocations: 1.498 MB / 0.8165 GB, free: 224.6 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/1.215, allocations: 256.7 kB / 0.8168 GB, free: 224.6 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005327/1.22, allocations: 3.46 MB / 0.8202 GB, free: 222.7 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009162/1.221, allocations: 1.124 MB / 0.8213 GB, free: 222 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002508/1.223, allocations: 0.8131 MB / 0.8221 GB, free: 221.9 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006021/1.224, allocations: 169.8 kB / 0.8222 GB, free: 221.8 MB / 0.6075 GB Notification: Performance of SimCode: time 1.102e-06/1.224, allocations: 0 / 0.8222 GB, free: 221.8 MB / 0.6075 GB Notification: Performance of Templates: time 0.04404/1.268, allocations: 23.03 MB / 0.8447 GB, free: 212.9 MB / 0.6075 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