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.001217/0.001217, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001433/0.001433, allocations: 192.4 kB / 16.14 MB, free: 6.652 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.398/1.398, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6965/0.6965, allocations: 91.19 MB / 381.2 MB, free: 9.598 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 77.62 kB / 459.6 MB, free: 23.34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1377, allocations: 67.7 MB / 0.515 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.5755/0.7132, allocations: 307.8 MB / 0.8155 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.4355/1.149, allocations: 38.44 MB / 0.8531 GB, free: 0.6602 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004646/1.154, allocations: 117.2 kB / 0.8532 GB, free: 0.6602 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.005259/1.159, allocations: 1.228 MB / 0.8544 GB, free: 0.6523 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01139/1.17, allocations: 3.011 MB / 0.8573 GB, free: 0.625 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.01138/1.182, allocations: 2.981 MB / 0.8602 GB, free: 0.5977 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.008462/1.19, allocations: 4.266 MB / 0.8644 GB, free: 0.5859 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001954/1.192, allocations: 0.7628 MB / 0.8651 GB, free: 16.34 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005819/1.198, allocations: 2.266 MB / 0.8674 GB, free: 16.33 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002639/1.201, allocations: 1.441 MB / 0.8688 GB, free: 16.18 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004992/1.201, allocations: 154.5 kB / 0.8689 GB, free: 16.18 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01552/1.217, allocations: 7.076 MB / 0.8758 GB, free: 16.02 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.00119/1.218, allocations: 0.5032 MB / 0.8763 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002727/1.221, allocations: 1.321 MB / 0.8776 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0123/1.233, allocations: 4.753 MB / 0.8822 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/1.233, allocations: 0 / 0.8822 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.883e-06/1.233, allocations: 3.938 kB / 0.8822 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.97e-05/1.233, allocations: 0 / 0.8822 GB, free: 14.77 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.008948/1.242, allocations: 3.622 MB / 0.8858 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/1.242, allocations: 12.91 kB / 0.8858 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004881/1.247, allocations: 0.6043 MB / 0.8864 GB, free: 13 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003785/1.251, allocations: 1.581 MB / 0.8879 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004712/1.251, allocations: 406.9 kB / 0.8883 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005457/1.252, allocations: 217.2 kB / 0.8885 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005166/1.257, allocations: 2.318 MB / 0.8908 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.857e-05/1.257, allocations: 2.531 kB / 0.8908 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002046/1.257, allocations: 81.94 kB / 0.8909 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-05/1.258, allocations: 81.39 kB / 0.8909 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004251/1.262, allocations: 1.882 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.01363/1.275, allocations: 9.286 MB / 0.9019 GB, free: 6.863 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004456/1.28, allocations: 1.97 MB / 0.9038 GB, free: 6.582 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002116/1.282, allocations: 1.05 MB / 0.9048 GB, free: 6.414 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002135/1.284, allocations: 2.615 MB / 0.9074 GB, free: 3.359 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/1.284, allocations: 50.94 kB / 0.9074 GB, free: 3.32 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=174): time 3.527e-06/1.284, allocations: 0 / 0.9074 GB, free: 3.32 MB / 0.6387 GB Notification: Performance of matching and sorting (n=176): time 0.01829/1.303, allocations: 6.648 MB / 0.9139 GB, free: 0.8672 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/1.303, allocations: 74.25 kB / 0.914 GB, free: 0.8008 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002691/1.305, allocations: 1.495 MB / 0.9154 GB, free: 360 kB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0003001/1.306, allocations: 56.61 kB / 0.9155 GB, free: 328 kB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006819/1.306, allocations: 1.028 MB / 0.9165 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006992/1.307, allocations: 0.5981 MB / 0.9171 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006437/1.308, allocations: 324.7 kB / 0.9174 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001037/1.308, allocations: 301.1 kB / 0.9177 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001585/1.309, allocations: 0.6955 MB / 0.9183 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001729/1.311, allocations: 0.8501 MB / 0.9192 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003363/1.315, allocations: 1.577 MB / 0.9207 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/1.315, allocations: 0 / 0.9207 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.007004/1.322, allocations: 2.722 MB / 0.9234 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/1.322, allocations: 10.22 kB / 0.9234 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/1.322, allocations: 8.109 kB / 0.9234 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001881/1.324, allocations: 0.5645 MB / 0.9239 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002094/1.326, allocations: 415 kB / 0.9243 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01255/1.338, allocations: 9.381 MB / 0.9335 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002211/1.34, allocations: 130.6 kB / 0.9336 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005299/1.341, allocations: 121.7 kB / 0.9337 GB, free: 1.219 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.001191/1.342, allocations: 383.2 kB / 0.9341 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006175/1.343, allocations: 215.3 kB / 0.9343 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01004/1.353, allocations: 4.079 MB / 0.9383 GB, free: 13.6 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.92e-05/1.353, allocations: 24 kB / 0.9383 GB, free: 13.58 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.607e-05/1.353, allocations: 4 kB / 0.9383 GB, free: 13.57 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.1e-05/1.353, allocations: 11.91 kB / 0.9383 GB, free: 13.56 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01261/1.366, allocations: 5.285 MB / 0.9435 GB, free: 9.422 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-05/1.366, allocations: 8.031 kB / 0.9435 GB, free: 9.414 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002235/1.368, allocations: 403.1 kB / 0.9439 GB, free: 9.035 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001964/1.37, allocations: 0.5701 MB / 0.9444 GB, free: 8.453 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003151/1.37, allocations: 75.95 kB / 0.9445 GB, free: 8.379 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01278/1.383, allocations: 9.375 MB / 0.9537 GB, free: 14.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/1.383, allocations: 2.75 kB / 0.9537 GB, free: 14.4 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009817/1.393, allocations: 3.76 MB / 0.9573 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/1.394, allocations: 434.1 kB / 0.9578 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000466/1.394, allocations: 32 kB / 0.9578 GB, free: 10.13 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001551/1.396, allocations: 131.7 kB / 0.9579 GB, free: 10 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003683/1.396, allocations: 160.3 kB / 0.9581 GB, free: 9.848 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002393/1.397, allocations: 115.9 kB / 0.9582 GB, free: 9.734 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001572/1.398, allocations: 1.022 MB / 0.9592 GB, free: 8.691 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.21e-07/1.398, allocations: 4 kB / 0.9592 GB, free: 8.688 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002902/1.401, allocations: 0.8746 MB / 0.96 GB, free: 7.812 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.002232/1.403, allocations: 1.04 MB / 0.961 GB, free: 6.879 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.006121/1.41, allocations: 2.689 MB / 0.9637 GB, free: 4.145 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/1.41, allocations: 3.938 kB / 0.9637 GB, free: 4.141 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.004073/1.414, allocations: 1.907 MB / 0.9655 GB, free: 2.207 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003155/1.417, allocations: 0.5207 MB / 0.966 GB, free: 1.691 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/1.427, allocations: 5.859 MB / 0.9718 GB, free: 11.81 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001338/1.428, allocations: 1.577 MB / 0.9733 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.003802/1.432, allocations: 1.423 MB / 0.9747 GB, free: 8.809 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001212/1.433, allocations: 315.2 kB / 0.975 GB, free: 8.5 MB / 0.7012 GB Notification: Performance of SimCode: time 7.91e-07/1.433, allocations: 0 / 0.975 GB, free: 8.5 MB / 0.7012 GB Notification: Performance of Templates: time 0.07074/1.504, allocations: 41.34 MB / 1.015 GB, free: 15.65 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