Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel,fileNamePrefix="ThermofluidStream_dev_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.004863/0.004863, allocations: 101.1 kB / 15.73 MB, free: 6.062 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.001294/0.001294, allocations: 189.7 kB / 16.67 MB, free: 5.973 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7584/0.7584, allocations: 93.71 MB / 384.2 MB, free: 5.246 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002368/0.002368, allocations: 75.88 kB / 0.52 GB, free: 1.102 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3234, allocations: 68.26 MB / 0.5866 GB, free: 10.24 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.631/0.9545, allocations: 307.8 MB / 0.8872 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.04656/1.001, allocations: 38.01 MB / 0.9243 GB, free: 8.977 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00295/1.004, allocations: 103.3 kB / 0.9244 GB, free: 8.875 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003808/1.008, allocations: 1.406 MB / 0.9258 GB, free: 7.461 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009054/1.017, allocations: 3.362 MB / 0.9291 GB, free: 4.082 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.009202/1.026, allocations: 3.44 MB / 0.9324 GB, free: 0.6328 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005594/1.032, allocations: 3.807 MB / 0.9362 GB, free: 12.81 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001196/1.033, allocations: 0.8371 MB / 0.937 GB, free: 11.92 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004255/1.037, allocations: 2.355 MB / 0.9393 GB, free: 9.559 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001871/1.039, allocations: 1.477 MB / 0.9407 GB, free: 8.074 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003503/1.04, allocations: 232 kB / 0.9409 GB, free: 7.848 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01445/1.054, allocations: 6.709 MB / 0.9475 GB, free: 1.129 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006554/1.055, allocations: 0.5835 MB / 0.9481 GB, free: 0.543 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001925/1.057, allocations: 1.406 MB / 0.9494 GB, free: 15.13 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01124/1.068, allocations: 5.045 MB / 0.9544 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/1.068, allocations: 0 / 0.9544 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.743e-06/1.068, allocations: 0 / 0.9544 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 4.352e-05/1.068, allocations: 0 / 0.9544 GB, free: 10.07 MB / 0.7012 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.007435/1.075, allocations: 3.776 MB / 0.958 GB, free: 6.215 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/1.076, allocations: 8.031 kB / 0.9581 GB, free: 6.207 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003424/1.076, allocations: 295.3 kB / 0.9583 GB, free: 5.906 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004377/1.08, allocations: 0.6381 MB / 0.959 GB, free: 5.266 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003239/1.084, allocations: 1.805 MB / 0.9607 GB, free: 3.387 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005004/1.084, allocations: 413.6 kB / 0.9611 GB, free: 2.93 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003784/1.084, allocations: 211.9 kB / 0.9613 GB, free: 2.723 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004683/1.089, allocations: 2.327 MB / 0.9636 GB, free: 304 kB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.995e-05/1.089, allocations: 3.984 kB / 0.9636 GB, free: 300 kB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002037/1.089, allocations: 87.94 kB / 0.9637 GB, free: 212 kB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.039e-05/1.089, allocations: 76.05 kB / 0.9637 GB, free: 132 kB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004174/1.094, allocations: 1.878 MB / 0.9656 GB, free: 14.23 MB / 0.7169 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.01211/1.106, allocations: 9.283 MB / 0.9746 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004663/1.11, allocations: 1.971 MB / 0.9766 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002282/1.113, allocations: 1.068 MB / 0.9776 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00196/1.115, allocations: 2.611 MB / 0.9802 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.662e-05/1.115, allocations: 52.56 kB / 0.9802 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=174): time 6.943e-06/1.115, allocations: 0 / 0.9802 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=176): time 0.01752/1.132, allocations: 6.707 MB / 0.9868 GB, free: 6.941 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/1.132, allocations: 69.41 kB / 0.9868 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002066/1.134, allocations: 1.554 MB / 0.9883 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001267/1.135, allocations: 57.7 kB / 0.9884 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008709/1.135, allocations: 1.069 MB / 0.9894 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005759/1.136, allocations: 0.6235 MB / 0.9901 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005799/1.137, allocations: 323.5 kB / 0.9904 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001173/1.137, allocations: 305.1 kB / 0.9907 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001662/1.138, allocations: 0.6949 MB / 0.9913 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001804/1.14, allocations: 0.8567 MB / 0.9922 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00351/1.144, allocations: 1.57 MB / 0.9937 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/1.144, allocations: 7.984 kB / 0.9937 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.007395/1.151, allocations: 2.733 MB / 0.9964 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/1.151, allocations: 12 kB / 0.9964 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/1.151, allocations: 7.938 kB / 0.9964 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001978/1.153, allocations: 0.5642 MB / 0.997 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002034/1.155, allocations: 419.5 kB / 0.9974 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01418/1.169, allocations: 10.15 MB / 1.007 GB, free: 1.078 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00168/1.171, allocations: 83.94 kB / 1.007 GB, free: 0.9961 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002799/1.171, allocations: 123.9 kB / 1.007 GB, free: 0.875 MB / 0.7481 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.0009366/1.172, allocations: 383.3 kB / 1.008 GB, free: 0.4922 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004491/1.173, allocations: 234.4 kB / 1.008 GB, free: 268 kB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009771/1.183, allocations: 4.076 MB / 1.012 GB, free: 12.16 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/1.183, allocations: 20 kB / 1.012 GB, free: 12.14 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.211e-05/1.183, allocations: 8 kB / 1.012 GB, free: 12.14 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.12e-05/1.183, allocations: 11.95 kB / 1.012 GB, free: 12.12 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01156/1.194, allocations: 5.299 MB / 1.017 GB, free: 6.703 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/1.194, allocations: 0 / 1.017 GB, free: 6.703 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00211/1.196, allocations: 407.7 kB / 1.018 GB, free: 6.305 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001896/1.198, allocations: 0.5805 MB / 1.018 GB, free: 5.711 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001797/1.199, allocations: 71.95 kB / 1.018 GB, free: 5.641 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2994/1.498, allocations: 10.13 MB / 1.028 GB, free: 320.4 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/1.498, allocations: 2.531 kB / 1.028 GB, free: 320.4 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009354/1.507, allocations: 3.768 MB / 1.032 GB, free: 319.7 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008273/1.508, allocations: 446.9 kB / 1.032 GB, free: 319.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002743/1.508, allocations: 40.89 kB / 1.032 GB, free: 319.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/1.51, allocations: 88.81 kB / 1.032 GB, free: 319.4 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004436/1.51, allocations: 164 kB / 1.033 GB, free: 319.4 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002813/1.51, allocations: 116.1 kB / 1.033 GB, free: 319.4 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001561/1.512, allocations: 1.058 MB / 1.034 GB, free: 319 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.2e-07/1.512, allocations: 0 / 1.034 GB, free: 319 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002632/1.515, allocations: 0.8801 MB / 1.035 GB, free: 318.9 MB / 0.7637 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.00922/1.524, allocations: 5.279 MB / 1.04 GB, free: 316.9 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.005222/1.529, allocations: 2.695 MB / 1.042 GB, free: 315.7 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.529, allocations: 0 / 1.042 GB, free: 315.7 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.003312/1.532, allocations: 1.912 MB / 1.044 GB, free: 314.8 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002289/1.535, allocations: 0.5825 MB / 1.045 GB, free: 314.6 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02708/1.562, allocations: 17.45 MB / 1.062 GB, free: 301.8 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008253/1.563, allocations: 1.597 MB / 1.063 GB, free: 300.2 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002506/1.565, allocations: 1.436 MB / 1.065 GB, free: 298.8 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00142/1.567, allocations: 1.198 MB / 1.066 GB, free: 297.6 MB / 0.7637 GB Notification: Performance of SimCode: time 5.41e-07/1.567, allocations: 3.938 kB / 1.066 GB, free: 297.6 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1019/1.669, allocations: 65.03 MB / 1.129 GB, free: 232.9 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.01/17.68, allocations: 6.875 kB / 1.129 GB, free: 232.9 MB / 0.7637 GB (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel.fmu > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_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_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches