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.0008599/0.00086, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005002/0.005003, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.204/1.204, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5662/0.5662, allocations: 89.64 MB / 381.1 MB, free: 11.32 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003069/0.000307, allocations: 11.66 kB / 460.7 MB, free: 24.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09457/0.09488, allocations: 68.83 MB / 0.5172 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.7152/0.8101, allocations: 302.3 MB / 0.8124 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02932/0.8394, allocations: 37.61 MB / 0.8491 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001881/0.8413, allocations: 48.06 kB / 0.8492 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002404/0.8438, allocations: 1.226 MB / 0.8504 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006038/0.8498, allocations: 2.935 MB / 0.8533 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.007738/0.8576, allocations: 2.985 MB / 0.8562 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003915/0.8615, allocations: 4.011 MB / 0.8601 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008177/0.8623, allocations: 0.699 MB / 0.8608 GB, free: 16.62 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002637/0.865, allocations: 2.049 MB / 0.8628 GB, free: 16.59 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001097/0.8661, allocations: 1.289 MB / 0.864 GB, free: 16.59 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000177/0.8663, allocations: 109.9 kB / 0.8641 GB, free: 16.59 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009441/0.8757, allocations: 7 MB / 0.871 GB, free: 16.4 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002729/0.876, allocations: 434 kB / 0.8714 GB, free: 16.4 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008445/0.8768, allocations: 1.189 MB / 0.8725 GB, free: 16.37 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004689/0.8815, allocations: 4.519 MB / 0.877 GB, free: 16.04 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.624e-06/0.8816, allocations: 0 / 0.877 GB, free: 16.04 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8816, allocations: 0 / 0.877 GB, free: 16.04 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.957e-05/0.8816, allocations: 4 kB / 0.877 GB, free: 16.03 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.004817/0.8864, allocations: 2.888 MB / 0.8798 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.8864, allocations: 8.094 kB / 0.8798 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002614/0.8867, allocations: 300.3 kB / 0.8801 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003577/0.8903, allocations: 0.5704 MB / 0.8806 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/0.8917, allocations: 1.216 MB / 0.8818 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003496/0.8921, allocations: 420.5 kB / 0.8822 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002638/0.8924, allocations: 218.7 kB / 0.8824 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003559/0.8959, allocations: 2.375 MB / 0.8847 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.596e-05/0.896, allocations: 2.625 kB / 0.8847 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001658/0.8961, allocations: 81.62 kB / 0.8848 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.227e-05/0.8962, allocations: 79.28 kB / 0.8849 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003265/0.8995, allocations: 1.935 MB / 0.8868 GB, free: 12.64 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.009112/0.9086, allocations: 9.245 MB / 0.8958 GB, free: 6.242 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003949/0.9126, allocations: 2.037 MB / 0.8978 GB, free: 5.961 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001854/0.9144, allocations: 1.108 MB / 0.8989 GB, free: 5.785 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001521/0.916, allocations: 2.609 MB / 0.9014 GB, free: 2.734 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.916, allocations: 60.53 kB / 0.9015 GB, free: 2.688 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=174): time 3.026e-06/0.916, allocations: 0 / 0.9015 GB, free: 2.688 MB / 0.6231 GB Notification: Performance of matching and sorting (n=176): time 0.01475/0.9308, allocations: 7.08 MB / 0.9084 GB, free: 252 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.9308, allocations: 75.92 kB / 0.9085 GB, free: 180 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/0.9321, allocations: 1.202 MB / 0.9097 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001212/0.9323, allocations: 58.58 kB / 0.9097 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004564/0.9327, allocations: 0.8703 MB / 0.9106 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003918/0.9331, allocations: 0.5995 MB / 0.9111 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001733/0.9333, allocations: 128.2 kB / 0.9113 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.587e-05/0.9334, allocations: 301.1 kB / 0.9116 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001368/0.9348, allocations: 0.7501 MB / 0.9123 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00155/0.9363, allocations: 0.8937 MB / 0.9132 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003138/0.9395, allocations: 1.683 MB / 0.9148 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.9395, allocations: 4 kB / 0.9148 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.006484/0.946, allocations: 2.922 MB / 0.9177 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.946, allocations: 7.938 kB / 0.9177 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.946, allocations: 4 kB / 0.9177 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001746/0.9478, allocations: 0.6319 MB / 0.9183 GB, free: 9.836 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001757/0.9496, allocations: 433 kB / 0.9187 GB, free: 9.441 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0112/0.9608, allocations: 9.744 MB / 0.9282 GB, free: 324 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/0.9623, allocations: 156.5 kB / 0.9284 GB, free: 192 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001893/0.9625, allocations: 123.5 kB / 0.9285 GB, free: 84 kB / 0.6387 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.0007335/0.9633, allocations: 355.5 kB / 0.9288 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000248/0.9635, allocations: 177.7 kB / 0.929 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008791/0.9723, allocations: 4.284 MB / 0.9332 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-05/0.9723, allocations: 27.92 kB / 0.9332 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.517e-05/0.9724, allocations: 8 kB / 0.9332 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.719e-05/0.9724, allocations: 11.97 kB / 0.9332 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01027/0.9827, allocations: 5.446 MB / 0.9385 GB, free: 7.102 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.9827, allocations: 0 / 0.9385 GB, free: 7.102 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001819/0.9845, allocations: 416.4 kB / 0.9389 GB, free: 6.711 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00175/0.9863, allocations: 0.6324 MB / 0.9396 GB, free: 6.062 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001654/0.9864, allocations: 83.88 kB / 0.9396 GB, free: 5.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01154/0.998, allocations: 9.751 MB / 0.9492 GB, free: 11.62 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.998, allocations: 3.984 kB / 0.9492 GB, free: 11.62 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008382/1.006, allocations: 3.98 MB / 0.9531 GB, free: 7.605 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007884/1.007, allocations: 414.4 kB / 0.9534 GB, free: 7.18 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003462/1.008, allocations: 40 kB / 0.9535 GB, free: 7.141 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001382/1.009, allocations: 151.8 kB / 0.9536 GB, free: 6.992 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002957/1.009, allocations: 164.2 kB / 0.9538 GB, free: 6.832 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000202/1.009, allocations: 108.2 kB / 0.9539 GB, free: 6.727 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00113/1.011, allocations: 0.83 MB / 0.9547 GB, free: 5.898 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/1.011, allocations: 0 / 0.9547 GB, free: 5.898 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00246/1.013, allocations: 0.8746 MB / 0.9556 GB, free: 5.023 MB / 0.67 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.01036/1.023, allocations: 5.568 MB / 0.961 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005537/1.029, allocations: 2.86 MB / 0.9638 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.029, allocations: 0 / 0.9638 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003648/1.033, allocations: 2.031 MB / 0.9658 GB, free: 10.58 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002861/1.036, allocations: 0.4969 MB / 0.9663 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03169/1.067, allocations: 19.01 MB / 0.9848 GB, free: 6.195 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001116/1.068, allocations: 1.479 MB / 0.9863 GB, free: 4.684 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.003222/1.072, allocations: 1.406 MB / 0.9876 GB, free: 3.312 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001618/1.073, allocations: 1.011 MB / 0.9886 GB, free: 2.301 MB / 0.7012 GB Notification: Performance of SimCode: time 6.91e-07/1.073, allocations: 2.297 kB / 0.9886 GB, free: 2.301 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.908/4.981, allocations: 57.7 MB / 1.045 GB, free: 9.109 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002808/4.981, allocations: 295.1 kB / 1.045 GB, free: 8.719 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.936/8.918, allocations: 0 / 1.045 GB, free: 8.719 MB / 0.7637 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