Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.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.CrossFlowNTU,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU",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.001327/0.001331, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001206/0.001206, allocations: 191.6 kB / 16.14 MB, free: 6.711 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.261/1.261, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6182/0.6182, allocations: 89.5 MB / 379.5 MB, free: 11.27 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 81.97 kB / 457.7 MB, free: 23.88 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1068, allocations: 67.31 MB / 0.5127 GB, free: 12.87 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.4116/0.5185, allocations: 212.7 MB / 0.7204 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0172/0.5357, allocations: 17.5 MB / 0.7375 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008327/0.5366, allocations: 23.88 kB / 0.7375 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001335/0.538, allocations: 0.5246 MB / 0.738 GB, free: 12.31 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003466/0.5414, allocations: 1.501 MB / 0.7395 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003443/0.5449, allocations: 1.447 MB / 0.7409 GB, free: 9.352 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001709/0.5466, allocations: 1.752 MB / 0.7426 GB, free: 7.594 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003392/0.547, allocations: 266.7 kB / 0.7429 GB, free: 7.32 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001709/0.5487, allocations: 1.078 MB / 0.7439 GB, free: 6.238 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005076/0.5492, allocations: 0.5832 MB / 0.7445 GB, free: 5.652 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.904e-05/0.5493, allocations: 60 kB / 0.7446 GB, free: 5.594 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005845/0.5552, allocations: 3.603 MB / 0.7481 GB, free: 1.984 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001725/0.5554, allocations: 203.1 kB / 0.7483 GB, free: 1.785 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000478/0.5558, allocations: 0.5439 MB / 0.7488 GB, free: 1.238 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002969/0.5588, allocations: 2.154 MB / 0.7509 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.5588, allocations: 0 / 0.7509 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.92e-07/0.5588, allocations: 0 / 0.7509 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.5589, allocations: 0 / 0.7509 GB, free: 15.08 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.002796/0.5617, allocations: 1.672 MB / 0.7525 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.5617, allocations: 12.03 kB / 0.7525 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001491/0.5619, allocations: 139.6 kB / 0.7527 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00183/0.5637, allocations: 278.2 kB / 0.7529 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008859/0.5646, allocations: 0.6214 MB / 0.7536 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001992/0.5648, allocations: 200.7 kB / 0.7537 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.5649, allocations: 88 kB / 0.7538 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001728/0.5667, allocations: 1.001 MB / 0.7548 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.5667, allocations: 3.938 kB / 0.7548 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.685e-05/0.5668, allocations: 43.92 kB / 0.7548 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.174e-05/0.5668, allocations: 24 kB / 0.7549 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00155/0.5684, allocations: 0.7807 MB / 0.7556 GB, free: 10.07 MB / 0.5606 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.00457/0.573, allocations: 4.059 MB / 0.7596 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00175/0.5747, allocations: 0.8589 MB / 0.7604 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007213/0.5755, allocations: 431.2 kB / 0.7608 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007795/0.5762, allocations: 1.307 MB / 0.7621 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.5763, allocations: 43.16 kB / 0.7622 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=80): time 2.004e-06/0.5763, allocations: 0 / 0.7622 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of matching and sorting (n=80): time 0.004927/0.5812, allocations: 1.892 MB / 0.764 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.5813, allocations: 64.06 kB / 0.7641 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007529/0.5821, allocations: 0.6177 MB / 0.7647 GB, free: 60 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.38e-05/0.5821, allocations: 41.7 kB / 0.7647 GB, free: 12 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000271/0.5824, allocations: 424.1 kB / 0.7651 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002042/0.5826, allocations: 272 kB / 0.7654 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002407/0.5829, allocations: 154.6 kB / 0.7655 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.583, allocations: 333.9 kB / 0.7658 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006486/0.5836, allocations: 313.8 kB / 0.7661 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007288/0.5844, allocations: 395 kB / 0.7665 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001357/0.5857, allocations: 0.6823 MB / 0.7672 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.5858, allocations: 0 / 0.7672 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002918/0.5887, allocations: 1.209 MB / 0.7684 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.5887, allocations: 4 kB / 0.7684 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.5887, allocations: 4 kB / 0.7684 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007866/0.5895, allocations: 258.3 kB / 0.7686 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008926/0.5904, allocations: 199.7 kB / 0.7688 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005177/0.5956, allocations: 4.868 MB / 0.7736 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000693/0.5963, allocations: 91.38 kB / 0.7737 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.5964, allocations: 51.98 kB / 0.7737 GB, free: 6.328 MB / 0.5762 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 (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0003522/0.5968, allocations: 213.7 kB / 0.7739 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/0.597, allocations: 86.97 kB / 0.774 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004069/0.601, allocations: 1.816 MB / 0.7758 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.6011, allocations: 8 kB / 0.7758 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.6011, allocations: 4 kB / 0.7758 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.447e-06/0.6011, allocations: 3.984 kB / 0.7758 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00457/0.6057, allocations: 2.453 MB / 0.7782 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.6057, allocations: 4 kB / 0.7782 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009338/0.6066, allocations: 191.8 kB / 0.7784 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007182/0.6074, allocations: 250.4 kB / 0.7786 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.463e-05/0.6074, allocations: 43.92 kB / 0.7786 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005239/0.6127, allocations: 4.861 MB / 0.7834 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.6127, allocations: 3.938 kB / 0.7834 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003709/0.6164, allocations: 1.696 MB / 0.7851 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003756/0.6168, allocations: 247.7 kB / 0.7853 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001584/0.617, allocations: 19.98 kB / 0.7853 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006258/0.6176, allocations: 55.95 kB / 0.7854 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.6178, allocations: 72.84 kB / 0.7854 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.088e-05/0.6179, allocations: 51.92 kB / 0.7855 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005434/0.6184, allocations: 447 kB / 0.7859 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.41e-07/0.6184, allocations: 0 / 0.7859 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001306/0.6197, allocations: 471.1 kB / 0.7864 GB, free: 8.777 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (crossFlowNTU.h_out_A,crossFlowNTU.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 (78): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (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.004951/0.6247, allocations: 2.725 MB / 0.789 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002497/0.6272, allocations: 1.231 MB / 0.7902 GB, free: 4.738 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.6272, allocations: 0 / 0.7902 GB, free: 4.738 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001617/0.6288, allocations: 0.9195 MB / 0.7911 GB, free: 3.785 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001242/0.6301, allocations: 235.1 kB / 0.7913 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01402/0.6441, allocations: 8.474 MB / 0.7996 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005954/0.6448, allocations: 1.013 MB / 0.8006 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001462/0.6462, allocations: 0.6165 MB / 0.8012 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007125/0.647, allocations: 443.2 kB / 0.8016 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of SimCode: time 4.31e-07/0.647, allocations: 0 / 0.8016 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2234/0.8704, allocations: 27.32 MB / 0.8283 GB, free: 241.4 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001539/0.8705, allocations: 278.8 kB / 0.8286 GB, free: 241 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.374/3.244, allocations: 0 / 0.8286 GB, free: 241 MB / 0.6231 GB (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches