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.001371/0.001371, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001524/0.001525, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7616/0.7616, allocations: 89.63 MB / 380.7 MB, free: 11.43 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.000443/0.0004432, allocations: 11.41 kB / 460 MB, free: 24.39 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.155, allocations: 68.82 MB / 0.5165 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.6753/0.8304, allocations: 282.3 MB / 0.7922 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.4949/1.325, allocations: 35.17 MB / 0.8265 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003651/1.329, allocations: 54.81 kB / 0.8266 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004228/1.333, allocations: 1.143 MB / 0.8277 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.009521/1.343, allocations: 2.842 MB / 0.8305 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.009522/1.352, allocations: 2.615 MB / 0.833 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.007219/1.36, allocations: 3.609 MB / 0.8365 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001934/1.362, allocations: 0.597 MB / 0.8371 GB, free: 26.1 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006901/1.368, allocations: 1.969 MB / 0.839 GB, free: 26.07 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003172/1.372, allocations: 1.217 MB / 0.8402 GB, free: 26.07 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0004441/1.372, allocations: 109.6 kB / 0.8403 GB, free: 26.07 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0169/1.389, allocations: 6.377 MB / 0.8466 GB, free: 25.9 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001251/1.39, allocations: 409.8 kB / 0.847 GB, free: 25.9 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001654/1.392, allocations: 483.5 kB / 0.8474 GB, free: 25.87 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.008954/1.401, allocations: 3.228 MB / 0.8506 GB, free: 25.56 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/1.401, allocations: 1.75 kB / 0.8506 GB, free: 25.56 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.414e-06/1.401, allocations: 0 / 0.8506 GB, free: 25.56 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.084e-05/1.401, allocations: 0 / 0.8506 GB, free: 25.56 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.00689/1.408, allocations: 2.92 MB / 0.8534 GB, free: 24.16 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 7.741e-05/1.408, allocations: 9.438 kB / 0.8534 GB, free: 24.16 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004886/1.413, allocations: 0.5706 MB / 0.854 GB, free: 24.02 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002675/1.416, allocations: 1.159 MB / 0.8551 GB, free: 23.63 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000423/1.416, allocations: 425.6 kB / 0.8555 GB, free: 23.37 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004026/1.417, allocations: 213.3 kB / 0.8557 GB, free: 23.36 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004505/1.421, allocations: 2.355 MB / 0.858 GB, free: 23.11 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.719e-05/1.421, allocations: 0 / 0.858 GB, free: 23.11 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002021/1.421, allocations: 83.5 kB / 0.8581 GB, free: 23.11 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.231e-05/1.421, allocations: 80.25 kB / 0.8582 GB, free: 23.11 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003962/1.425, allocations: 1.925 MB / 0.8601 GB, free: 23.06 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.01202/1.437, allocations: 9.243 MB / 0.8691 GB, free: 18 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003949/1.441, allocations: 2.041 MB / 0.8711 GB, free: 17.93 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001984/1.443, allocations: 1.097 MB / 0.8722 GB, free: 17.89 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001857/1.445, allocations: 2.609 MB / 0.8747 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/1.445, allocations: 49.84 kB / 0.8748 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=174): time 3.987e-06/1.445, allocations: 0 / 0.8748 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of matching and sorting (n=176): time 0.01521/1.461, allocations: 7.074 MB / 0.8817 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/1.461, allocations: 69.12 kB / 0.8817 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001604/1.462, allocations: 1.191 MB / 0.8829 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002122/1.462, allocations: 52.83 kB / 0.8829 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005502/1.463, allocations: 0.8721 MB / 0.8838 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000435/1.463, allocations: 0.5912 MB / 0.8844 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/1.464, allocations: 31.94 kB / 0.8844 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001386/1.464, allocations: 365.3 kB / 0.8848 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001428/1.465, allocations: 0.7447 MB / 0.8855 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001453/1.467, allocations: 0.8928 MB / 0.8863 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/1.468, allocations: 0.7938 MB / 0.8871 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/1.468, allocations: 4 kB / 0.8871 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.006143/1.474, allocations: 2.905 MB / 0.89 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/1.474, allocations: 8.406 kB / 0.89 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/1.474, allocations: 2.625 kB / 0.89 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001736/1.476, allocations: 0.637 MB / 0.8906 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001966/1.478, allocations: 435.8 kB / 0.891 GB, free: 10 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01123/1.489, allocations: 9.748 MB / 0.9005 GB, free: 2.859 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002078/1.491, allocations: 155.2 kB / 0.9007 GB, free: 2.812 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002508/1.492, allocations: 122.3 kB / 0.9008 GB, free: 2.801 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(3,88.9%) 1,(2,100.0%) 17,(3,88.9%) 1,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009787/1.493, allocations: 361.2 kB / 0.9011 GB, free: 2.676 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003225/1.493, allocations: 176.7 kB / 0.9013 GB, free: 2.582 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008276/1.501, allocations: 4.281 MB / 0.9055 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.752e-05/1.501, allocations: 20 kB / 0.9055 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.606e-05/1.501, allocations: 4 kB / 0.9055 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.683e-05/1.501, allocations: 15.92 kB / 0.9055 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01144/1.513, allocations: 5.425 MB / 0.9108 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/1.513, allocations: 8.031 kB / 0.9108 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001995/1.515, allocations: 415 kB / 0.9112 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002078/1.517, allocations: 0.6444 MB / 0.9119 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002512/1.517, allocations: 76.5 kB / 0.9119 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01201/1.529, allocations: 9.729 MB / 0.9214 GB, free: 1.801 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.261e-06/1.529, allocations: 4.031 kB / 0.9214 GB, free: 1.797 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008646/1.538, allocations: 3.965 MB / 0.9253 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001159/1.539, allocations: 413 kB / 0.9257 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003241/1.54, allocations: 41.61 kB / 0.9257 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/1.541, allocations: 147.5 kB / 0.9259 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003266/1.541, allocations: 161.5 kB / 0.926 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002239/1.541, allocations: 115.2 kB / 0.9261 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001167/1.543, allocations: 0.8155 MB / 0.9269 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/1.543, allocations: 0 / 0.9269 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003059/1.546, allocations: 0.8635 MB / 0.9278 GB, free: 12.73 MB / 0.6544 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 4,(1,100.0%) 4,(3,88.9%) 1,(3,88.9%) 1,(2,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002185/1.548, allocations: 1.144 MB / 0.9289 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00566/1.553, allocations: 2.841 MB / 0.9317 GB, free: 9.445 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/1.553, allocations: 4 kB / 0.9317 GB, free: 9.441 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.003638/1.557, allocations: 2.027 MB / 0.9337 GB, free: 7.715 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002435/1.56, allocations: 0.493 MB / 0.9341 GB, free: 7.363 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008534/1.568, allocations: 5.453 MB / 0.9395 GB, free: 2.312 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001051/1.569, allocations: 1.468 MB / 0.9409 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.003547/1.573, allocations: 1.394 MB / 0.9423 GB, free: 15.46 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009855/1.574, allocations: 296.5 kB / 0.9425 GB, free: 15.2 MB / 0.67 GB Notification: Performance of SimCode: time 8.31e-07/1.574, allocations: 0 / 0.9425 GB, free: 15.2 MB / 0.67 GB Notification: Performance of Templates: time 0.0694/1.643, allocations: 39.18 MB / 0.9808 GB, free: 8.531 MB / 0.7012 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