Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.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_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow") translateModel(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 107 kB / 16.36 MB, free: 6.336 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.001789/0.001789, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6809/0.6809, allocations: 89.5 MB / 380.6 MB, free: 8.625 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 80.16 kB / 459.7 MB, free: 10.6 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1138, allocations: 67.32 MB / 0.5146 GB, free: 7.207 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.4117/0.5255, allocations: 201.6 MB / 0.7115 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01569/0.5412, allocations: 14.75 MB / 0.7259 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007679/0.542, allocations: 19.88 kB / 0.7259 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001273/0.5434, allocations: 0.5106 MB / 0.7264 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0032/0.5466, allocations: 1.251 MB / 0.7277 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003214/0.5498, allocations: 1.389 MB / 0.729 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001368/0.5512, allocations: 1.217 MB / 0.7302 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003627/0.5516, allocations: 263.1 kB / 0.7305 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001772/0.5533, allocations: 0.9871 MB / 0.7314 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000509/0.5539, allocations: 485.8 kB / 0.7319 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.929e-05/0.554, allocations: 80 kB / 0.732 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004603/0.5586, allocations: 2.498 MB / 0.7344 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001742/0.5588, allocations: 203.2 kB / 0.7346 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000435/0.5592, allocations: 457.6 kB / 0.735 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002827/0.562, allocations: 1.741 MB / 0.7367 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.5621, allocations: 3.938 kB / 0.7367 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5621, allocations: 0 / 0.7367 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.5621, allocations: 0 / 0.7367 GB, free: 3.434 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002493/0.5646, allocations: 1.38 MB / 0.7381 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.5646, allocations: 12.03 kB / 0.7381 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001701/0.5663, allocations: 214.7 kB / 0.7383 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000892/0.5673, allocations: 0.5371 MB / 0.7388 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002097/0.5675, allocations: 184.7 kB / 0.739 GB, free: 1 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/0.5676, allocations: 75.91 kB / 0.7391 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/0.5691, allocations: 0.8219 MB / 0.7399 GB, free: 92 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.5692, allocations: 7.875 kB / 0.7399 GB, free: 84 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.022e-05/0.5692, allocations: 32 kB / 0.7399 GB, free: 52 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/0.5693, allocations: 16 kB / 0.7399 GB, free: 36 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2157/0.785, allocations: 0.6401 MB / 0.7406 GB, free: 187.6 MB / 0.5762 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.003697/0.7887, allocations: 3.17 MB / 0.7437 GB, free: 185.9 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/0.79, allocations: 0.6015 MB / 0.7442 GB, free: 185.9 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006247/0.7906, allocations: 358.9 kB / 0.7446 GB, free: 185.9 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003828/0.791, allocations: 0.8964 MB / 0.7455 GB, free: 184.9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.674e-05/0.791, allocations: 40.19 kB / 0.7455 GB, free: 184.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=59): time 2.484e-06/0.791, allocations: 0 / 0.7455 GB, free: 184.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=59): time 0.004314/0.7953, allocations: 1.662 MB / 0.7471 GB, free: 184.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.7954, allocations: 58.41 kB / 0.7472 GB, free: 184.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005254/0.7959, allocations: 0.5003 MB / 0.7477 GB, free: 184.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.665e-05/0.796, allocations: 36.05 kB / 0.7477 GB, free: 184.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.7962, allocations: 362.6 kB / 0.748 GB, free: 184 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.7963, allocations: 201.1 kB / 0.7482 GB, free: 183.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001793/0.7965, allocations: 112.7 kB / 0.7483 GB, free: 183.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.148e-05/0.7965, allocations: 374.7 kB / 0.7487 GB, free: 183.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005563/0.7971, allocations: 256.5 kB / 0.7489 GB, free: 183.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005435/0.7977, allocations: 260.5 kB / 0.7492 GB, free: 183.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/0.7988, allocations: 0.5245 MB / 0.7497 GB, free: 183.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.7988, allocations: 0.6562 kB / 0.7497 GB, free: 183.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002431/0.8012, allocations: 0.9931 MB / 0.7507 GB, free: 183.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.8012, allocations: 7.594 kB / 0.7507 GB, free: 183.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.8013, allocations: 0 / 0.7507 GB, free: 183.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008113/0.8021, allocations: 229.5 kB / 0.7509 GB, free: 183.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007317/0.8028, allocations: 151.9 kB / 0.751 GB, free: 183.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004661/0.8075, allocations: 5.087 MB / 0.756 GB, free: 179.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005506/0.8081, allocations: 74.95 kB / 0.7561 GB, free: 179.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/0.8082, allocations: 37.7 kB / 0.7561 GB, free: 179.4 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (57): * Single equations (assignments): 54 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000335/0.8085, allocations: 193.8 kB / 0.7563 GB, free: 179.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.8087, allocations: 63.69 kB / 0.7564 GB, free: 179.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003143/0.8118, allocations: 1.407 MB / 0.7577 GB, free: 179.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.8118, allocations: 8.703 kB / 0.7578 GB, free: 179.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.8118, allocations: 0.9375 kB / 0.7578 GB, free: 179.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.8119, allocations: 5.641 kB / 0.7578 GB, free: 179.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003878/0.8157, allocations: 2.039 MB / 0.7597 GB, free: 178.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.8158, allocations: 2.875 kB / 0.7598 GB, free: 178.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007306/0.8165, allocations: 137.3 kB / 0.7599 GB, free: 178.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006561/0.8172, allocations: 236.1 kB / 0.7601 GB, free: 178.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.447e-05/0.8172, allocations: 24.72 kB / 0.7601 GB, free: 178.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004648/0.8219, allocations: 5.106 MB / 0.7651 GB, free: 174.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.8219, allocations: 1.812 kB / 0.7651 GB, free: 174.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00317/0.8251, allocations: 1.39 MB / 0.7665 GB, free: 174.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003158/0.8254, allocations: 196 kB / 0.7667 GB, free: 174.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/0.8256, allocations: 15.5 kB / 0.7667 GB, free: 174.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005265/0.8261, allocations: 41.25 kB / 0.7667 GB, free: 174.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/0.8263, allocations: 55.77 kB / 0.7668 GB, free: 174.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.589e-05/0.8264, allocations: 33.28 kB / 0.7668 GB, free: 174.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004435/0.8268, allocations: 376.6 kB / 0.7672 GB, free: 174 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8268, allocations: 0 / 0.7672 GB, free: 174 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001138/0.828, allocations: 370.6 kB / 0.7675 GB, free: 174 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (crossFlowNTU.h_out_A,crossFlowNTU.h_out_B,flowResistanceA.inlet.m_flow,flowResistanceB.inlet.m_flow) * 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 (53): * Single equations (assignments): 50 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001148/0.8291, allocations: 497.5 kB / 0.768 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002304/0.8314, allocations: 1.069 MB / 0.769 GB, free: 173.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.8314, allocations: 0 / 0.769 GB, free: 173.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001457/0.8329, allocations: 0.7964 MB / 0.7698 GB, free: 173 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009862/0.8339, allocations: 189.5 kB / 0.77 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002989/0.8369, allocations: 1.634 MB / 0.7716 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004234/0.8374, allocations: 0.9402 MB / 0.7725 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009796/0.8383, allocations: 431.5 kB / 0.7729 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003184/0.8387, allocations: 93.5 kB / 0.773 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of SimCode: time 6.31e-07/0.8387, allocations: 0 / 0.773 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.02971/0.8684, allocations: 15.43 MB / 0.7881 GB, free: 168.1 MB / 0.5762 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.makefile (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow -abortSlowSimulation -alarm=1200 -s gbode -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches