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.001169/0.001169, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001376/0.001376, allocations: 196 kB / 16.14 MB, free: 6.719 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.409/1.409, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7141/0.7141, allocations: 91.2 MB / 381.2 MB, free: 9.594 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 78.72 kB / 459.6 MB, free: 23.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1149, allocations: 67.71 MB / 0.515 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.5956/0.7106, allocations: 307.8 MB / 0.8155 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.4407/1.151, allocations: 38.44 MB / 0.8531 GB, free: 0.668 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00498/1.156, allocations: 113.8 kB / 0.8532 GB, free: 0.668 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.005887/1.162, allocations: 1.231 MB / 0.8544 GB, free: 0.6641 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01127/1.174, allocations: 3.01 MB / 0.8573 GB, free: 0.6328 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.01142/1.185, allocations: 2.985 MB / 0.8602 GB, free: 0.6055 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.007016/1.192, allocations: 4.267 MB / 0.8644 GB, free: 0.5938 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001757/1.194, allocations: 0.755 MB / 0.8651 GB, free: 16.36 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005653/1.2, allocations: 2.267 MB / 0.8673 GB, free: 16.34 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003264/1.203, allocations: 1.439 MB / 0.8688 GB, free: 16.19 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0009558/1.204, allocations: 157.8 kB / 0.8689 GB, free: 16.18 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01685/1.221, allocations: 7.075 MB / 0.8758 GB, free: 16.03 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001235/1.222, allocations: 0.5044 MB / 0.8763 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002916/1.225, allocations: 1.328 MB / 0.8776 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01367/1.239, allocations: 4.748 MB / 0.8822 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/1.239, allocations: 0 / 0.8822 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.853e-06/1.239, allocations: 0 / 0.8822 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.634e-05/1.239, allocations: 0 / 0.8822 GB, free: 14.78 MB / 0.6387 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.009314/1.248, allocations: 3.616 MB / 0.8858 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/1.248, allocations: 10.72 kB / 0.8858 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004964/1.253, allocations: 0.6071 MB / 0.8864 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003902/1.257, allocations: 1.582 MB / 0.8879 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004798/1.258, allocations: 411 kB / 0.8883 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006426/1.258, allocations: 217.9 kB / 0.8885 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00508/1.263, allocations: 2.321 MB / 0.8908 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.055e-05/1.263, allocations: 5.438 kB / 0.8908 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001938/1.264, allocations: 80.81 kB / 0.8909 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-05/1.264, allocations: 79.42 kB / 0.8909 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004205/1.268, allocations: 1.883 MB / 0.8928 GB, free: 11.94 MB / 0.6387 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.01378/1.282, allocations: 9.284 MB / 0.9018 GB, free: 6.879 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004349/1.286, allocations: 1.969 MB / 0.9038 GB, free: 6.609 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001967/1.288, allocations: 1.048 MB / 0.9048 GB, free: 6.441 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001731/1.29, allocations: 2.615 MB / 0.9073 GB, free: 3.387 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/1.29, allocations: 53.62 kB / 0.9074 GB, free: 3.344 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=174): time 6.091e-06/1.29, allocations: 112 / 0.9074 GB, free: 3.344 MB / 0.6387 GB Notification: Performance of matching and sorting (n=176): time 0.01685/1.307, allocations: 6.65 MB / 0.9139 GB, free: 0.8906 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/1.307, allocations: 76.36 kB / 0.914 GB, free: 0.8203 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002038/1.309, allocations: 1.494 MB / 0.9154 GB, free: 384 kB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0003001/1.309, allocations: 54.33 kB / 0.9155 GB, free: 352 kB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007212/1.31, allocations: 1.033 MB / 0.9165 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005944/1.31, allocations: 0.5878 MB / 0.9171 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005422/1.311, allocations: 324.3 kB / 0.9174 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.602e-05/1.311, allocations: 310.3 kB / 0.9177 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001512/1.313, allocations: 0.6999 MB / 0.9183 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001717/1.314, allocations: 0.8505 MB / 0.9192 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003332/1.318, allocations: 1.579 MB / 0.9207 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/1.318, allocations: 0 / 0.9207 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.007019/1.325, allocations: 2.714 MB / 0.9234 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/1.325, allocations: 8 kB / 0.9234 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/1.325, allocations: 0 / 0.9234 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001845/1.327, allocations: 0.5621 MB / 0.9239 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002145/1.329, allocations: 429.3 kB / 0.9243 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01202/1.341, allocations: 9.379 MB / 0.9335 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00213/1.343, allocations: 128.8 kB / 0.9336 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003927/1.343, allocations: 129.1 kB / 0.9337 GB, free: 1.203 MB / 0.6544 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.001318/1.345, allocations: 373.3 kB / 0.9341 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007776/1.346, allocations: 211.8 kB / 0.9343 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009679/1.355, allocations: 4.081 MB / 0.9383 GB, free: 13.59 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/1.355, allocations: 16 kB / 0.9383 GB, free: 13.57 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.849e-05/1.355, allocations: 8 kB / 0.9383 GB, free: 13.57 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.383e-05/1.355, allocations: 19.89 kB / 0.9383 GB, free: 13.55 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01205/1.367, allocations: 5.29 MB / 0.9435 GB, free: 9.402 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/1.367, allocations: 0 / 0.9435 GB, free: 9.402 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002255/1.37, allocations: 407.3 kB / 0.9439 GB, free: 9.02 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001937/1.372, allocations: 0.5694 MB / 0.9444 GB, free: 8.438 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003258/1.372, allocations: 79.89 kB / 0.9445 GB, free: 8.359 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01204/1.384, allocations: 9.369 MB / 0.9537 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-06/1.384, allocations: 6.656 kB / 0.9537 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009083/1.393, allocations: 3.751 MB / 0.9573 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001216/1.394, allocations: 430.1 kB / 0.9577 GB, free: 10.15 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004094/1.395, allocations: 40 kB / 0.9578 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001437/1.396, allocations: 135.7 kB / 0.9579 GB, free: 9.98 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003597/1.397, allocations: 160.3 kB / 0.9581 GB, free: 9.828 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002236/1.397, allocations: 111.9 kB / 0.9582 GB, free: 9.719 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002002/1.399, allocations: 1.014 MB / 0.9592 GB, free: 8.684 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.71e-07/1.399, allocations: 0 / 0.9592 GB, free: 8.684 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004218/1.403, allocations: 0.8824 MB / 0.96 GB, free: 7.801 MB / 0.6856 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.002336/1.406, allocations: 1.052 MB / 0.961 GB, free: 6.855 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.006418/1.412, allocations: 2.685 MB / 0.9637 GB, free: 4.125 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/1.412, allocations: 0 / 0.9637 GB, free: 4.125 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.004416/1.416, allocations: 1.91 MB / 0.9655 GB, free: 2.188 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004196/1.421, allocations: 0.5151 MB / 0.966 GB, free: 1.676 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01173/1.432, allocations: 5.865 MB / 0.9718 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001193/1.434, allocations: 1.574 MB / 0.9733 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.004056/1.438, allocations: 1.429 MB / 0.9747 GB, free: 8.789 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001335/1.439, allocations: 315.2 kB / 0.975 GB, free: 8.48 MB / 0.7012 GB Notification: Performance of SimCode: time 9.92e-07/1.439, allocations: 4 kB / 0.975 GB, free: 8.477 MB / 0.7012 GB Notification: Performance of Templates: time 0.07465/1.514, allocations: 41.34 MB / 1.015 GB, free: 15.63 MB / 0.7481 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches