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.001076/0.001076, allocations: 100.1 kB / 15.88 MB, free: 12 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.001084/0.001084, allocations: 198 kB / 16.79 MB, free: 6.828 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.291/1.291, allocations: 222.9 MB / 240.5 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6249/0.6249, allocations: 89.52 MB / 380.1 MB, free: 11.27 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 84.92 kB / 458.2 MB, free: 23.86 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1118, allocations: 67.31 MB / 0.5132 GB, free: 12.94 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.409/0.5209, allocations: 200 MB / 0.7085 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01567/0.5366, allocations: 14.89 MB / 0.723 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007909/0.5374, allocations: 15.94 kB / 0.7231 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001256/0.5387, allocations: 453.6 kB / 0.7235 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002848/0.5416, allocations: 1.124 MB / 0.7246 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002963/0.5445, allocations: 1.217 MB / 0.7258 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001236/0.5458, allocations: 1.359 MB / 0.7271 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000324/0.5461, allocations: 237.1 kB / 0.7273 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001648/0.5478, allocations: 0.9772 MB / 0.7283 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004228/0.5482, allocations: 473.8 kB / 0.7287 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.247e-05/0.5483, allocations: 52 kB / 0.7288 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00463/0.5529, allocations: 2.613 MB / 0.7313 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001559/0.5531, allocations: 171.2 kB / 0.7315 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003979/0.5535, allocations: 441.6 kB / 0.7319 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001679/0.5552, allocations: 1.243 MB / 0.7331 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.5552, allocations: 3.938 kB / 0.7331 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.01e-07/0.5552, allocations: 3.938 kB / 0.7331 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.5552, allocations: 0 / 0.7331 GB, free: 2.086 MB / 0.5294 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.002556/0.5578, allocations: 1.384 MB / 0.7345 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.5579, allocations: 12.03 kB / 0.7345 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001677/0.5595, allocations: 218.7 kB / 0.7347 GB, free: 428 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007072/0.5603, allocations: 0.5255 MB / 0.7352 GB, free: 15.85 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002045/0.5605, allocations: 184.7 kB / 0.7354 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.5606, allocations: 79.75 kB / 0.7355 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/0.5621, allocations: 0.8219 MB / 0.7363 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.5622, allocations: 7.922 kB / 0.7363 GB, free: 14.72 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.704e-05/0.5622, allocations: 24 kB / 0.7363 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/0.5623, allocations: 20 kB / 0.7363 GB, free: 14.68 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001378/0.5636, allocations: 0.6441 MB / 0.737 GB, free: 14.04 MB / 0.545 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.003794/0.5674, allocations: 3.183 MB / 0.7401 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/0.5687, allocations: 0.5987 MB / 0.7407 GB, free: 9.965 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006741/0.5694, allocations: 346.4 kB / 0.741 GB, free: 9.625 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005707/0.57, allocations: 0.903 MB / 0.7419 GB, free: 8.52 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.57, allocations: 39.12 kB / 0.7419 GB, free: 8.469 MB / 0.545 GB Notification: Performance of pre-optimization done (n=59): time 1.983e-06/0.5701, allocations: 4 kB / 0.7419 GB, free: 8.465 MB / 0.545 GB Notification: Performance of matching and sorting (n=59): time 0.004565/0.5746, allocations: 1.655 MB / 0.7435 GB, free: 6.738 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.5747, allocations: 59.97 kB / 0.7436 GB, free: 6.668 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005434/0.5752, allocations: 0.499 MB / 0.7441 GB, free: 6.16 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.869e-05/0.5753, allocations: 41.64 kB / 0.7441 GB, free: 6.113 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002263/0.5755, allocations: 360.2 kB / 0.7445 GB, free: 5.758 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001515/0.5757, allocations: 205 kB / 0.7446 GB, free: 5.555 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001887/0.5759, allocations: 110.2 kB / 0.7448 GB, free: 5.441 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.576, allocations: 378.8 kB / 0.7451 GB, free: 5.062 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005912/0.5766, allocations: 253 kB / 0.7454 GB, free: 4.816 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000598/0.5772, allocations: 260.9 kB / 0.7456 GB, free: 4.562 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/0.5784, allocations: 0.5273 MB / 0.7461 GB, free: 4.031 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.5784, allocations: 0 / 0.7461 GB, free: 4.031 MB / 0.545 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002641/0.5811, allocations: 0.9961 MB / 0.7471 GB, free: 3.02 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.5811, allocations: 4 kB / 0.7471 GB, free: 3.016 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.5811, allocations: 0 / 0.7471 GB, free: 3.016 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007744/0.5819, allocations: 226.4 kB / 0.7473 GB, free: 2.785 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007371/0.5826, allocations: 147.8 kB / 0.7475 GB, free: 2.641 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005144/0.5878, allocations: 4.739 MB / 0.7521 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000612/0.5884, allocations: 83.53 kB / 0.7522 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.941e-05/0.5885, allocations: 39.92 kB / 0.7522 GB, free: 13.38 MB / 0.5606 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.0003243/0.5889, allocations: 202.8 kB / 0.7524 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.589, allocations: 63.16 kB / 0.7525 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003516/0.5925, allocations: 1.392 MB / 0.7538 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.5926, allocations: 11.94 kB / 0.7538 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.5926, allocations: 4 kB / 0.7538 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.5926, allocations: 7.984 kB / 0.7538 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004041/0.5966, allocations: 2.043 MB / 0.7558 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.5967, allocations: 4 kB / 0.7558 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007658/0.5974, allocations: 139.9 kB / 0.756 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006963/0.5981, allocations: 234.3 kB / 0.7562 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.949e-05/0.5982, allocations: 31.92 kB / 0.7562 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005039/0.6032, allocations: 4.747 MB / 0.7609 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.6033, allocations: 3.938 kB / 0.7609 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003245/0.6065, allocations: 1.393 MB / 0.7622 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003606/0.6069, allocations: 196.1 kB / 0.7624 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.607, allocations: 12 kB / 0.7624 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005148/0.6075, allocations: 55.94 kB / 0.7625 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/0.6077, allocations: 56.81 kB / 0.7625 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.515e-05/0.6078, allocations: 31.98 kB / 0.7626 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00043/0.6082, allocations: 370.8 kB / 0.7629 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6082, allocations: 4 kB / 0.7629 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00102/0.6093, allocations: 371.2 kB / 0.7633 GB, free: 1.434 MB / 0.5606 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.0008519/0.6101, allocations: 499.1 kB / 0.7637 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002163/0.6123, allocations: 1.062 MB / 0.7648 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.6123, allocations: 0 / 0.7648 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001489/0.6138, allocations: 0.7961 MB / 0.7656 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009065/0.6147, allocations: 183.5 kB / 0.7657 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002956/0.6177, allocations: 2.001 MB / 0.7677 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004465/0.6181, allocations: 0.938 MB / 0.7686 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004455/0.6186, allocations: 123.3 kB / 0.7687 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of SimCode: time 3.71e-07/0.6186, allocations: 0 / 0.7687 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of Templates: time 0.02367/0.6423, allocations: 22.99 MB / 0.7912 GB, free: 4.758 MB / 0.5919 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 -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