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/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/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.001423/0.001423, allocations: 108 kB / 15.61 MB, free: 152 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.001812/0.001812, allocations: 192.6 kB / 16.53 MB, free: 6.664 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.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.7044/0.7044, allocations: 89.48 MB / 379.9 MB, free: 11.01 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 81.36 kB / 458.2 MB, free: 23.78 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1212, allocations: 67.3 MB / 0.5132 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.4951/0.6164, allocations: 214.1 MB / 0.7222 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01972/0.6361, allocations: 17.32 MB / 0.7391 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00105/0.6372, allocations: 27.88 kB / 0.7392 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002043/0.6393, allocations: 0.6016 MB / 0.7398 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005406/0.6448, allocations: 1.664 MB / 0.7414 GB, free: 8.789 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004935/0.6497, allocations: 1.671 MB / 0.743 GB, free: 7.117 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002342/0.6521, allocations: 1.518 MB / 0.7445 GB, free: 5.594 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000633/0.6528, allocations: 290.3 kB / 0.7448 GB, free: 5.297 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002318/0.6551, allocations: 1.094 MB / 0.7458 GB, free: 4.199 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009415/0.656, allocations: 0.6066 MB / 0.7464 GB, free: 3.59 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003018/0.6564, allocations: 92 kB / 0.7465 GB, free: 3.5 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007208/0.6636, allocations: 3.385 MB / 0.7498 GB, free: 112 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004171/0.664, allocations: 239 kB / 0.7501 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009858/0.6651, allocations: 0.5596 MB / 0.7506 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00541/0.6705, allocations: 2.174 MB / 0.7527 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.6705, allocations: 0 / 0.7527 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6705, allocations: 0 / 0.7527 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.619e-05/0.6706, allocations: 0 / 0.7527 GB, free: 13.13 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.004428/0.675, allocations: 1.672 MB / 0.7544 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.6751, allocations: 8.031 kB / 0.7544 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00252/0.6776, allocations: 270.2 kB / 0.7546 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/0.679, allocations: 0.6254 MB / 0.7552 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002466/0.6793, allocations: 192.7 kB / 0.7554 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002079/0.6795, allocations: 103.9 kB / 0.7555 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002115/0.6816, allocations: 1.005 MB / 0.7565 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.6817, allocations: 7.938 kB / 0.7565 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-05/0.6818, allocations: 36 kB / 0.7565 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.088e-05/0.6818, allocations: 23.94 kB / 0.7566 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001829/0.6836, allocations: 0.7885 MB / 0.7573 GB, free: 8.266 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.005265/0.6889, allocations: 4.075 MB / 0.7613 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002005/0.6909, allocations: 0.864 MB / 0.7622 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008379/0.6918, allocations: 447.1 kB / 0.7626 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008714/0.6927, allocations: 1.307 MB / 0.7639 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.6927, allocations: 42.47 kB / 0.7639 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=80): time 2.746e-06/0.6927, allocations: 0 / 0.7639 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of matching and sorting (n=80): time 0.005383/0.6981, allocations: 1.911 MB / 0.7658 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.6982, allocations: 64.06 kB / 0.7658 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007511/0.6989, allocations: 0.6138 MB / 0.7664 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.604e-05/0.699, allocations: 41.7 kB / 0.7665 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002811/0.6993, allocations: 424.1 kB / 0.7669 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000219/0.6995, allocations: 279.9 kB / 0.7671 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000252/0.6998, allocations: 146.6 kB / 0.7673 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.6999, allocations: 330 kB / 0.7676 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007588/0.7007, allocations: 321.8 kB / 0.7679 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007947/0.7015, allocations: 391 kB / 0.7683 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001528/0.703, allocations: 0.694 MB / 0.7689 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.703, allocations: 0 / 0.7689 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003173/0.7062, allocations: 1.221 MB / 0.7701 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.7062, allocations: 6.031 kB / 0.7701 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.7063, allocations: 0 / 0.7701 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008606/0.7071, allocations: 258.3 kB / 0.7704 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009674/0.7081, allocations: 199.7 kB / 0.7706 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005928/0.714, allocations: 5.228 MB / 0.7757 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006817/0.7148, allocations: 91.19 kB / 0.7758 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/0.7149, allocations: 55.98 kB / 0.7758 GB, free: 4.078 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.0003816/0.7153, allocations: 213.6 kB / 0.776 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002026/0.7155, allocations: 87.28 kB / 0.7761 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004372/0.7199, allocations: 1.811 MB / 0.7779 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.7199, allocations: 12 kB / 0.7779 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.7199, allocations: 0 / 0.7779 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.7199, allocations: 3.984 kB / 0.7779 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004894/0.7248, allocations: 2.421 MB / 0.7803 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.854e-06/0.7248, allocations: 4 kB / 0.7803 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009625/0.7258, allocations: 195.9 kB / 0.7805 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000756/0.7266, allocations: 250.3 kB / 0.7807 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.51e-05/0.7267, allocations: 35.97 kB / 0.7807 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006003/0.7327, allocations: 5.242 MB / 0.7858 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.7327, allocations: 0 / 0.7858 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003832/0.7366, allocations: 1.702 MB / 0.7875 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003645/0.7369, allocations: 231.8 kB / 0.7877 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001629/0.7371, allocations: 19.94 kB / 0.7877 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000594/0.7377, allocations: 43.95 kB / 0.7878 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.7379, allocations: 76.5 kB / 0.7879 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.211e-05/0.738, allocations: 51.98 kB / 0.7879 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005427/0.7385, allocations: 447 kB / 0.7883 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7385, allocations: 0 / 0.7883 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001269/0.7398, allocations: 467.1 kB / 0.7888 GB, free: 6.184 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.001198/0.741, allocations: 0.5807 MB / 0.7894 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003108/0.7441, allocations: 1.279 MB / 0.7906 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.7441, allocations: 0 / 0.7906 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001731/0.7459, allocations: 0.9137 MB / 0.7915 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.7471, allocations: 257.4 kB / 0.7917 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003975/0.7511, allocations: 2.115 MB / 0.7938 GB, free: 0.9336 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000609/0.7517, allocations: 1.017 MB / 0.7948 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00153/0.7533, allocations: 0.6141 MB / 0.7954 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004471/0.7537, allocations: 135.3 kB / 0.7955 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of SimCode: time 3.81e-07/0.7538, allocations: 0 / 0.7955 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of Templates: time 0.03238/0.7861, allocations: 19.05 MB / 0.8141 GB, free: 12.18 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