Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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_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_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.001426/0.001426, allocations: 106.5 kB / 15.99 MB, free: 6.352 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.001535/0.001535, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.279/1.279, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6357/0.6357, allocations: 91.19 MB / 381.9 MB, free: 7.547 MB / 302.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 83.88 kB / 460.5 MB, free: 9.387 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1185, allocations: 67.67 MB / 0.5158 GB, free: 5.637 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.3933/0.5118, allocations: 212.5 MB / 0.7233 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.2877/0.7996, allocations: 17.38 MB / 0.7403 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001286/0.8009, allocations: 52.59 kB / 0.7403 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001466/0.8024, allocations: 0.5403 MB / 0.7409 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003822/0.8063, allocations: 1.576 MB / 0.7424 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003671/0.81, allocations: 1.529 MB / 0.7439 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001765/0.8117, allocations: 1.655 MB / 0.7455 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004335/0.8122, allocations: 293.2 kB / 0.7458 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002095/0.8143, allocations: 1.211 MB / 0.747 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006282/0.8149, allocations: 0.625 MB / 0.7476 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001274/0.8151, allocations: 93.22 kB / 0.7477 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005976/0.821, allocations: 3.721 MB / 0.7513 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002525/0.8213, allocations: 251 kB / 0.7516 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007489/0.8221, allocations: 0.611 MB / 0.7522 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002962/0.825, allocations: 1.699 MB / 0.7538 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.8251, allocations: 0.8125 kB / 0.7538 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8251, allocations: 0 / 0.7538 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.694e-05/0.8251, allocations: 1.562 kB / 0.7538 GB, free: 1.246 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.003547/0.8286, allocations: 1.811 MB / 0.7556 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.8287, allocations: 12.27 kB / 0.7556 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002018/0.8307, allocations: 289.5 kB / 0.7559 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/0.8321, allocations: 0.8049 MB / 0.7567 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002178/0.8323, allocations: 201.5 kB / 0.7569 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/0.8325, allocations: 91.14 kB / 0.7569 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001993/0.8345, allocations: 1.009 MB / 0.7579 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.8345, allocations: 2.188 kB / 0.7579 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.095e-05/0.8346, allocations: 36.36 kB / 0.758 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.165e-05/0.8346, allocations: 24.34 kB / 0.758 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00171/0.8363, allocations: 0.7812 MB / 0.7587 GB, free: 15.66 MB / 0.5919 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.005308/0.8417, allocations: 4.111 MB / 0.7628 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001933/0.8436, allocations: 0.8568 MB / 0.7636 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008149/0.8444, allocations: 430.8 kB / 0.764 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008671/0.8453, allocations: 1.304 MB / 0.7653 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.8454, allocations: 42.94 kB / 0.7653 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 2.255e-06/0.8454, allocations: 0 / 0.7653 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.005479/0.8508, allocations: 1.915 MB / 0.7672 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.8509, allocations: 62.27 kB / 0.7673 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.852, allocations: 0.771 MB / 0.768 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.775e-05/0.852, allocations: 40.2 kB / 0.768 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003066/0.8524, allocations: 499.8 kB / 0.7685 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002186/0.8526, allocations: 277.5 kB / 0.7688 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002836/0.8529, allocations: 149.8 kB / 0.7689 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.853, allocations: 339.6 kB / 0.7693 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007132/0.8537, allocations: 309.1 kB / 0.7695 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007746/0.8545, allocations: 392.5 kB / 0.7699 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001436/0.856, allocations: 0.6889 MB / 0.7706 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.856, allocations: 0 / 0.7706 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003182/0.8592, allocations: 1.231 MB / 0.7718 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.8592, allocations: 5.406 kB / 0.7718 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.8592, allocations: 2.969 kB / 0.7718 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008106/0.86, allocations: 244.5 kB / 0.772 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009571/0.861, allocations: 202 kB / 0.7722 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005459/0.8665, allocations: 5.241 MB / 0.7773 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008012/0.8673, allocations: 96.56 kB / 0.7774 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/0.8674, allocations: 54.25 kB / 0.7775 GB, free: 6.105 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.0004196/0.8678, allocations: 220.8 kB / 0.7777 GB, free: 5.992 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001904/0.868, allocations: 105.3 kB / 0.7778 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004207/0.8722, allocations: 1.828 MB / 0.7796 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.8723, allocations: 9.25 kB / 0.7796 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.8723, allocations: 3.688 kB / 0.7796 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.818e-05/0.8723, allocations: 11.8 kB / 0.7796 GB, free: 5.789 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004562/0.8769, allocations: 2.487 MB / 0.782 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.8769, allocations: 2.719 kB / 0.782 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009494/0.8778, allocations: 197.4 kB / 0.7822 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007094/0.8786, allocations: 258.4 kB / 0.7825 GB, free: 5.223 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.138e-05/0.8786, allocations: 35.66 kB / 0.7825 GB, free: 5.223 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00518/0.8838, allocations: 5.235 MB / 0.7876 GB, free: 1.164 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.8839, allocations: 2.406 kB / 0.7876 GB, free: 1.164 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003712/0.8876, allocations: 1.722 MB / 0.7893 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004031/0.888, allocations: 251.4 kB / 0.7895 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001472/0.8881, allocations: 23.38 kB / 0.7896 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006236/0.8888, allocations: 51.88 kB / 0.7896 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/0.8889, allocations: 81.53 kB / 0.7897 GB, free: 0.6992 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.228e-05/0.889, allocations: 47.8 kB / 0.7897 GB, free: 0.6992 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000625/0.8897, allocations: 0.5345 MB / 0.7903 GB, free: 0.5898 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8897, allocations: 0.9375 kB / 0.7903 GB, free: 0.5898 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001329/0.891, allocations: 477.8 kB / 0.7907 GB, free: 0.5156 MB / 0.5919 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.001035/0.892, allocations: 0.5783 MB / 0.7913 GB, free: 340 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002718/0.8948, allocations: 1.276 MB / 0.7925 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.8948, allocations: 1.5 kB / 0.7925 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001497/0.8963, allocations: 0.906 MB / 0.7934 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/0.8975, allocations: 263.6 kB / 0.7937 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003991/0.9015, allocations: 2.804 MB / 0.7964 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005213/0.9021, allocations: 1.072 MB / 0.7975 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006258/0.9027, allocations: 181.2 kB / 0.7976 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of SimCode: time 7.61e-07/0.9027, allocations: 0 / 0.7976 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of Templates: time 0.03237/0.9351, allocations: 31.63 MB / 0.8285 GB, free: 7.129 MB / 0.6231 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.makefile (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches