Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.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_serial,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial",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.001724/0.001724, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 193.9 kB / 16.53 MB, free: 6.664 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.698/1.698, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.9151/0.9151, allocations: 93.71 MB / 384.1 MB, free: 6.992 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002452/0.002452, allocations: 85.64 kB / 463.5 MB, free: 21.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2088, allocations: 68.26 MB / 0.5193 GB, free: 6.902 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.7689/0.9777, allocations: 235 MB / 0.7488 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03248/1.01, allocations: 22.31 MB / 0.7706 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002171/1.013, allocations: 63.56 kB / 0.7706 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00261/1.015, allocations: 0.7994 MB / 0.7714 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006993/1.022, allocations: 2.04 MB / 0.7734 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006827/1.029, allocations: 2.168 MB / 0.7755 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004401/1.033, allocations: 2.24 MB / 0.7777 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007803/1.034, allocations: 424.8 kB / 0.7781 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00352/1.038, allocations: 1.386 MB / 0.7795 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001277/1.039, allocations: 0.8357 MB / 0.7803 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002374/1.039, allocations: 140 kB / 0.7804 GB, free: 15 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01105/1.05, allocations: 4.033 MB / 0.7844 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005995/1.051, allocations: 342.6 kB / 0.7847 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00146/1.052, allocations: 0.8313 MB / 0.7855 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.009053/1.062, allocations: 2.964 MB / 0.7884 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 9.779e-06/1.062, allocations: 0 / 0.7884 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.974e-06/1.062, allocations: 3.938 kB / 0.7884 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.789e-05/1.062, allocations: 0 / 0.7884 GB, free: 6.816 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.006929/1.069, allocations: 2.323 MB / 0.7907 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 7.715e-05/1.069, allocations: 8.031 kB / 0.7907 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003222/1.069, allocations: 201.8 kB / 0.7909 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003591/1.073, allocations: 413.4 kB / 0.7913 GB, free: 3.816 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002893/1.076, allocations: 1.021 MB / 0.7923 GB, free: 2.738 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004347/1.076, allocations: 348 kB / 0.7926 GB, free: 2.348 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002652/1.076, allocations: 131.9 kB / 0.7927 GB, free: 2.219 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003139/1.079, allocations: 1.45 MB / 0.7941 GB, free: 0.7188 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.725e-05/1.08, allocations: 4 kB / 0.7941 GB, free: 0.7148 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001335/1.08, allocations: 48 kB / 0.7942 GB, free: 0.668 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.508e-05/1.08, allocations: 32 kB / 0.7942 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00286/1.083, allocations: 1.188 MB / 0.7954 GB, free: 15.44 MB / 0.6075 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.009865/1.092, allocations: 5.504 MB / 0.8007 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00362/1.096, allocations: 1.318 MB / 0.802 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001671/1.098, allocations: 0.7105 MB / 0.8027 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002269/1.1, allocations: 1.794 MB / 0.8045 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.063e-05/1.1, allocations: 47.56 kB / 0.8045 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=113): time 5.14e-06/1.1, allocations: 0 / 0.8045 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of matching and sorting (n=113): time 0.009555/1.11, allocations: 3.043 MB / 0.8075 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.168e-05/1.11, allocations: 64.41 kB / 0.8076 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001391/1.111, allocations: 0.9174 MB / 0.8085 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001436/1.111, allocations: 41.7 kB / 0.8085 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005868/1.112, allocations: 0.634 MB / 0.8091 GB, free: 400 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004633/1.112, allocations: 390.3 kB / 0.8095 GB, free: 4 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004357/1.113, allocations: 206.9 kB / 0.8097 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001961/1.113, allocations: 341.9 kB / 0.81 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001275/1.114, allocations: 498.3 kB / 0.8105 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001405/1.116, allocations: 0.584 MB / 0.8111 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002683/1.118, allocations: 1.066 MB / 0.8121 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/1.118, allocations: 0 / 0.8121 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.00598/1.124, allocations: 1.912 MB / 0.814 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/1.125, allocations: 8 kB / 0.814 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/1.125, allocations: 0 / 0.814 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00144/1.126, allocations: 420.3 kB / 0.8144 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001605/1.128, allocations: 299.7 kB / 0.8147 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0109/1.139, allocations: 7.429 MB / 0.8219 GB, free: 2.637 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/1.14, allocations: 127.1 kB / 0.822 GB, free: 2.512 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003191/1.14, allocations: 71.97 kB / 0.8221 GB, free: 2.441 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (112): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,1,88.9%), (3,1,88.9%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009663/1.141, allocations: 269.5 kB / 0.8224 GB, free: 2.168 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004847/1.142, allocations: 130.3 kB / 0.8225 GB, free: 2.039 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.411/1.553, allocations: 2.726 MB / 0.8251 GB, free: 239.4 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.716e-05/1.553, allocations: 12.31 kB / 0.8252 GB, free: 239.4 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-05/1.553, allocations: 6.438 kB / 0.8252 GB, free: 239.4 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.177e-05/1.553, allocations: 6.156 kB / 0.8252 GB, free: 239.4 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01187/1.565, allocations: 3.588 MB / 0.8287 GB, free: 238.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/1.565, allocations: 2.094 kB / 0.8287 GB, free: 238.9 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002016/1.567, allocations: 295.3 kB / 0.829 GB, free: 238.9 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001609/1.568, allocations: 419.5 kB / 0.8294 GB, free: 238.8 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001253/1.569, allocations: 46.95 kB / 0.8294 GB, free: 238.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01303/1.582, allocations: 7.423 MB / 0.8367 GB, free: 232.6 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.014e-05/1.582, allocations: 2.812 kB / 0.8367 GB, free: 232.6 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01073/1.592, allocations: 2.61 MB / 0.8392 GB, free: 231.7 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/1.594, allocations: 316.6 kB / 0.8395 GB, free: 231.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000305/1.594, allocations: 28.92 kB / 0.8395 GB, free: 231.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/1.595, allocations: 65.09 kB / 0.8396 GB, free: 231.5 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004382/1.596, allocations: 100.3 kB / 0.8397 GB, free: 231.5 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002084/1.596, allocations: 71.11 kB / 0.8398 GB, free: 231.5 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001417/1.597, allocations: 0.63 MB / 0.8404 GB, free: 231.2 MB / 0.6231 GB Notification: Performance of sort global known variables: time 4.61e-07/1.597, allocations: 0 / 0.8404 GB, free: 231.2 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00281/1.6, allocations: 0.6003 MB / 0.841 GB, free: 231.1 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,counterFlowNTU1.h_out_A,counterFlowNTU1.h_out_B,mCV.inlet.m_flow,mCV.dp_int,mCV1.inlet.m_flow,mCV1.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 (106): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,5,100.0%), (1,5,100.0%), (3,1,88.9%), (3,1,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01468/1.615, allocations: 3.745 MB / 0.8446 GB, free: 229.5 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.009935/1.625, allocations: 1.941 MB / 0.8465 GB, free: 228.7 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/1.625, allocations: 0 / 0.8465 GB, free: 228.7 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.005562/1.63, allocations: 1.372 MB / 0.8479 GB, free: 228 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003514/1.634, allocations: 314.8 kB / 0.8482 GB, free: 227.9 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04933/1.683, allocations: 12.04 MB / 0.8599 GB, free: 221.9 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00181/1.685, allocations: 1.21 MB / 0.8611 GB, free: 221.1 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.004077/1.689, allocations: 0.8365 MB / 0.8619 GB, free: 220.7 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001795/1.691, allocations: 0.6854 MB / 0.8626 GB, free: 220.1 MB / 0.6231 GB Notification: Performance of SimCode: time 4.088e-06/1.691, allocations: 0 / 0.8626 GB, free: 220.1 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1158/1.807, allocations: 38.29 MB / 0.9 GB, free: 186.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/15.04, allocations: 15.84 kB / 0.9 GB, free: 186.4 MB / 0.6231 GB (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_res.csv --start-time 0 --stop-time 100 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial.fmu > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches