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.001715/0.001715, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001959/0.001959, allocations: 190.9 kB / 16.13 MB, free: 6.645 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.417/1.417, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.686/0.686, allocations: 91.2 MB / 381.2 MB, free: 9.602 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001743/0.001743, allocations: 83.88 kB / 459.6 MB, free: 23.35 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1438, allocations: 67.69 MB / 0.515 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.4933/0.6371, allocations: 213.2 MB / 0.7231 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02283/0.66, allocations: 17.62 MB / 0.7403 GB, free: 9.223 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001593/0.6616, allocations: 51.62 kB / 0.7404 GB, free: 9.172 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001944/0.6636, allocations: 0.5479 MB / 0.7409 GB, free: 8.621 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004784/0.6684, allocations: 1.532 MB / 0.7424 GB, free: 7.082 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004346/0.6728, allocations: 1.439 MB / 0.7438 GB, free: 5.641 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002739/0.6755, allocations: 1.892 MB / 0.7457 GB, free: 3.742 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000621/0.6762, allocations: 275.2 kB / 0.7459 GB, free: 3.461 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002649/0.6788, allocations: 1.144 MB / 0.7471 GB, free: 2.312 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009566/0.6798, allocations: 0.618 MB / 0.7477 GB, free: 1.691 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002329/0.68, allocations: 64 kB / 0.7477 GB, free: 1.629 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008972/0.689, allocations: 3.599 MB / 0.7512 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006735/0.6898, allocations: 214.9 kB / 0.7514 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001382/0.6912, allocations: 0.5864 MB / 0.752 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005996/0.6972, allocations: 2.232 MB / 0.7542 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.828e-06/0.6972, allocations: 3.984 kB / 0.7542 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.765e-06/0.6972, allocations: 7.938 kB / 0.7542 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.3e-05/0.6973, allocations: 3.938 kB / 0.7542 GB, free: 10.97 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.004538/0.7018, allocations: 1.814 MB / 0.756 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.7019, allocations: 8.031 kB / 0.756 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002185/0.7041, allocations: 282.5 kB / 0.7563 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001586/0.7057, allocations: 0.8195 MB / 0.7571 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002718/0.706, allocations: 204.7 kB / 0.7573 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001737/0.7062, allocations: 88 kB / 0.7573 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00206/0.7082, allocations: 1.005 MB / 0.7583 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.944e-05/0.7083, allocations: 3.938 kB / 0.7583 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.691e-05/0.7084, allocations: 40 kB / 0.7584 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.213e-05/0.7084, allocations: 24 kB / 0.7584 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001863/0.7103, allocations: 0.7846 MB / 0.7591 GB, free: 5.758 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.00584/0.7161, allocations: 4.116 MB / 0.7632 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002113/0.7183, allocations: 0.8667 MB / 0.764 GB, free: 428 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009027/0.7192, allocations: 439.2 kB / 0.7644 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00102/0.7202, allocations: 1.303 MB / 0.7657 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.7203, allocations: 43.22 kB / 0.7657 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 3.277e-06/0.7203, allocations: 0 / 0.7657 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.005645/0.7259, allocations: 1.923 MB / 0.7676 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.726, allocations: 64.06 kB / 0.7677 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.7271, allocations: 0.7653 MB / 0.7684 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.192e-05/0.7272, allocations: 41.7 kB / 0.7685 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000351/0.7276, allocations: 0.4884 MB / 0.769 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002426/0.7278, allocations: 272 kB / 0.7692 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002737/0.7281, allocations: 154.6 kB / 0.7694 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.7282, allocations: 337.9 kB / 0.7697 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007499/0.729, allocations: 313.8 kB / 0.77 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008465/0.7298, allocations: 399 kB / 0.7704 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001641/0.7315, allocations: 0.6979 MB / 0.771 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.7315, allocations: 0 / 0.771 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003424/0.7349, allocations: 1.232 MB / 0.7722 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.735, allocations: 4 kB / 0.7722 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.735, allocations: 0 / 0.7722 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008883/0.7359, allocations: 254.3 kB / 0.7725 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.7369, allocations: 199.7 kB / 0.7727 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00598/0.7429, allocations: 4.861 MB / 0.7774 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009241/0.7439, allocations: 99.28 kB / 0.7775 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001721/0.7441, allocations: 51.92 kB / 0.7776 GB, free: 1.625 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.0005447/0.7446, allocations: 229.7 kB / 0.7778 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003064/0.7449, allocations: 106.6 kB / 0.7779 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004703/0.7496, allocations: 1.822 MB / 0.7797 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/0.7497, allocations: 8 kB / 0.7797 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.387e-06/0.7497, allocations: 4 kB / 0.7797 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.7497, allocations: 3.984 kB / 0.7797 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00552/0.7552, allocations: 2.475 MB / 0.7821 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.7553, allocations: 160 / 0.7821 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.7563, allocations: 195.8 kB / 0.7823 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008476/0.7572, allocations: 254.2 kB / 0.7825 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.964e-05/0.7573, allocations: 35.97 kB / 0.7826 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005716/0.7631, allocations: 4.861 MB / 0.7873 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.7631, allocations: 4.031 kB / 0.7873 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004319/0.7674, allocations: 1.718 MB / 0.789 GB, free: 5.352 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004922/0.7679, allocations: 251.6 kB / 0.7892 GB, free: 5.086 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002189/0.7682, allocations: 19.94 kB / 0.7893 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007331/0.7689, allocations: 63.83 kB / 0.7893 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001867/0.7691, allocations: 72.55 kB / 0.7894 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/0.7692, allocations: 47.98 kB / 0.7894 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007987/0.77, allocations: 0.5356 MB / 0.79 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.77, allocations: 0 / 0.79 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001581/0.7716, allocations: 475.1 kB / 0.7904 GB, free: 3.875 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.00142/0.7731, allocations: 0.5926 MB / 0.791 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002933/0.776, allocations: 1.248 MB / 0.7922 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.776, allocations: 0 / 0.7922 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001853/0.7779, allocations: 0.8904 MB / 0.7931 GB, free: 1.062 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001486/0.7794, allocations: 249.9 kB / 0.7933 GB, free: 0.8242 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005175/0.7846, allocations: 2.746 MB / 0.796 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008506/0.7855, allocations: 1.064 MB / 0.797 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001678/0.7872, allocations: 0.627 MB / 0.7976 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005317/0.7877, allocations: 143.3 kB / 0.7978 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of SimCode: time 9.42e-07/0.7877, allocations: 4 kB / 0.7978 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of Templates: time 0.03512/0.8228, allocations: 18.91 MB / 0.8163 GB, free: 9.359 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches