Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.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.CounterFlowNTU_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|counterFlowNTU1.h_out_A|counterFlowNTU1.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|counterFlowNTU1.h_out_A|counterFlowNTU1.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.00132/0.00132, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.328/1.328, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6886/0.6886, allocations: 91.19 MB / 382.2 MB, free: 7.57 MB / 302.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 79.88 kB / 461 MB, free: 9.059 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1307, allocations: 67.68 MB / 0.5163 GB, free: 5.305 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.7664/0.8972, allocations: 234.9 MB / 0.7457 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02149/0.9187, allocations: 22.27 MB / 0.7675 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00174/0.9205, allocations: 59.12 kB / 0.7675 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002274/0.9228, allocations: 0.7882 MB / 0.7683 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006757/0.9296, allocations: 2.018 MB / 0.7702 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00638/0.936, allocations: 2.174 MB / 0.7724 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004018/0.94, allocations: 2.173 MB / 0.7745 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009119/0.941, allocations: 420.8 kB / 0.7749 GB, free: 17.3 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0034/0.9444, allocations: 1.357 MB / 0.7762 GB, free: 17.29 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001194/0.9456, allocations: 0.8328 MB / 0.777 GB, free: 17.29 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002434/0.9458, allocations: 134 kB / 0.7772 GB, free: 17.29 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009549/0.9554, allocations: 4.037 MB / 0.7811 GB, free: 17.21 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005353/0.956, allocations: 342.3 kB / 0.7814 GB, free: 17.21 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001408/0.9574, allocations: 0.816 MB / 0.7822 GB, free: 17.11 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007557/0.965, allocations: 2.947 MB / 0.7851 GB, free: 16.69 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.965, allocations: 0.9062 kB / 0.7851 GB, free: 16.69 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.763e-06/0.965, allocations: 0 / 0.7851 GB, free: 16.69 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.834e-05/0.9651, allocations: 1.719 kB / 0.7851 GB, free: 16.69 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.004948/0.97, allocations: 2.305 MB / 0.7874 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.9701, allocations: 9.25 kB / 0.7874 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003238/0.9733, allocations: 412.3 kB / 0.7878 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00173/0.975, allocations: 0.9869 MB / 0.7887 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003714/0.9754, allocations: 353 kB / 0.7891 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002063/0.9757, allocations: 133.3 kB / 0.7892 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00258/0.9782, allocations: 1.448 MB / 0.7906 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.465e-05/0.9783, allocations: 1.062 kB / 0.7906 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/0.9784, allocations: 48.91 kB / 0.7906 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.159e-05/0.9784, allocations: 33.16 kB / 0.7907 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002412/0.9808, allocations: 1.186 MB / 0.7918 GB, free: 14.69 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.007253/0.9881, allocations: 5.492 MB / 0.7972 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003009/0.9911, allocations: 1.318 MB / 0.7985 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001344/0.9925, allocations: 0.7069 MB / 0.7992 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001146/0.9937, allocations: 1.79 MB / 0.8009 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.9937, allocations: 45.09 kB / 0.801 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=113): time 3.416e-06/0.9937, allocations: 0 / 0.801 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of matching and sorting (n=113): time 0.008488/1.002, allocations: 3.043 MB / 0.8039 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.558e-05/1.002, allocations: 62.69 kB / 0.804 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/1.003, allocations: 0.8795 MB / 0.8049 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001005/1.003, allocations: 44.98 kB / 0.8049 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003667/1.004, allocations: 0.6128 MB / 0.8055 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003136/1.004, allocations: 386.8 kB / 0.8059 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003498/1.005, allocations: 208.9 kB / 0.8061 GB, free: 8.414 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001195/1.005, allocations: 346.6 kB / 0.8064 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001083/1.006, allocations: 0.4924 MB / 0.8069 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/1.007, allocations: 0.5838 MB / 0.8074 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002224/1.009, allocations: 1.049 MB / 0.8085 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/1.009, allocations: 0 / 0.8085 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005134/1.014, allocations: 1.922 MB / 0.8103 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/1.014, allocations: 6.328 kB / 0.8104 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/1.014, allocations: 0 / 0.8104 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001299/1.016, allocations: 421.8 kB / 0.8108 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/1.017, allocations: 297 kB / 0.811 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009027/1.026, allocations: 7.42 MB / 0.8183 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/1.028, allocations: 126.6 kB / 0.8184 GB, free: 1.781 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001693/1.028, allocations: 75.16 kB / 0.8185 GB, free: 1.773 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 (112): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,1,88.9%), (3,1,88.9%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006477/1.028, allocations: 268.5 kB / 0.8187 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002863/1.029, allocations: 127.4 kB / 0.8189 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006594/1.035, allocations: 2.721 MB / 0.8215 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/1.035, allocations: 13.09 kB / 0.8215 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/1.035, allocations: 6.906 kB / 0.8215 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/1.035, allocations: 7.984 kB / 0.8215 GB, free: 0.6836 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007649/1.043, allocations: 3.59 MB / 0.825 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/1.043, allocations: 3.125 kB / 0.8251 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00158/1.045, allocations: 289.7 kB / 0.8253 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001272/1.046, allocations: 431.7 kB / 0.8257 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001143/1.046, allocations: 50.41 kB / 0.8258 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009181/1.055, allocations: 7.42 MB / 0.833 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/1.055, allocations: 4.094 kB / 0.833 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006791/1.062, allocations: 2.606 MB / 0.8356 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007333/1.063, allocations: 311.4 kB / 0.8359 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001989/1.063, allocations: 36.03 kB / 0.8359 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008747/1.064, allocations: 73.36 kB / 0.836 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002439/1.064, allocations: 91.88 kB / 0.8361 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001331/1.064, allocations: 73.39 kB / 0.8361 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007739/1.065, allocations: 0.6049 MB / 0.8367 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.482e-06/1.065, allocations: 0 / 0.8367 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001976/1.067, allocations: 0.5975 MB / 0.8373 GB, free: 4.055 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,counterFlowNTU1.h_out_A,counterFlowNTU1.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 (106): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,5,100.0%), (1,5,100.0%), (3,1,88.9%), (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.001447/1.069, allocations: 0.6734 MB / 0.838 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005361/1.074, allocations: 1.94 MB / 0.8399 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/1.074, allocations: 0 / 0.8399 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002852/1.077, allocations: 1.382 MB / 0.8412 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001613/1.078, allocations: 304 kB / 0.8415 GB, free: 484 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005725/1.084, allocations: 3.085 MB / 0.8445 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000805/1.085, allocations: 1.198 MB / 0.8457 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009025/1.086, allocations: 232.9 kB / 0.8459 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of SimCode: time 5.91e-07/1.086, allocations: 0 / 0.8459 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of Templates: time 0.05241/1.138, allocations: 46.43 MB / 0.8913 GB, free: 14.12 MB / 0.67 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.makefile (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches