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.001086/0.001087, allocations: 107 kB / 15.99 MB, free: 6.348 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.001097/0.001097, allocations: 197.6 kB / 16.91 MB, free: 6.188 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.271/1.271, 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.6434/0.6434, allocations: 91.18 MB / 381.9 MB, free: 7.664 MB / 302.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 71.88 kB / 460.5 MB, free: 9.363 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.108, allocations: 67.69 MB / 0.5158 GB, free: 5.602 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.3941/0.5021, allocations: 233.2 MB / 0.7435 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3133/0.8155, allocations: 22.26 MB / 0.7652 GB, free: 1.426 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001578/0.8171, allocations: 68.84 kB / 0.7653 GB, free: 1.426 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00205/0.8192, allocations: 0.6945 MB / 0.766 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004591/0.8238, allocations: 1.845 MB / 0.7678 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004582/0.8284, allocations: 1.994 MB / 0.7697 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002669/0.8311, allocations: 2.18 MB / 0.7719 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007451/0.8318, allocations: 415 kB / 0.7723 GB, free: 17.3 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002669/0.8345, allocations: 1.408 MB / 0.7736 GB, free: 17.29 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001023/0.8355, allocations: 0.8422 MB / 0.7745 GB, free: 17.29 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002116/0.8358, allocations: 136.2 kB / 0.7746 GB, free: 17.29 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007936/0.8437, allocations: 4.429 MB / 0.7789 GB, free: 17.21 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005575/0.8443, allocations: 345 kB / 0.7792 GB, free: 17.21 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001369/0.8457, allocations: 0.8184 MB / 0.78 GB, free: 17.21 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004662/0.8504, allocations: 2.17 MB / 0.7822 GB, free: 17.02 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.8504, allocations: 1 kB / 0.7822 GB, free: 17.02 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8504, allocations: 1.5 kB / 0.7822 GB, free: 17.02 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.294e-05/0.8504, allocations: 0 / 0.7822 GB, free: 17.02 MB / 0.6075 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.005928/0.8564, allocations: 2.301 MB / 0.7844 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.8564, allocations: 9.25 kB / 0.7844 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003481/0.8599, allocations: 413.6 kB / 0.7848 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00222/0.8622, allocations: 0.9806 MB / 0.7858 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003519/0.8625, allocations: 359 kB / 0.7861 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002653/0.8628, allocations: 128.6 kB / 0.7862 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003328/0.8662, allocations: 1.451 MB / 0.7877 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.866e-05/0.8662, allocations: 2.688 kB / 0.7877 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001262/0.8663, allocations: 48.91 kB / 0.7877 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.825e-05/0.8664, allocations: 30.59 kB / 0.7877 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00269/0.8691, allocations: 1.19 MB / 0.7889 GB, free: 15.04 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.007775/0.8769, allocations: 5.465 MB / 0.7942 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002901/0.8798, allocations: 1.315 MB / 0.7955 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001473/0.8813, allocations: 0.7142 MB / 0.7962 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00118/0.8825, allocations: 1.787 MB / 0.798 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.8825, allocations: 51.66 kB / 0.798 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=113): time 3.998e-06/0.8825, allocations: 1.406 kB / 0.798 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=113): time 0.008753/0.8913, allocations: 3.046 MB / 0.801 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/0.8913, allocations: 63.88 kB / 0.801 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001353/0.8927, allocations: 0.8762 MB / 0.8019 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001332/0.8929, allocations: 43.61 kB / 0.8019 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004092/0.8933, allocations: 0.6063 MB / 0.8025 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003852/0.8937, allocations: 395.1 kB / 0.8029 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004055/0.8941, allocations: 205.8 kB / 0.8031 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.8942, allocations: 346.5 kB / 0.8034 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00133/0.8956, allocations: 0.4885 MB / 0.8039 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001338/0.8969, allocations: 0.5915 MB / 0.8045 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002311/0.8992, allocations: 1.052 MB / 0.8055 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.8993, allocations: 0 / 0.8055 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005089/0.9044, allocations: 1.914 MB / 0.8074 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.9044, allocations: 6.594 kB / 0.8074 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.9044, allocations: 1.281 kB / 0.8074 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001254/0.9057, allocations: 414.9 kB / 0.8078 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001441/0.9071, allocations: 299.6 kB / 0.8081 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008998/0.9161, allocations: 7.425 MB / 0.8153 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/0.9175, allocations: 148.7 kB / 0.8155 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002264/0.9178, allocations: 74.64 kB / 0.8155 GB, free: 2.77 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 (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.0006947/0.9185, allocations: 259.4 kB / 0.8158 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004118/0.9189, allocations: 127.9 kB / 0.8159 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006678/0.9256, allocations: 2.721 MB / 0.8186 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.9256, allocations: 11.03 kB / 0.8186 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.449e-05/0.9256, allocations: 4.625 kB / 0.8186 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.618e-05/0.9257, allocations: 8.734 kB / 0.8186 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007869/0.9335, allocations: 3.586 MB / 0.8221 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/0.9336, allocations: 3.844 kB / 0.8221 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001582/0.9352, allocations: 291.4 kB / 0.8224 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001209/0.9364, allocations: 427.9 kB / 0.8228 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001432/0.9365, allocations: 46.59 kB / 0.8228 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008969/0.9455, allocations: 7.429 MB / 0.8301 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.9456, allocations: 2.844 kB / 0.8301 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006323/0.9519, allocations: 2.598 MB / 0.8326 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006534/0.9526, allocations: 313.3 kB / 0.8329 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003126/0.9529, allocations: 29.12 kB / 0.8329 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/0.954, allocations: 90.23 kB / 0.833 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002184/0.9542, allocations: 104.4 kB / 0.8331 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000131/0.9544, allocations: 72.31 kB / 0.8332 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007613/0.9551, allocations: 0.6046 MB / 0.8338 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9551, allocations: 1.094 kB / 0.8338 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001883/0.957, allocations: 0.6027 MB / 0.8344 GB, free: 11.51 MB / 0.6231 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.001507/0.9585, allocations: 0.6863 MB / 0.8351 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004858/0.9634, allocations: 1.941 MB / 0.8369 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.9634, allocations: 2.656 kB / 0.8369 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002827/0.9663, allocations: 1.364 MB / 0.8383 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001679/0.968, allocations: 316 kB / 0.8386 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006019/0.974, allocations: 3.676 MB / 0.8422 GB, free: 7.816 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007983/0.9748, allocations: 1.193 MB / 0.8433 GB, free: 6.902 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009391/0.9758, allocations: 235.9 kB / 0.8436 GB, free: 6.844 MB / 0.6231 GB Notification: Performance of SimCode: time 6.61e-07/0.9758, allocations: 4 kB / 0.8436 GB, free: 6.84 MB / 0.6231 GB Notification: Performance of Templates: time 0.04962/1.025, allocations: 46.42 MB / 0.8889 GB, free: 9 MB / 0.67 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