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: "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001325, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001288/0.001288, allocations: 193.9 kB / 16.25 MB, free: 6.629 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.187/1.187, allocations: 222.9 MB / 239.9 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6035/0.6035, allocations: 91.2 MB / 381.3 MB, free: 9.496 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 85.25 kB / 459.9 MB, free: 23.33 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09961/0.1011, allocations: 67.7 MB / 0.5153 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.4761/0.5772, allocations: 306.2 MB / 0.8143 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.3226/0.8998, allocations: 37.97 MB / 0.8514 GB, free: 0.6797 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002779/0.9026, allocations: 116.5 kB / 0.8515 GB, free: 0.6797 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003134/0.9058, allocations: 1.234 MB / 0.8527 GB, free: 0.6758 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00773/0.9136, allocations: 3.06 MB / 0.8557 GB, free: 0.6602 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.007732/0.9213, allocations: 3.154 MB / 0.8588 GB, free: 0.5742 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004422/0.9258, allocations: 3.728 MB / 0.8624 GB, free: 0.5625 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001177/0.927, allocations: 0.8282 MB / 0.8632 GB, free: 16.33 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003793/0.9308, allocations: 2.413 MB / 0.8656 GB, free: 16.31 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001564/0.9323, allocations: 1.479 MB / 0.867 GB, free: 16.18 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003049/0.9326, allocations: 233 kB / 0.8673 GB, free: 16.18 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01101/0.9437, allocations: 7.337 MB / 0.8744 GB, free: 16.06 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006246/0.9443, allocations: 0.5754 MB / 0.875 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001776/0.9461, allocations: 1.406 MB / 0.8764 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.008704/0.9548, allocations: 4.916 MB / 0.8812 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.9548, allocations: 0.9062 kB / 0.8812 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9549, allocations: 0 / 0.8812 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.883e-05/0.9549, allocations: 0.9062 kB / 0.8812 GB, free: 14.79 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.006504/0.9614, allocations: 3.624 MB / 0.8847 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.9615, allocations: 8.656 kB / 0.8847 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002886/0.9618, allocations: 290.9 kB / 0.885 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003957/0.9657, allocations: 0.6057 MB / 0.8856 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002292/0.968, allocations: 1.585 MB / 0.8871 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003332/0.9684, allocations: 409.7 kB / 0.8875 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002773/0.9687, allocations: 212.7 kB / 0.8877 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003715/0.9724, allocations: 2.327 MB / 0.89 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.519e-05/0.9724, allocations: 0 / 0.89 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001758/0.9726, allocations: 86.41 kB / 0.8901 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-05/0.9727, allocations: 76.77 kB / 0.8901 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003212/0.9759, allocations: 1.883 MB / 0.892 GB, free: 11.93 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.009682/0.9856, allocations: 9.291 MB / 0.9011 GB, free: 6.898 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003505/0.9891, allocations: 1.97 MB / 0.903 GB, free: 6.828 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001644/0.9908, allocations: 1.05 MB / 0.904 GB, free: 6.801 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001463/0.9922, allocations: 2.61 MB / 0.9066 GB, free: 3.801 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.9923, allocations: 57.25 kB / 0.9066 GB, free: 3.754 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=174): time 3.597e-06/0.9923, allocations: 0 / 0.9066 GB, free: 3.754 MB / 0.6387 GB Notification: Performance of matching and sorting (n=176): time 0.01395/1.006, allocations: 6.647 MB / 0.9131 GB, free: 1.914 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/1.006, allocations: 73.47 kB / 0.9132 GB, free: 1.848 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001571/1.008, allocations: 1.501 MB / 0.9146 GB, free: 1.395 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001225/1.008, allocations: 58.55 kB / 0.9147 GB, free: 1.363 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005172/1.009, allocations: 1.026 MB / 0.9157 GB, free: 0.9141 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003882/1.009, allocations: 0.6023 MB / 0.9163 GB, free: 476 kB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004451/1.009, allocations: 318 kB / 0.9166 GB, free: 408 kB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.757e-05/1.009, allocations: 306.2 kB / 0.9169 GB, free: 100 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00136/1.011, allocations: 0.6992 MB / 0.9176 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001474/1.012, allocations: 0.8457 MB / 0.9184 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002868/1.015, allocations: 1.581 MB / 0.9199 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/1.015, allocations: 0 / 0.9199 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.006063/1.021, allocations: 2.715 MB / 0.9226 GB, free: 12 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/1.021, allocations: 8 kB / 0.9226 GB, free: 12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/1.021, allocations: 4.094 kB / 0.9226 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001616/1.023, allocations: 0.5713 MB / 0.9232 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001786/1.025, allocations: 421.1 kB / 0.9236 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01091/1.036, allocations: 10.14 MB / 0.9335 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/1.037, allocations: 132.1 kB / 0.9336 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002103/1.037, allocations: 126.7 kB / 0.9337 GB, free: 1.488 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.00077/1.038, allocations: 375.1 kB / 0.9341 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003379/1.039, allocations: 217.2 kB / 0.9343 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008472/1.047, allocations: 4.073 MB / 0.9382 GB, free: 13.88 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/1.047, allocations: 20 kB / 0.9383 GB, free: 13.86 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/1.047, allocations: 11.94 kB / 0.9383 GB, free: 13.84 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.729e-05/1.047, allocations: 7.969 kB / 0.9383 GB, free: 13.84 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00977/1.057, allocations: 5.287 MB / 0.9434 GB, free: 9.113 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/1.057, allocations: 10.59 kB / 0.9435 GB, free: 9.105 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001886/1.059, allocations: 407.1 kB / 0.9438 GB, free: 8.723 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001601/1.06, allocations: 0.5716 MB / 0.9444 GB, free: 8.137 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001544/1.061, allocations: 79.94 kB / 0.9445 GB, free: 8.059 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01112/1.072, allocations: 10.13 MB / 0.9544 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.072, allocations: 0 / 0.9544 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008156/1.08, allocations: 3.758 MB / 0.958 GB, free: 9.504 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008784/1.081, allocations: 434.1 kB / 0.9585 GB, free: 9.059 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002839/1.081, allocations: 36.14 kB / 0.9585 GB, free: 9.023 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/1.082, allocations: 131.7 kB / 0.9586 GB, free: 8.895 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003081/1.083, allocations: 164.1 kB / 0.9588 GB, free: 8.734 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001852/1.083, allocations: 119.9 kB / 0.9589 GB, free: 8.617 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001267/1.084, allocations: 1.014 MB / 0.9599 GB, free: 7.582 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.7e-07/1.084, allocations: 0 / 0.9599 GB, free: 7.582 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002228/1.086, allocations: 0.8746 MB / 0.9607 GB, free: 6.707 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.009605/1.096, allocations: 5.265 MB / 0.9659 GB, free: 1.523 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.006851/1.103, allocations: 2.847 MB / 0.9686 GB, free: 14.65 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/1.103, allocations: 4 kB / 0.9687 GB, free: 14.64 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.003399/1.106, allocations: 1.899 MB / 0.9705 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002334/1.109, allocations: 0.5706 MB / 0.9711 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03168/1.14, allocations: 20.24 MB / 0.9908 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0011/1.141, allocations: 1.574 MB / 0.9924 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.003199/1.145, allocations: 1.429 MB / 0.9938 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001715/1.146, allocations: 1.163 MB / 0.9949 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of SimCode: time 5.51e-07/1.146, allocations: 2.531 kB / 0.9949 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8774/2.024, allocations: 63.52 MB / 1.057 GB, free: 3.68 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002557/2.024, allocations: 288 kB / 1.057 GB, free: 3.297 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.532/5.556, allocations: 0 / 1.057 GB, free: 3.297 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel.fmu > 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