Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.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.CrossFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU") translateModel(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001937/0.001937, allocations: 196.7 kB / 16.14 MB, free: 6.715 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.461/1.461, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7012/0.7012, allocations: 93.71 MB / 383.7 MB, free: 7.156 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 82.12 kB / 462.7 MB, free: 22.22 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1308, allocations: 68.26 MB / 0.5185 GB, free: 7.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.4853/0.6161, allocations: 213.2 MB / 0.7267 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01976/0.6359, allocations: 17.66 MB / 0.744 GB, free: 4.242 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001277/0.6372, allocations: 59.56 kB / 0.744 GB, free: 4.184 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001513/0.6387, allocations: 0.5478 MB / 0.7446 GB, free: 3.633 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003726/0.6425, allocations: 1.56 MB / 0.7461 GB, free: 2.066 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003532/0.6461, allocations: 1.435 MB / 0.7475 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002052/0.6481, allocations: 1.942 MB / 0.7494 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004294/0.6486, allocations: 275.3 kB / 0.7497 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002145/0.6507, allocations: 1.171 MB / 0.7508 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005881/0.6513, allocations: 0.6257 MB / 0.7514 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001201/0.6515, allocations: 64 kB / 0.7515 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006218/0.6577, allocations: 3.598 MB / 0.755 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002286/0.6579, allocations: 218.9 kB / 0.7552 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005744/0.6585, allocations: 0.5941 MB / 0.7558 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003393/0.6619, allocations: 2.251 MB / 0.758 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.6619, allocations: 3.984 kB / 0.758 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.72e-07/0.662, allocations: 4 kB / 0.758 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.541e-05/0.662, allocations: 0 / 0.758 GB, free: 5.855 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.003268/0.6652, allocations: 1.849 MB / 0.7598 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.6653, allocations: 12.03 kB / 0.7598 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001947/0.6672, allocations: 282.5 kB / 0.7601 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/0.6686, allocations: 0.8466 MB / 0.7609 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002051/0.6688, allocations: 192.8 kB / 0.7611 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/0.6689, allocations: 95.94 kB / 0.7612 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001835/0.6708, allocations: 1.013 MB / 0.7622 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.6708, allocations: 0 / 0.7622 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.724e-05/0.6709, allocations: 36 kB / 0.7622 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/0.6709, allocations: 24 kB / 0.7622 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001624/0.6725, allocations: 0.7924 MB / 0.763 GB, free: 0.5742 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.005369/0.6779, allocations: 4.123 MB / 0.767 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001967/0.6799, allocations: 0.8589 MB / 0.7679 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007709/0.6807, allocations: 427.3 kB / 0.7683 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009694/0.6817, allocations: 1.311 MB / 0.7695 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.6817, allocations: 39.22 kB / 0.7696 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 2.866e-06/0.6817, allocations: 0 / 0.7696 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.005455/0.6872, allocations: 1.919 MB / 0.7715 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.6873, allocations: 64 kB / 0.7715 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.6883, allocations: 0.7956 MB / 0.7723 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.587e-05/0.6884, allocations: 45.7 kB / 0.7723 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003835/0.6888, allocations: 0.5043 MB / 0.7728 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002598/0.6891, allocations: 283.8 kB / 0.7731 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000264/0.6894, allocations: 150.6 kB / 0.7732 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.6895, allocations: 337.9 kB / 0.7736 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007179/0.6902, allocations: 309.8 kB / 0.7739 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007805/0.691, allocations: 387.1 kB / 0.7742 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001479/0.6925, allocations: 0.694 MB / 0.7749 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.6925, allocations: 0 / 0.7749 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003254/0.6958, allocations: 1.24 MB / 0.7761 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.6958, allocations: 4 kB / 0.7761 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.6958, allocations: 0 / 0.7761 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008446/0.6967, allocations: 250.4 kB / 0.7764 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009736/0.6977, allocations: 203.8 kB / 0.7766 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005899/0.7036, allocations: 4.851 MB / 0.7813 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009228/0.7045, allocations: 95.38 kB / 0.7814 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001805/0.7047, allocations: 59.97 kB / 0.7814 GB, free: 12.43 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.0005438/0.7053, allocations: 217.7 kB / 0.7817 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003007/0.7056, allocations: 114.5 kB / 0.7818 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004392/0.71, allocations: 1.833 MB / 0.7836 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.71, allocations: 11.94 kB / 0.7836 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/0.7101, allocations: 4 kB / 0.7836 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/0.7101, allocations: 3.984 kB / 0.7836 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005036/0.7151, allocations: 2.516 MB / 0.786 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.7151, allocations: 0 / 0.786 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009947/0.7161, allocations: 199.9 kB / 0.7862 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007709/0.7169, allocations: 246.3 kB / 0.7865 GB, free: 7.16 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/0.7171, allocations: 31.98 kB / 0.7865 GB, free: 7.129 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005708/0.7228, allocations: 4.872 MB / 0.7912 GB, free: 1.848 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.7228, allocations: 0 / 0.7912 GB, free: 1.848 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004122/0.7269, allocations: 1.724 MB / 0.7929 GB, free: 84 kB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004442/0.7274, allocations: 255.5 kB / 0.7932 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001878/0.7276, allocations: 27.88 kB / 0.7932 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006673/0.7283, allocations: 51.86 kB / 0.7932 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/0.7284, allocations: 80.83 kB / 0.7933 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.946e-05/0.7285, allocations: 51.98 kB / 0.7934 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007928/0.7293, allocations: 0.5488 MB / 0.7939 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7293, allocations: 4 kB / 0.7939 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001354/0.7307, allocations: 475.2 kB / 0.7944 GB, free: 14.58 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (crossFlowNTU.h_out_A,crossFlowNTU.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 (78): * Single equations (assignments): 75 * 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.001223/0.7319, allocations: 0.5911 MB / 0.7949 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003111/0.7351, allocations: 1.235 MB / 0.7961 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.7351, allocations: 8 kB / 0.7962 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001777/0.7369, allocations: 0.9117 MB / 0.797 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001389/0.7383, allocations: 263.8 kB / 0.7973 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00464/0.7429, allocations: 2.802 MB / 0.8 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007092/0.7437, allocations: 1.084 MB / 0.8011 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001521/0.7452, allocations: 0.6352 MB / 0.8017 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005111/0.7457, allocations: 151.3 kB / 0.8019 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of SimCode: time 9.42e-07/0.7457, allocations: 0 / 0.8019 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of Templates: time 0.03325/0.779, allocations: 19.13 MB / 0.8205 GB, free: 3.73 MB / 0.6231 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.makefile (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.sim & ./ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches