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.008965/0.008965, allocations: 101.6 kB / 15.73 MB, free: 5.996 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.002343/0.002343, allocations: 190.5 kB / 16.67 MB, free: 5.93 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6888/0.6888, allocations: 93.7 MB / 384.2 MB, free: 6.93 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001684/0.001684, allocations: 83.86 kB / 0.5204 GB, free: 5.867 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1385, allocations: 68.27 MB / 0.5871 GB, free: 1.523 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.5406/0.6792, allocations: 214.3 MB / 0.7964 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02688/0.7061, allocations: 17.43 MB / 0.8134 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001933/0.7081, allocations: 55.62 kB / 0.8135 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002719/0.7108, allocations: 0.6131 MB / 0.8141 GB, free: 9.777 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007743/0.7187, allocations: 1.737 MB / 0.8158 GB, free: 8.031 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.007202/0.7259, allocations: 1.668 MB / 0.8174 GB, free: 6.363 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003592/0.7295, allocations: 1.724 MB / 0.8191 GB, free: 4.629 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008049/0.7304, allocations: 296.9 kB / 0.8194 GB, free: 4.332 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002892/0.7333, allocations: 1.192 MB / 0.8205 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001164/0.7345, allocations: 0.6296 MB / 0.8211 GB, free: 2.504 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003773/0.7349, allocations: 96 kB / 0.8212 GB, free: 2.41 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007949/0.7428, allocations: 3.424 MB / 0.8246 GB, free: 14.98 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000477/0.7433, allocations: 254.9 kB / 0.8248 GB, free: 14.73 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.000945/0.7443, allocations: 0.6215 MB / 0.8254 GB, free: 14.11 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005862/0.7502, allocations: 2.378 MB / 0.8277 GB, free: 11.72 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.7502, allocations: 0 / 0.8277 GB, free: 11.72 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7502, allocations: 0 / 0.8277 GB, free: 11.72 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.655e-05/0.7503, allocations: 0 / 0.8277 GB, free: 11.72 MB / 0.67 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.00372/0.754, allocations: 1.901 MB / 0.8296 GB, free: 9.758 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.754, allocations: 8.031 kB / 0.8296 GB, free: 9.75 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002094/0.7561, allocations: 302.8 kB / 0.8299 GB, free: 9.453 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002032/0.7582, allocations: 0.9296 MB / 0.8308 GB, free: 8.48 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002565/0.7585, allocations: 200.7 kB / 0.831 GB, free: 8.262 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/0.7586, allocations: 96 kB / 0.8311 GB, free: 8.168 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001922/0.7606, allocations: 1.005 MB / 0.8321 GB, free: 7.133 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.7606, allocations: 4 kB / 0.8321 GB, free: 7.129 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.491e-05/0.7607, allocations: 36 kB / 0.8321 GB, free: 7.094 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/0.7607, allocations: 20 kB / 0.8321 GB, free: 7.074 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001678/0.7624, allocations: 0.7807 MB / 0.8329 GB, free: 6.297 MB / 0.67 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.005466/0.7679, allocations: 4.126 MB / 0.8369 GB, free: 1.824 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001953/0.7699, allocations: 0.8589 MB / 0.8378 GB, free: 0.9609 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008504/0.7707, allocations: 439.2 kB / 0.8382 GB, free: 0.5234 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008993/0.7716, allocations: 1.303 MB / 0.8395 GB, free: 14.92 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.7717, allocations: 43.22 kB / 0.8395 GB, free: 14.87 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=80): time 2.876e-06/0.7717, allocations: 0 / 0.8395 GB, free: 14.87 MB / 0.6856 GB Notification: Performance of matching and sorting (n=80): time 0.005507/0.7772, allocations: 1.931 MB / 0.8414 GB, free: 12.87 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.7773, allocations: 60.06 kB / 0.8414 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.7783, allocations: 0.7956 MB / 0.8422 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.256e-05/0.7784, allocations: 41.64 kB / 0.8423 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003939/0.7788, allocations: 0.5206 MB / 0.8428 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002382/0.779, allocations: 289.5 kB / 0.843 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002501/0.7793, allocations: 150.6 kB / 0.8432 GB, free: 10.97 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.7794, allocations: 341.9 kB / 0.8435 GB, free: 10.63 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006943/0.7801, allocations: 305.8 kB / 0.8438 GB, free: 10.33 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00077/0.7809, allocations: 392.6 kB / 0.8442 GB, free: 9.934 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/0.7824, allocations: 0.6901 MB / 0.8448 GB, free: 9.234 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.7824, allocations: 0 / 0.8448 GB, free: 9.234 MB / 0.6856 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003259/0.7857, allocations: 1.237 MB / 0.8461 GB, free: 7.977 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.7857, allocations: 10.66 kB / 0.8461 GB, free: 7.969 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/0.7858, allocations: 3.359 kB / 0.8461 GB, free: 7.969 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000918/0.7867, allocations: 250.3 kB / 0.8463 GB, free: 7.715 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000926/0.7876, allocations: 199.8 kB / 0.8465 GB, free: 7.52 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006375/0.794, allocations: 5.234 MB / 0.8516 GB, free: 1.867 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008054/0.7948, allocations: 91.48 kB / 0.8517 GB, free: 1.777 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/0.795, allocations: 55.97 kB / 0.8517 GB, free: 1.723 MB / 0.6856 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.0004319/0.7954, allocations: 221.7 kB / 0.852 GB, free: 1.496 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001935/0.7956, allocations: 107.3 kB / 0.8521 GB, free: 1.391 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3114/1.107, allocations: 1.829 MB / 0.8538 GB, free: 239.3 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-05/1.107, allocations: 11.69 kB / 0.8539 GB, free: 239.3 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/1.107, allocations: 5.875 kB / 0.8539 GB, free: 239.3 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.379e-05/1.107, allocations: 5.516 kB / 0.8539 GB, free: 239.3 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005593/1.113, allocations: 2.504 MB / 0.8563 GB, free: 238.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/1.113, allocations: 2 kB / 0.8563 GB, free: 238.9 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/1.114, allocations: 200.7 kB / 0.8565 GB, free: 238.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008869/1.115, allocations: 252.8 kB / 0.8568 GB, free: 238.9 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.764e-05/1.115, allocations: 30.52 kB / 0.8568 GB, free: 238.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005314/1.12, allocations: 5.241 MB / 0.8619 GB, free: 234.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.12, allocations: 2 kB / 0.8619 GB, free: 234.5 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004284/1.124, allocations: 1.737 MB / 0.8636 GB, free: 233.8 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000511/1.125, allocations: 259.9 kB / 0.8638 GB, free: 233.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000145/1.125, allocations: 22.7 kB / 0.8639 GB, free: 233.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000568/1.126, allocations: 37.08 kB / 0.8639 GB, free: 233.6 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002087/1.126, allocations: 77.02 kB / 0.864 GB, free: 233.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/1.126, allocations: 47.34 kB / 0.864 GB, free: 233.6 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008927/1.127, allocations: 0.5569 MB / 0.8646 GB, free: 233.4 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/1.127, allocations: 1.156 kB / 0.8646 GB, free: 233.4 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001389/1.128, allocations: 481.5 kB / 0.865 GB, free: 233.3 MB / 0.6856 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.001094/1.129, allocations: 0.5702 MB / 0.8656 GB, free: 233.2 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002626/1.132, allocations: 1.248 MB / 0.8668 GB, free: 232.6 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.132, allocations: 1.25 kB / 0.8668 GB, free: 232.6 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001644/1.134, allocations: 0.9136 MB / 0.8677 GB, free: 232.1 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001324/1.135, allocations: 278.9 kB / 0.868 GB, free: 232 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004049/1.139, allocations: 2.377 MB / 0.8703 GB, free: 230.8 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007059/1.14, allocations: 1.081 MB / 0.8713 GB, free: 230.1 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001431/1.141, allocations: 0.6352 MB / 0.872 GB, free: 230 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004405/1.142, allocations: 148 kB / 0.8721 GB, free: 229.9 MB / 0.6856 GB Notification: Performance of SimCode: time 4.61e-07/1.142, allocations: 0 / 0.8721 GB, free: 229.9 MB / 0.6856 GB Notification: Performance of Templates: time 0.0348/1.177, allocations: 19.79 MB / 0.8914 GB, free: 223.6 MB / 0.6856 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