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.00138/0.00138, allocations: 108 kB / 15.61 MB, free: 148 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.001329/0.001329, allocations: 197.1 kB / 16.53 MB, free: 6.656 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.39/1.39, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6811/0.6811, allocations: 91.19 MB / 381.6 MB, free: 9.387 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.00231/0.00231, allocations: 78.19 kB / 460.3 MB, free: 23.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1273, allocations: 67.7 MB / 0.5156 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.4997/0.627, allocations: 201.8 MB / 0.7127 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0168/0.6439, allocations: 14.83 MB / 0.7272 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001052/0.645, allocations: 39.75 kB / 0.7272 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001353/0.6464, allocations: 0.5201 MB / 0.7277 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003362/0.6498, allocations: 1.302 MB / 0.729 GB, free: 4.809 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003885/0.6537, allocations: 1.398 MB / 0.7304 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002092/0.6558, allocations: 1.336 MB / 0.7317 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00047/0.6562, allocations: 269 kB / 0.7319 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00221/0.6585, allocations: 1.051 MB / 0.733 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005676/0.6591, allocations: 0.4975 MB / 0.7335 GB, free: 236 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.6592, allocations: 76 kB / 0.7335 GB, free: 160 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004934/0.6641, allocations: 2.465 MB / 0.7359 GB, free: 13.69 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002383/0.6644, allocations: 211.1 kB / 0.7361 GB, free: 13.48 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005213/0.6649, allocations: 0.4933 MB / 0.7366 GB, free: 12.98 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003685/0.6686, allocations: 1.843 MB / 0.7384 GB, free: 11.14 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.984e-06/0.6686, allocations: 3.984 kB / 0.7384 GB, free: 11.13 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6686, allocations: 0 / 0.7384 GB, free: 11.13 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.395e-05/0.6687, allocations: 4 kB / 0.7384 GB, free: 11.13 MB / 0.545 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.002912/0.6716, allocations: 1.527 MB / 0.7399 GB, free: 9.551 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.6716, allocations: 8.031 kB / 0.7399 GB, free: 9.543 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001725/0.6734, allocations: 238.4 kB / 0.7402 GB, free: 9.309 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.6745, allocations: 0.701 MB / 0.7408 GB, free: 8.562 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002342/0.6747, allocations: 184.8 kB / 0.741 GB, free: 8.359 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/0.6749, allocations: 79.89 kB / 0.7411 GB, free: 8.281 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.6765, allocations: 0.818 MB / 0.7419 GB, free: 7.445 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.6765, allocations: 0 / 0.7419 GB, free: 7.445 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.122e-05/0.6766, allocations: 28 kB / 0.7419 GB, free: 7.418 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/0.6766, allocations: 20 kB / 0.7419 GB, free: 7.398 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001455/0.6781, allocations: 0.648 MB / 0.7426 GB, free: 6.754 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.004518/0.6826, allocations: 3.236 MB / 0.7457 GB, free: 3.227 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/0.684, allocations: 0.5977 MB / 0.7463 GB, free: 2.621 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006812/0.6847, allocations: 355.3 kB / 0.7467 GB, free: 2.273 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006749/0.6854, allocations: 0.903 MB / 0.7475 GB, free: 1.168 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.6854, allocations: 39.12 kB / 0.7476 GB, free: 1.121 MB / 0.545 GB Notification: Performance of pre-optimization done (n=59): time 2.395e-06/0.6854, allocations: 0 / 0.7476 GB, free: 1.121 MB / 0.545 GB Notification: Performance of matching and sorting (n=59): time 0.004879/0.6903, allocations: 1.674 MB / 0.7492 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.6904, allocations: 63.97 kB / 0.7493 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009012/0.6913, allocations: 0.6455 MB / 0.7499 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.66e-05/0.6914, allocations: 33.7 kB / 0.7499 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004079/0.6918, allocations: 432.2 kB / 0.7503 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001982/0.692, allocations: 201 kB / 0.7505 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002055/0.6922, allocations: 110.2 kB / 0.7506 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.6924, allocations: 333.8 kB / 0.751 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006004/0.693, allocations: 253.8 kB / 0.7512 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005949/0.6936, allocations: 260.9 kB / 0.7514 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/0.6948, allocations: 0.5194 MB / 0.752 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.6948, allocations: 4 kB / 0.752 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002756/0.6976, allocations: 1.019 MB / 0.753 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.6976, allocations: 8 kB / 0.753 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.6976, allocations: 0 / 0.753 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007917/0.6984, allocations: 226.4 kB / 0.7532 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000743/0.6992, allocations: 153.7 kB / 0.7533 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005676/0.7048, allocations: 5.089 MB / 0.7583 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005823/0.7054, allocations: 71.45 kB / 0.7584 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.017e-05/0.7055, allocations: 35.98 kB / 0.7584 GB, free: 5.457 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.0003457/0.7059, allocations: 209.6 kB / 0.7586 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.706, allocations: 79.06 kB / 0.7587 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003651/0.7097, allocations: 1.418 MB / 0.7601 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.7097, allocations: 4 kB / 0.7601 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.7097, allocations: 7.938 kB / 0.7601 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.7097, allocations: 3.984 kB / 0.7601 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004206/0.714, allocations: 2.086 MB / 0.7621 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.714, allocations: 4.156 kB / 0.7621 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007518/0.7147, allocations: 139.8 kB / 0.7622 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007439/0.7155, allocations: 238.2 kB / 0.7625 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.194e-05/0.7156, allocations: 20.67 kB / 0.7625 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005594/0.7212, allocations: 5.119 MB / 0.7675 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.7212, allocations: 0 / 0.7675 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003421/0.7246, allocations: 1.409 MB / 0.7689 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003274/0.725, allocations: 211.9 kB / 0.7691 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.7251, allocations: 19.92 kB / 0.7691 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004939/0.7256, allocations: 39.97 kB / 0.7691 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/0.7257, allocations: 60.42 kB / 0.7692 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.942e-05/0.7258, allocations: 31.98 kB / 0.7692 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005549/0.7264, allocations: 471 kB / 0.7697 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7264, allocations: 0 / 0.7697 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001048/0.7274, allocations: 375.2 kB / 0.77 GB, free: 8.941 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.0008695/0.7283, allocations: 0.4886 MB / 0.7705 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002489/0.7308, allocations: 1.085 MB / 0.7716 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.7308, allocations: 7.938 kB / 0.7716 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001562/0.7324, allocations: 0.7961 MB / 0.7723 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000972/0.7334, allocations: 208.9 kB / 0.7725 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003215/0.7366, allocations: 1.826 MB / 0.7743 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006562/0.7373, allocations: 0.9931 MB / 0.7753 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001184/0.7385, allocations: 443.8 kB / 0.7757 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003612/0.7388, allocations: 107.4 kB / 0.7758 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of SimCode: time 1.313e-06/0.7388, allocations: 0 / 0.7758 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of Templates: time 0.02679/0.7656, allocations: 15.85 MB / 0.7913 GB, free: 3.125 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches