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-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_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.005482/0.005482, allocations: 100.1 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.001215/0.001215, allocations: 192.8 kB / 16.67 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7344/0.7344, allocations: 91.19 MB / 381.7 MB, free: 7.504 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 79.83 kB / 0.5164 GB, free: 4.605 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3557, allocations: 67.68 MB / 0.5825 GB, free: 13.47 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.5973/0.953, allocations: 201.8 MB / 0.7796 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01706/0.9702, allocations: 14.83 MB / 0.7941 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001857/0.9721, allocations: 38.22 kB / 0.7941 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001755/0.9738, allocations: 0.5149 MB / 0.7946 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004382/0.9783, allocations: 1.332 MB / 0.7959 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00428/0.9826, allocations: 1.392 MB / 0.7973 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00242/0.985, allocations: 1.352 MB / 0.7986 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000514/0.9856, allocations: 263.9 kB / 0.7988 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002624/0.9882, allocations: 1.079 MB / 0.7999 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006176/0.9888, allocations: 0.4983 MB / 0.8004 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.989, allocations: 79.53 kB / 0.8004 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004868/0.9938, allocations: 2.51 MB / 0.8029 GB, free: 480 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000197/0.9941, allocations: 202.9 kB / 0.8031 GB, free: 436 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005173/0.9946, allocations: 0.4969 MB / 0.8036 GB, free: 268 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003878/0.9985, allocations: 1.879 MB / 0.8054 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.9985, allocations: 0 / 0.8054 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9985, allocations: 0 / 0.8054 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.365e-05/0.9985, allocations: 0 / 0.8054 GB, free: 15.97 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.003013/1.002, allocations: 1.573 MB / 0.8069 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/1.002, allocations: 8.531 kB / 0.807 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001289/1.002, allocations: 117.2 kB / 0.8071 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001708/1.003, allocations: 247.4 kB / 0.8073 GB, free: 15 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/1.005, allocations: 0.7784 MB / 0.8081 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002532/1.005, allocations: 178.6 kB / 0.8082 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/1.005, allocations: 85.7 kB / 0.8083 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001561/1.007, allocations: 0.8245 MB / 0.8091 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/1.007, allocations: 0 / 0.8091 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.208e-05/1.007, allocations: 29.03 kB / 0.8091 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/1.007, allocations: 18.81 kB / 0.8092 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/1.008, allocations: 0.6491 MB / 0.8098 GB, free: 14.42 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.00418/1.012, allocations: 3.218 MB / 0.8129 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/1.014, allocations: 0.59 MB / 0.8135 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006682/1.015, allocations: 360.8 kB / 0.8139 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000613/1.015, allocations: 0.8944 MB / 0.8147 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/1.015, allocations: 40.11 kB / 0.8148 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=59): time 2.254e-06/1.015, allocations: 0 / 0.8148 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of matching and sorting (n=59): time 0.004858/1.02, allocations: 1.682 MB / 0.8164 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/1.02, allocations: 62.47 kB / 0.8165 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008909/1.021, allocations: 0.6492 MB / 0.8171 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.946e-05/1.021, allocations: 37.3 kB / 0.8171 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003096/1.021, allocations: 431.7 kB / 0.8176 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001993/1.022, allocations: 210 kB / 0.8178 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000207/1.022, allocations: 110.9 kB / 0.8179 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001415/1.022, allocations: 330.5 kB / 0.8182 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007791/1.023, allocations: 254.3 kB / 0.8184 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007122/1.024, allocations: 257.3 kB / 0.8187 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001353/1.025, allocations: 0.5308 MB / 0.8192 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/1.025, allocations: 0 / 0.8192 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003002/1.028, allocations: 1.02 MB / 0.8202 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/1.028, allocations: 9.094 kB / 0.8202 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/1.028, allocations: 0 / 0.8202 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000845/1.029, allocations: 232.4 kB / 0.8204 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007161/1.03, allocations: 140.2 kB / 0.8205 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006141/1.036, allocations: 5.102 MB / 0.8255 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008411/1.037, allocations: 73.77 kB / 0.8256 GB, free: 2.93 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.832e-05/1.037, allocations: 34.2 kB / 0.8256 GB, free: 2.922 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.0005049/1.037, allocations: 204.6 kB / 0.8258 GB, free: 2.754 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002007/1.037, allocations: 84.16 kB / 0.8259 GB, free: 2.707 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003699/1.041, allocations: 1.422 MB / 0.8273 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/1.041, allocations: 11.88 kB / 0.8273 GB, free: 1.832 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/1.041, allocations: 4 kB / 0.8273 GB, free: 1.828 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.407e-06/1.041, allocations: 7.172 kB / 0.8273 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004822/1.046, allocations: 2.084 MB / 0.8294 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/1.046, allocations: 4 kB / 0.8294 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007948/1.047, allocations: 146.2 kB / 0.8295 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007927/1.048, allocations: 234.5 kB / 0.8297 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.747e-05/1.048, allocations: 23.92 kB / 0.8297 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005941/1.054, allocations: 5.104 MB / 0.8347 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/1.054, allocations: 0 / 0.8347 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003459/1.057, allocations: 1.416 MB / 0.8361 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003938/1.058, allocations: 224.3 kB / 0.8363 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/1.058, allocations: 19.92 kB / 0.8363 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004967/1.058, allocations: 35.97 kB / 0.8364 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/1.058, allocations: 59.58 kB / 0.8364 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.118e-05/1.058, allocations: 31.98 kB / 0.8365 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006494/1.059, allocations: 479 kB / 0.8369 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/1.059, allocations: 0 / 0.8369 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001193/1.06, allocations: 367.1 kB / 0.8373 GB, free: 7.113 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.004607/1.065, allocations: 2.348 MB / 0.8396 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002462/1.067, allocations: 1.067 MB / 0.8406 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.067, allocations: 4 kB / 0.8406 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001617/1.069, allocations: 0.7955 MB / 0.8414 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/1.07, allocations: 206.7 kB / 0.8416 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01296/1.083, allocations: 7.026 MB / 0.8484 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007031/1.084, allocations: 0.9892 MB / 0.8494 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001024/1.085, allocations: 442.6 kB / 0.8498 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006202/1.086, allocations: 403.2 kB / 0.8502 GB, free: 9.664 MB / 0.6231 GB Notification: Performance of SimCode: time 1.012e-06/1.086, allocations: 0 / 0.8502 GB, free: 9.664 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06466/1.15, allocations: 24.76 MB / 0.8744 GB, free: 1.199 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/12.71, allocations: 5.547 kB / 0.8744 GB, free: 1.195 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