Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.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/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/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_zeroMassFlow,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow",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.007564/0.007564, allocations: 98.02 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.001897/0.001897, allocations: 195.6 kB / 16.68 MB, free: 5.969 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.6942/0.6942, allocations: 89.47 MB / 380 MB, free: 8.641 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002221/0.002221, allocations: 80.14 kB / 0.5139 GB, free: 7.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3121, allocations: 67.29 MB / 0.5796 GB, free: 15.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.5456/0.8578, allocations: 201.6 MB / 0.7765 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01283/0.8706, allocations: 14.77 MB / 0.791 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001342/0.872, allocations: 18.06 kB / 0.791 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001702/0.8738, allocations: 0.5079 MB / 0.7915 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00383/0.8777, allocations: 1.253 MB / 0.7927 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004117/0.8818, allocations: 1.389 MB / 0.7941 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002625/0.8844, allocations: 1.21 MB / 0.7952 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004901/0.8849, allocations: 258.2 kB / 0.7955 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002203/0.8872, allocations: 1 MB / 0.7965 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000512/0.8877, allocations: 484.3 kB / 0.7969 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001075/0.8878, allocations: 77.81 kB / 0.797 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006002/0.8938, allocations: 2.504 MB / 0.7994 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000207/0.8941, allocations: 197.3 kB / 0.7996 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005558/0.8946, allocations: 471.1 kB / 0.8001 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003109/0.8977, allocations: 1.734 MB / 0.8018 GB, free: 308 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.8978, allocations: 0 / 0.8018 GB, free: 308 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.532e-06/0.8978, allocations: 0.875 kB / 0.8018 GB, free: 308 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.498e-05/0.8978, allocations: 0 / 0.8018 GB, free: 308 kB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002423/0.9002, allocations: 1.425 MB / 0.8032 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.9003, allocations: 9.438 kB / 0.8032 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001236/0.9004, allocations: 117.1 kB / 0.8033 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001561/0.902, allocations: 226 kB / 0.8035 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007998/0.9028, allocations: 0.5421 MB / 0.804 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002241/0.903, allocations: 185.7 kB / 0.8042 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.9031, allocations: 72.22 kB / 0.8043 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.9046, allocations: 0.8208 MB / 0.8051 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.9046, allocations: 2.281 kB / 0.8051 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-05/0.9047, allocations: 27.34 kB / 0.8051 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.9047, allocations: 20.62 kB / 0.8051 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001377/0.9061, allocations: 0.6467 MB / 0.8058 GB, free: 14.9 MB / 0.5919 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.003938/0.91, allocations: 3.177 MB / 0.8089 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001212/0.9113, allocations: 0.6026 MB / 0.8094 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00062/0.9119, allocations: 351 kB / 0.8098 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006784/0.9126, allocations: 0.9015 MB / 0.8107 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/0.9126, allocations: 39.02 kB / 0.8107 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=59): time 2.164e-06/0.9127, allocations: 0.9062 kB / 0.8107 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=59): time 0.004365/0.917, allocations: 1.666 MB / 0.8123 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.9171, allocations: 59.47 kB / 0.8124 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005074/0.9176, allocations: 0.4992 MB / 0.8129 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.699e-05/0.9177, allocations: 37.73 kB / 0.8129 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002589/0.9179, allocations: 361.5 kB / 0.8132 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001696/0.9181, allocations: 223.6 kB / 0.8135 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001863/0.9183, allocations: 111.9 kB / 0.8136 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001802/0.9185, allocations: 375.6 kB / 0.8139 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005816/0.9191, allocations: 253.5 kB / 0.8142 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005734/0.9197, allocations: 258.4 kB / 0.8144 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/0.9208, allocations: 0.5269 MB / 0.8149 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.9209, allocations: 0 / 0.8149 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002611/0.9235, allocations: 0.9965 MB / 0.8159 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.9235, allocations: 9.984 kB / 0.8159 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.9235, allocations: 0 / 0.8159 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008447/0.9244, allocations: 237.8 kB / 0.8161 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007351/0.9251, allocations: 142 kB / 0.8163 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006084/0.9312, allocations: 5.098 MB / 0.8213 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005969/0.9318, allocations: 73.2 kB / 0.8213 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.779e-05/0.9319, allocations: 39.39 kB / 0.8214 GB, free: 4.863 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (57): * Single equations (assignments): 54 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003577/0.9323, allocations: 192.2 kB / 0.8215 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.9324, allocations: 74.34 kB / 0.8216 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003416/0.9359, allocations: 1.399 MB / 0.823 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.9359, allocations: 9.094 kB / 0.823 GB, free: 3.902 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.9359, allocations: 2.969 kB / 0.823 GB, free: 3.902 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.9359, allocations: 0 / 0.823 GB, free: 3.902 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004278/0.9402, allocations: 2.048 MB / 0.825 GB, free: 2.512 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.9402, allocations: 2.531 kB / 0.825 GB, free: 2.512 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000781/0.941, allocations: 137.1 kB / 0.8251 GB, free: 2.438 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008206/0.9418, allocations: 241.4 kB / 0.8254 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.978e-05/0.9419, allocations: 27.98 kB / 0.8254 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006526/0.9484, allocations: 5.108 MB / 0.8304 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.9485, allocations: 3.938 kB / 0.8304 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003659/0.9521, allocations: 1.396 MB / 0.8317 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003515/0.9525, allocations: 200.5 kB / 0.8319 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.9526, allocations: 12 kB / 0.8319 GB, free: 11 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004672/0.9531, allocations: 39.95 kB / 0.832 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/0.9533, allocations: 63.53 kB / 0.832 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-05/0.9533, allocations: 31.98 kB / 0.8321 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004834/0.9538, allocations: 374.8 kB / 0.8324 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9538, allocations: 0 / 0.8324 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001146/0.955, allocations: 367.1 kB / 0.8328 GB, free: 10.15 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (crossFlowNTU.h_out_A,crossFlowNTU.h_out_B,flowResistanceA.inlet.m_flow,flowResistanceB.inlet.m_flow) * 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 (53): * Single equations (assignments): 50 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004686/0.9597, allocations: 2.324 MB / 0.835 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002544/0.9622, allocations: 1.064 MB / 0.8361 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.9623, allocations: 0 / 0.8361 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001656/0.9639, allocations: 0.8031 MB / 0.8369 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.965, allocations: 201.3 kB / 0.8371 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01236/0.9774, allocations: 6.401 MB / 0.8433 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005996/0.978, allocations: 0.9419 MB / 0.8442 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009385/0.9789, allocations: 430.4 kB / 0.8446 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005294/0.9795, allocations: 339.3 kB / 0.845 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of SimCode: time 7.61e-07/0.9795, allocations: 0 / 0.845 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06013/1.04, allocations: 22.81 MB / 0.8672 GB, free: 6.996 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/12.32, allocations: 7.859 kB / 0.8673 GB, free: 6.988 MB / 0.6387 GB (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.sim & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.csv --start-time 0 --stop-time 100 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches