Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.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_parallel,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|counterFlowNTU1.inletA.m_flow|counterFlowNTU1.inletB.m_flow|mCV.dp_int|mCV1.dp_int|mCV2.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel,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|counterFlowNTU1.inletA.m_flow|counterFlowNTU1.inletB.m_flow|mCV.dp_int|mCV1.dp_int|mCV2.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009779/0.0009779, allocations: 98.88 kB / 16.02 MB, free: 76 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.001108/0.001108, allocations: 186.5 kB / 16.92 MB, free: 6.77 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.42/1.42, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6138/0.6138, allocations: 89.64 MB / 381.7 MB, free: 11.34 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003437, allocations: 12.34 kB / 461.3 MB, free: 24.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1081, allocations: 68.84 MB / 0.5177 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.8085/0.9166, allocations: 302.3 MB / 0.8129 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03541/0.9521, allocations: 37.62 MB / 0.8497 GB, free: 0.9922 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002306/0.9544, allocations: 48.53 kB / 0.8497 GB, free: 0.9922 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003153/0.9576, allocations: 1.224 MB / 0.8509 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007421/0.965, allocations: 2.932 MB / 0.8538 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.007753/0.9728, allocations: 2.979 MB / 0.8567 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004901/0.9777, allocations: 4.018 MB / 0.8606 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001131/0.9789, allocations: 0.6967 MB / 0.8613 GB, free: 16.64 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003691/0.9826, allocations: 2.057 MB / 0.8633 GB, free: 16.61 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00156/0.9842, allocations: 1.283 MB / 0.8646 GB, free: 16.61 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002491/0.9844, allocations: 106.8 kB / 0.8647 GB, free: 16.61 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01148/0.9959, allocations: 7.009 MB / 0.8715 GB, free: 16.42 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006139/0.9965, allocations: 434 kB / 0.8719 GB, free: 16.41 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001983/0.9985, allocations: 1.193 MB / 0.8731 GB, free: 16.38 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004975/1.004, allocations: 3.34 MB / 0.8764 GB, free: 16.08 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/1.004, allocations: 0 / 0.8764 GB, free: 16.08 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.543e-06/1.004, allocations: 0 / 0.8764 GB, free: 16.08 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.306e-05/1.004, allocations: 0 / 0.8764 GB, free: 16.08 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.005904/1.009, allocations: 2.897 MB / 0.8792 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/1.01, allocations: 10.62 kB / 0.8792 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004156/1.014, allocations: 0.5625 MB / 0.8797 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001842/1.016, allocations: 1.221 MB / 0.8809 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003917/1.016, allocations: 422.5 kB / 0.8813 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003209/1.016, allocations: 211.1 kB / 0.8815 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004158/1.02, allocations: 2.376 MB / 0.8839 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.113e-05/1.021, allocations: 2.531 kB / 0.8839 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001894/1.021, allocations: 82.91 kB / 0.8839 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.918e-05/1.021, allocations: 82.03 kB / 0.884 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003808/1.025, allocations: 1.935 MB / 0.8859 GB, free: 12.94 MB / 0.6231 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.01098/1.036, allocations: 9.25 MB / 0.8949 GB, free: 6.547 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004113/1.04, allocations: 2.036 MB / 0.8969 GB, free: 6.266 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002033/1.042, allocations: 1.099 MB / 0.898 GB, free: 6.094 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001702/1.043, allocations: 2.612 MB / 0.9005 GB, free: 3.043 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/1.044, allocations: 57.28 kB / 0.9006 GB, free: 2.996 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=174): time 6.502e-06/1.044, allocations: 3.984 kB / 0.9006 GB, free: 2.992 MB / 0.6231 GB Notification: Performance of matching and sorting (n=176): time 0.01652/1.06, allocations: 7.084 MB / 0.9075 GB, free: 0.5469 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/1.06, allocations: 79.67 kB / 0.9076 GB, free: 488 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001409/1.062, allocations: 1.202 MB / 0.9088 GB, free: 136 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001464/1.062, allocations: 53.67 kB / 0.9088 GB, free: 104 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006305/1.062, allocations: 0.879 MB / 0.9097 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004697/1.063, allocations: 0.5949 MB / 0.9103 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000199/1.063, allocations: 126.7 kB / 0.9104 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.903e-05/1.063, allocations: 308.4 kB / 0.9107 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001589/1.065, allocations: 0.7464 MB / 0.9114 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00167/1.066, allocations: 0.904 MB / 0.9123 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003516/1.07, allocations: 1.682 MB / 0.9139 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/1.07, allocations: 0 / 0.9139 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.007361/1.077, allocations: 2.919 MB / 0.9168 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/1.077, allocations: 8.094 kB / 0.9168 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/1.077, allocations: 7.938 kB / 0.9168 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001996/1.079, allocations: 0.626 MB / 0.9174 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002058/1.081, allocations: 429.3 kB / 0.9178 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01252/1.094, allocations: 9.745 MB / 0.9273 GB, free: 1.199 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001745/1.096, allocations: 156.1 kB / 0.9275 GB, free: 1.07 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002315/1.096, allocations: 123.3 kB / 0.9276 GB, free: 0.9648 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (168): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(3,1,88.9%), (2,17,100.0%), (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.000776/1.097, allocations: 362.8 kB / 0.928 GB, free: 0.75 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00029/1.097, allocations: 177.3 kB / 0.9281 GB, free: 0.5781 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009677/1.107, allocations: 4.283 MB / 0.9323 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-05/1.107, allocations: 23.94 kB / 0.9323 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.576e-05/1.107, allocations: 4 kB / 0.9323 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.406e-05/1.107, allocations: 7.969 kB / 0.9323 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01135/1.118, allocations: 5.449 MB / 0.9377 GB, free: 8.297 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.856e-06/1.118, allocations: 4 kB / 0.9377 GB, free: 8.293 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002093/1.12, allocations: 417.4 kB / 0.9381 GB, free: 7.902 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001959/1.122, allocations: 0.6324 MB / 0.9387 GB, free: 7.254 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001879/1.123, allocations: 79.94 kB / 0.9388 GB, free: 7.176 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01252/1.135, allocations: 9.753 MB / 0.9483 GB, free: 12.82 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/1.135, allocations: 3.984 kB / 0.9483 GB, free: 12.81 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009517/1.145, allocations: 3.983 MB / 0.9522 GB, free: 8.797 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00104/1.146, allocations: 422.4 kB / 0.9526 GB, free: 8.363 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003001/1.146, allocations: 36 kB / 0.9526 GB, free: 8.328 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001379/1.147, allocations: 147.8 kB / 0.9528 GB, free: 8.184 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003232/1.148, allocations: 160.3 kB / 0.9529 GB, free: 8.027 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001991/1.148, allocations: 116 kB / 0.953 GB, free: 7.914 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001144/1.149, allocations: 0.8325 MB / 0.9538 GB, free: 7.086 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.142e-06/1.149, allocations: 0 / 0.9538 GB, free: 7.086 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002604/1.152, allocations: 0.8734 MB / 0.9547 GB, free: 6.215 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 11 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,counterFlowNTU1.h_out_A,counterFlowNTU1.h_out_B,flowResistanceB2.inlet.m_flow,flowResistanceB1.inlet.m_flow,mCV.dp_int,mCV1.inlet.m_flow,mCV1.dp_int,mCV2.inlet.m_flow,mCV2.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 (159): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,4,100.0%), (1,4,100.0%), (3,1,88.9%), (3,1,88.9%), (2,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002017/1.154, allocations: 1.132 MB / 0.9558 GB, free: 5.195 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.006115/1.16, allocations: 2.849 MB / 0.9586 GB, free: 2.309 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/1.16, allocations: 4.312 kB / 0.9586 GB, free: 2.305 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.004114/1.164, allocations: 2.049 MB / 0.9606 GB, free: 232 kB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003059/1.167, allocations: 0.4919 MB / 0.9611 GB, free: 15.74 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009077/1.176, allocations: 5.722 MB / 0.9666 GB, free: 9.98 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001032/1.177, allocations: 1.467 MB / 0.9681 GB, free: 8.48 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001533/1.179, allocations: 367.1 kB / 0.9684 GB, free: 8.121 MB / 0.6856 GB Notification: Performance of SimCode: time 6.41e-07/1.179, allocations: 0 / 0.9684 GB, free: 8.121 MB / 0.6856 GB Notification: Performance of Templates: time 0.08114/1.26, allocations: 78.42 MB / 1.045 GB, free: 9.82 MB / 0.7637 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.makefile (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches