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: "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 108 kB / 15.6 MB, free: 132 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.001426/0.001426, allocations: 194.4 kB / 16.53 MB, free: 6.391 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.37/1.37, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7882/0.7882, allocations: 91.21 MB / 381.6 MB, free: 9.402 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001643/0.001644, allocations: 77.31 kB / 460.4 MB, free: 23.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1468, allocations: 67.69 MB / 0.5157 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.5301/0.677, allocations: 214.3 MB / 0.725 GB, free: 8.938 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01909/0.6961, allocations: 17.39 MB / 0.742 GB, free: 7.488 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008668/0.697, allocations: 43.69 kB / 0.742 GB, free: 7.445 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001627/0.6986, allocations: 0.6209 MB / 0.7426 GB, free: 6.82 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00391/0.7026, allocations: 1.718 MB / 0.7443 GB, free: 5.094 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00421/0.7068, allocations: 1.663 MB / 0.7459 GB, free: 3.426 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001668/0.7085, allocations: 1.658 MB / 0.7476 GB, free: 1.762 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004397/0.709, allocations: 290.9 kB / 0.7478 GB, free: 1.465 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001886/0.7109, allocations: 1.164 MB / 0.749 GB, free: 304 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000651/0.7115, allocations: 0.6258 MB / 0.7496 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001318/0.7117, allocations: 100 kB / 0.7497 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006283/0.718, allocations: 3.378 MB / 0.753 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002196/0.7182, allocations: 246.9 kB / 0.7532 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005542/0.7188, allocations: 0.6177 MB / 0.7538 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003752/0.7225, allocations: 2.306 MB / 0.7561 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.7225, allocations: 0 / 0.7561 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.552e-06/0.7226, allocations: 4 kB / 0.7561 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.421e-05/0.7226, allocations: 0 / 0.7561 GB, free: 9.008 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.003284/0.7259, allocations: 1.811 MB / 0.7578 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.7259, allocations: 12.03 kB / 0.7579 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001566/0.7261, allocations: 139.6 kB / 0.758 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001954/0.728, allocations: 298 kB / 0.7583 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001216/0.7293, allocations: 0.8078 MB / 0.7591 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002223/0.7295, allocations: 200.7 kB / 0.7593 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/0.7297, allocations: 92 kB / 0.7593 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001785/0.7314, allocations: 1.009 MB / 0.7603 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.7315, allocations: 0 / 0.7603 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-05/0.7316, allocations: 36 kB / 0.7604 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/0.7316, allocations: 28.5 kB / 0.7604 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001722/0.7333, allocations: 0.7846 MB / 0.7612 GB, free: 3.648 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.004969/0.7383, allocations: 4.128 MB / 0.7652 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001971/0.7403, allocations: 0.8637 MB / 0.766 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008601/0.7412, allocations: 429.5 kB / 0.7664 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008648/0.742, allocations: 1.303 MB / 0.7677 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.7421, allocations: 47.22 kB / 0.7678 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 2.014e-06/0.7421, allocations: 0 / 0.7678 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.005416/0.7475, allocations: 1.927 MB / 0.7696 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.7476, allocations: 60.06 kB / 0.7697 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008883/0.7485, allocations: 0.7692 MB / 0.7704 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.212e-05/0.7485, allocations: 41.7 kB / 0.7705 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000327/0.7489, allocations: 0.4923 MB / 0.771 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002007/0.7491, allocations: 279.9 kB / 0.7712 GB, free: 8.543 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002521/0.7493, allocations: 150.6 kB / 0.7714 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.7495, allocations: 341.9 kB / 0.7717 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007368/0.7502, allocations: 309.8 kB / 0.772 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007874/0.751, allocations: 395.1 kB / 0.7724 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001557/0.7526, allocations: 0.6923 MB / 0.773 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.7526, allocations: 0 / 0.773 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003254/0.7559, allocations: 1.236 MB / 0.7743 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.7559, allocations: 8 kB / 0.7743 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.7559, allocations: 0 / 0.7743 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008812/0.7568, allocations: 250.4 kB / 0.7745 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000972/0.7578, allocations: 203.7 kB / 0.7747 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00624/0.764, allocations: 5.232 MB / 0.7798 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006039/0.7646, allocations: 87.3 kB / 0.7799 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/0.7648, allocations: 47.98 kB / 0.7799 GB, free: 15.14 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 (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.00036/0.7651, allocations: 243.2 kB / 0.7802 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/0.7653, allocations: 98.69 kB / 0.7803 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004491/0.7698, allocations: 1.822 MB / 0.782 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/0.7698, allocations: 8 kB / 0.782 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.7698, allocations: 4 kB / 0.7821 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.7699, allocations: 7.922 kB / 0.7821 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005025/0.7749, allocations: 2.479 MB / 0.7845 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.7749, allocations: 4 kB / 0.7845 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/0.7759, allocations: 191.8 kB / 0.7847 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007922/0.7767, allocations: 254.4 kB / 0.7849 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.424e-05/0.7768, allocations: 35.97 kB / 0.7849 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005939/0.7828, allocations: 5.246 MB / 0.7901 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.7828, allocations: 0 / 0.7901 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004004/0.7868, allocations: 1.722 MB / 0.7917 GB, free: 2.441 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000352/0.7872, allocations: 251.5 kB / 0.792 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001571/0.7873, allocations: 20 kB / 0.792 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005945/0.7879, allocations: 39.97 kB / 0.792 GB, free: 2.117 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.7881, allocations: 72.44 kB / 0.7921 GB, free: 2.047 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-05/0.7882, allocations: 55.97 kB / 0.7922 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006828/0.7889, allocations: 0.5317 MB / 0.7927 GB, free: 1.449 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7889, allocations: 4 kB / 0.7927 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001332/0.7902, allocations: 467.2 kB / 0.7931 GB, free: 0.9883 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.005407/0.7956, allocations: 2.738 MB / 0.7958 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003121/0.7988, allocations: 1.283 MB / 0.7971 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.7988, allocations: 0 / 0.7971 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001755/0.8005, allocations: 0.9059 MB / 0.7979 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/0.8019, allocations: 260 kB / 0.7982 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01561/0.8175, allocations: 8.91 MB / 0.8069 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006471/0.8181, allocations: 1.064 MB / 0.8079 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001539/0.8197, allocations: 0.6349 MB / 0.8086 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008321/0.8205, allocations: 0.5031 MB / 0.809 GB, free: 212 kB / 0.6075 GB Notification: Performance of SimCode: time 4.81e-07/0.8205, allocations: 0 / 0.809 GB, free: 212 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.04/2.861, allocations: 29.85 MB / 0.8382 GB, free: 241.1 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.26/16.12, allocations: 8.75 kB / 0.8382 GB, free: 241.1 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches