Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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_dev_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_dev_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.001601/0.001601, allocations: 109.3 kB / 15.99 MB, free: 6.359 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.00192/0.00192, allocations: 194.5 kB / 16.91 MB, free: 6.195 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.451/1.451, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7652/0.7652, allocations: 93.69 MB / 384.4 MB, free: 5.457 MB / 302.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002604/0.002604, allocations: 79.88 kB / 463.6 MB, free: 6.508 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1467, allocations: 68.27 MB / 0.5194 GB, free: 2.156 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.8561/1.003, allocations: 233.2 MB / 0.7471 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02101/1.024, allocations: 22.31 MB / 0.7689 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001723/1.026, allocations: 77.72 kB / 0.769 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002024/1.028, allocations: 0.6957 MB / 0.7696 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005335/1.033, allocations: 1.866 MB / 0.7715 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005652/1.039, allocations: 1.997 MB / 0.7734 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00337/1.042, allocations: 2.236 MB / 0.7756 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008621/1.043, allocations: 418.9 kB / 0.776 GB, free: 17.29 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003226/1.046, allocations: 1.444 MB / 0.7774 GB, free: 17.28 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001433/1.048, allocations: 0.846 MB / 0.7782 GB, free: 17.28 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002897/1.048, allocations: 134.7 kB / 0.7784 GB, free: 17.28 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0102/1.058, allocations: 4.43 MB / 0.7827 GB, free: 17.21 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007875/1.059, allocations: 344.9 kB / 0.783 GB, free: 17.21 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00152/1.061, allocations: 0.8333 MB / 0.7838 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005119/1.066, allocations: 2.188 MB / 0.786 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/1.066, allocations: 0.9062 kB / 0.786 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.083e-06/1.066, allocations: 0 / 0.786 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.895e-05/1.066, allocations: 2.641 kB / 0.786 GB, free: 16.84 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.005675/1.072, allocations: 2.329 MB / 0.7882 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/1.072, allocations: 10.19 kB / 0.7883 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003091/1.075, allocations: 418.1 kB / 0.7887 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001965/1.077, allocations: 1.025 MB / 0.7897 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003916/1.077, allocations: 357.7 kB / 0.79 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002412/1.077, allocations: 127 kB / 0.7901 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002826/1.08, allocations: 1.455 MB / 0.7915 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.937e-05/1.08, allocations: 0.9062 kB / 0.7915 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/1.08, allocations: 49.12 kB / 0.7916 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.435e-05/1.08, allocations: 33.53 kB / 0.7916 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002439/1.083, allocations: 1.184 MB / 0.7928 GB, free: 14.82 MB / 0.5919 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.008203/1.091, allocations: 5.471 MB / 0.7981 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002927/1.094, allocations: 1.328 MB / 0.7994 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001333/1.095, allocations: 0.7155 MB / 0.8001 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001473/1.097, allocations: 1.789 MB / 0.8019 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/1.097, allocations: 48.41 kB / 0.8019 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=113): time 2.955e-06/1.097, allocations: 0 / 0.8019 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of matching and sorting (n=113): time 0.008538/1.105, allocations: 3.047 MB / 0.8049 GB, free: 9.277 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/1.106, allocations: 63.66 kB / 0.8049 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/1.107, allocations: 0.9119 MB / 0.8058 GB, free: 9.07 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000134/1.107, allocations: 43.92 kB / 0.8059 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004277/1.107, allocations: 0.6322 MB / 0.8065 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003512/1.108, allocations: 386.1 kB / 0.8069 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003388/1.108, allocations: 213 kB / 0.8071 GB, free: 8.539 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000148/1.108, allocations: 345 kB / 0.8074 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/1.109, allocations: 0.49 MB / 0.8079 GB, free: 8.227 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/1.11, allocations: 0.5827 MB / 0.8084 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002189/1.113, allocations: 1.05 MB / 0.8095 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/1.113, allocations: 3.938 kB / 0.8095 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.00503/1.118, allocations: 1.924 MB / 0.8113 GB, free: 7.91 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/1.118, allocations: 4.812 kB / 0.8114 GB, free: 7.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/1.118, allocations: 0 / 0.8114 GB, free: 7.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00129/1.119, allocations: 417.7 kB / 0.8117 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/1.12, allocations: 304.4 kB / 0.812 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009644/1.13, allocations: 7.426 MB / 0.8193 GB, free: 2.031 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/1.132, allocations: 142.4 kB / 0.8194 GB, free: 1.965 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001675/1.132, allocations: 71.72 kB / 0.8195 GB, free: 1.957 MB / 0.5919 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.0007362/1.133, allocations: 271.9 kB / 0.8198 GB, free: 1.832 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003318/1.133, allocations: 131.2 kB / 0.8199 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00661/1.139, allocations: 2.724 MB / 0.8225 GB, free: 0.8828 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/1.14, allocations: 16.64 kB / 0.8226 GB, free: 0.8789 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/1.14, allocations: 2.406 kB / 0.8226 GB, free: 0.8789 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.882e-05/1.14, allocations: 10.14 kB / 0.8226 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007855/1.147, allocations: 3.598 MB / 0.8261 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.984e-06/1.147, allocations: 0 / 0.8261 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00168/1.149, allocations: 292 kB / 0.8264 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001292/1.15, allocations: 424.4 kB / 0.8268 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001608/1.151, allocations: 55.59 kB / 0.8268 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009993/1.161, allocations: 7.412 MB / 0.8341 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/1.161, allocations: 8.016 kB / 0.8341 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007166/1.168, allocations: 2.608 MB / 0.8366 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008733/1.169, allocations: 317.4 kB / 0.8369 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002047/1.169, allocations: 29.88 kB / 0.8369 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009443/1.17, allocations: 93.72 kB / 0.837 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002482/1.17, allocations: 100.9 kB / 0.8371 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001378/1.17, allocations: 70.22 kB / 0.8372 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008654/1.171, allocations: 0.6224 MB / 0.8378 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.924e-06/1.171, allocations: 0 / 0.8378 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002033/1.173, allocations: 0.6058 MB / 0.8384 GB, free: 3.809 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 (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.001544/1.175, allocations: 0.6929 MB / 0.8391 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005243/1.18, allocations: 1.942 MB / 0.841 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/1.18, allocations: 0 / 0.841 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003027/1.183, allocations: 1.366 MB / 0.8423 GB, free: 424 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001715/1.185, allocations: 304.4 kB / 0.8426 GB, free: 236 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006449/1.191, allocations: 3.741 MB / 0.8462 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008977/1.192, allocations: 1.21 MB / 0.8474 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001062/1.193, allocations: 242.5 kB / 0.8477 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of SimCode: time 8.41e-07/1.193, allocations: 0 / 0.8477 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of Templates: time 0.05796/1.251, allocations: 47.29 MB / 0.8938 GB, free: 12.32 MB / 0.67 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.makefile (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.sim & ./ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_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_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches