Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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-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_zeroMassFlow,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_dev_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.01053/0.01053, allocations: 95.58 kB / 15.73 MB, free: 6.047 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.002803/0.002803, allocations: 205.8 kB / 16.68 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.719/1.719, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.9637/0.9637, allocations: 93.7 MB / 384.2 MB, free: 6.906 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00262/0.00262, allocations: 79.88 kB / 0.5199 GB, free: 6.324 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.18, allocations: 68.28 MB / 0.5866 GB, free: 1.973 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.7832/0.9633, allocations: 201.8 MB / 0.7837 GB, free: 8.734 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02218/0.9855, allocations: 14.86 MB / 0.7982 GB, free: 9.824 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001422/0.987, allocations: 43.75 kB / 0.7983 GB, free: 9.781 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001687/0.9888, allocations: 0.5276 MB / 0.7988 GB, free: 9.254 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004776/0.9936, allocations: 1.333 MB / 0.8001 GB, free: 7.914 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004831/0.9984, allocations: 1.385 MB / 0.8015 GB, free: 6.531 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002373/1.001, allocations: 1.39 MB / 0.8028 GB, free: 5.137 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004811/1.001, allocations: 270.4 kB / 0.8031 GB, free: 4.863 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003035/1.004, allocations: 1.067 MB / 0.8041 GB, free: 3.793 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006408/1.005, allocations: 0.5052 MB / 0.8046 GB, free: 3.285 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002183/1.005, allocations: 76 kB / 0.8047 GB, free: 3.211 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006265/1.012, allocations: 2.52 MB / 0.8071 GB, free: 0.6875 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002763/1.012, allocations: 199.2 kB / 0.8073 GB, free: 0.4922 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008928/1.013, allocations: 0.505 MB / 0.8078 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004572/1.017, allocations: 1.896 MB / 0.8097 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/1.017, allocations: 0 / 0.8097 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.024e-06/1.017, allocations: 0 / 0.8097 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.286e-05/1.017, allocations: 0 / 0.8097 GB, free: 14.08 MB / 0.6544 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.003368/1.021, allocations: 1.591 MB / 0.8112 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.733e-05/1.021, allocations: 8.031 kB / 0.8112 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001738/1.021, allocations: 126.5 kB / 0.8114 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001881/1.023, allocations: 243.9 kB / 0.8116 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001672/1.025, allocations: 0.7992 MB / 0.8124 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002562/1.025, allocations: 184.8 kB / 0.8125 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/1.025, allocations: 75.95 kB / 0.8126 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002034/1.027, allocations: 0.8219 MB / 0.8134 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/1.027, allocations: 0 / 0.8134 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.929e-05/1.027, allocations: 32 kB / 0.8134 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.772e-05/1.027, allocations: 16 kB / 0.8135 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001689/1.029, allocations: 0.648 MB / 0.8141 GB, free: 9.406 MB / 0.6544 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.005714/1.035, allocations: 3.229 MB / 0.8172 GB, free: 5.887 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001706/1.036, allocations: 0.5996 MB / 0.8178 GB, free: 5.277 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007876/1.037, allocations: 354.3 kB / 0.8182 GB, free: 4.93 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009978/1.038, allocations: 0.8952 MB / 0.819 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.021e-05/1.038, allocations: 39.12 kB / 0.8191 GB, free: 3.785 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=59): time 2.985e-06/1.038, allocations: 0 / 0.8191 GB, free: 3.785 MB / 0.6544 GB Notification: Performance of matching and sorting (n=59): time 0.005952/1.044, allocations: 1.683 MB / 0.8207 GB, free: 2.031 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/1.044, allocations: 59.97 kB / 0.8208 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009608/1.045, allocations: 0.6691 MB / 0.8214 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.083e-05/1.045, allocations: 33.7 kB / 0.8215 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004078/1.046, allocations: 440.7 kB / 0.8219 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002064/1.046, allocations: 218.2 kB / 0.8221 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003516/1.046, allocations: 110.2 kB / 0.8222 GB, free: 492 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001632/1.047, allocations: 329.9 kB / 0.8225 GB, free: 156 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006819/1.047, allocations: 257 kB / 0.8228 GB, free: 15.9 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006576/1.048, allocations: 256.9 kB / 0.823 GB, free: 15.65 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001604/1.05, allocations: 0.5272 MB / 0.8235 GB, free: 15.12 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/1.05, allocations: 7.938 kB / 0.8235 GB, free: 15.11 MB / 0.67 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003497/1.053, allocations: 1.008 MB / 0.8245 GB, free: 14.09 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.518e-05/1.053, allocations: 11.98 kB / 0.8245 GB, free: 14.07 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/1.053, allocations: 0 / 0.8245 GB, free: 14.07 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001236/1.054, allocations: 230.4 kB / 0.8247 GB, free: 13.84 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007618/1.055, allocations: 143.8 kB / 0.8249 GB, free: 13.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008789/1.064, allocations: 5.1 MB / 0.8299 GB, free: 8.18 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007924/1.065, allocations: 71.69 kB / 0.8299 GB, free: 8.109 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002168/1.065, allocations: 39.98 kB / 0.83 GB, free: 8.07 MB / 0.67 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.0005888/1.066, allocations: 197.7 kB / 0.8302 GB, free: 7.867 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002455/1.066, allocations: 91.39 kB / 0.8302 GB, free: 7.777 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004355/1.07, allocations: 1.418 MB / 0.8316 GB, free: 6.336 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/1.07, allocations: 4 kB / 0.8316 GB, free: 6.332 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.629e-06/1.07, allocations: 5.938 kB / 0.8316 GB, free: 6.328 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/1.07, allocations: 3.984 kB / 0.8316 GB, free: 6.324 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005319/1.076, allocations: 2.101 MB / 0.8337 GB, free: 4.121 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/1.076, allocations: 4 kB / 0.8337 GB, free: 4.117 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008709/1.077, allocations: 131.8 kB / 0.8338 GB, free: 3.988 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009521/1.078, allocations: 246.4 kB / 0.8341 GB, free: 3.738 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.679e-05/1.078, allocations: 23.98 kB / 0.8341 GB, free: 3.715 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008246/1.086, allocations: 5.105 MB / 0.8391 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.236e-06/1.086, allocations: 7.922 kB / 0.8391 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004175/1.09, allocations: 1.418 MB / 0.8405 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003635/1.091, allocations: 224.2 kB / 0.8407 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/1.091, allocations: 20 kB / 0.8407 GB, free: 12.47 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004707/1.091, allocations: 35.91 kB / 0.8407 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002081/1.091, allocations: 56.86 kB / 0.8408 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000191/1.092, allocations: 31.98 kB / 0.8408 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007868/1.092, allocations: 487 kB / 0.8413 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.8e-07/1.092, allocations: 4 kB / 0.8413 GB, free: 11.87 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001547/1.094, allocations: 375 kB / 0.8416 GB, free: 11.5 MB / 0.6856 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.005994/1.1, allocations: 2.344 MB / 0.8439 GB, free: 9.125 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002864/1.103, allocations: 1.066 MB / 0.845 GB, free: 8.02 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/1.103, allocations: 4 kB / 0.845 GB, free: 8.016 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001899/1.105, allocations: 0.8076 MB / 0.8458 GB, free: 7.168 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/1.106, allocations: 210.4 kB / 0.846 GB, free: 6.969 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3741/1.48, allocations: 7.076 MB / 0.8529 GB, free: 237.8 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009315/1.481, allocations: 0.9952 MB / 0.8538 GB, free: 237.1 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001499/1.483, allocations: 445.6 kB / 0.8543 GB, free: 237.1 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006272/1.483, allocations: 411.8 kB / 0.8547 GB, free: 237.1 MB / 0.6856 GB Notification: Performance of SimCode: time 9.32e-07/1.483, allocations: 0.8125 kB / 0.8547 GB, free: 237.1 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09195/1.575, allocations: 24.99 MB / 0.8791 GB, free: 230.7 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.26/14.83, allocations: 9.141 kB / 0.8791 GB, free: 230.7 MB / 0.6856 GB (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_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_dev_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow.fmu > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_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_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches