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.001849/0.001849, allocations: 108 kB / 15.6 MB, free: 132 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.002824/0.002824, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.62/1.62, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8913/0.8913, allocations: 91.21 MB / 381.6 MB, free: 9.391 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 74.33 kB / 460.4 MB, free: 23.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1525, allocations: 67.69 MB / 0.5157 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.6015/0.754, allocations: 201.8 MB / 0.7128 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01791/0.772, allocations: 14.83 MB / 0.7273 GB, free: 6.594 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001686/0.7737, allocations: 39.75 kB / 0.7274 GB, free: 6.555 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001857/0.7757, allocations: 0.5162 MB / 0.7279 GB, free: 6.035 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004858/0.7806, allocations: 1.31 MB / 0.7291 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004275/0.7849, allocations: 1.397 MB / 0.7305 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002158/0.787, allocations: 1.328 MB / 0.7318 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000477/0.7875, allocations: 272.9 kB / 0.7321 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002339/0.7899, allocations: 1.051 MB / 0.7331 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005779/0.7905, allocations: 0.5014 MB / 0.7336 GB, free: 144 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001469/0.7906, allocations: 76 kB / 0.7336 GB, free: 68 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005162/0.7958, allocations: 2.465 MB / 0.7361 GB, free: 13.6 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002103/0.796, allocations: 207.1 kB / 0.7363 GB, free: 13.39 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006246/0.7967, allocations: 0.4972 MB / 0.7367 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003851/0.8005, allocations: 1.839 MB / 0.7385 GB, free: 11.05 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.8006, allocations: 4 kB / 0.7385 GB, free: 11.05 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8006, allocations: 4 kB / 0.7385 GB, free: 11.04 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.948e-05/0.8006, allocations: 0 / 0.7385 GB, free: 11.04 MB / 0.545 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.003078/0.8037, allocations: 1.527 MB / 0.74 GB, free: 9.465 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.941e-05/0.8038, allocations: 8.031 kB / 0.74 GB, free: 9.457 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001505/0.8039, allocations: 118.5 kB / 0.7402 GB, free: 9.332 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001776/0.8057, allocations: 238.4 kB / 0.7404 GB, free: 9.098 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.8068, allocations: 0.6971 MB / 0.7411 GB, free: 8.355 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002405/0.8071, allocations: 188.8 kB / 0.7412 GB, free: 8.148 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.8072, allocations: 75.91 kB / 0.7413 GB, free: 8.074 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001732/0.809, allocations: 0.818 MB / 0.7421 GB, free: 7.238 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/0.809, allocations: 4 kB / 0.7421 GB, free: 7.234 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.64e-05/0.8091, allocations: 28 kB / 0.7421 GB, free: 7.207 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.258e-05/0.8091, allocations: 23.94 kB / 0.7422 GB, free: 7.184 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001642/0.8108, allocations: 0.6402 MB / 0.7428 GB, free: 6.547 MB / 0.545 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.004805/0.8156, allocations: 3.236 MB / 0.746 GB, free: 3.02 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001487/0.8171, allocations: 0.6034 MB / 0.7465 GB, free: 2.41 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008356/0.818, allocations: 358.3 kB / 0.7469 GB, free: 2.059 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007736/0.8187, allocations: 0.8952 MB / 0.7478 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.8188, allocations: 39.12 kB / 0.7478 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of pre-optimization done (n=59): time 2.374e-06/0.8188, allocations: 0 / 0.7478 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of matching and sorting (n=59): time 0.005123/0.8239, allocations: 1.678 MB / 0.7494 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.824, allocations: 63.97 kB / 0.7495 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009348/0.8249, allocations: 0.6494 MB / 0.7501 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.06e-05/0.825, allocations: 33.7 kB / 0.7502 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003204/0.8253, allocations: 428.2 kB / 0.7506 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001872/0.8255, allocations: 197.1 kB / 0.7508 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000222/0.8258, allocations: 114.2 kB / 0.7509 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.8259, allocations: 326 kB / 0.7512 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006909/0.8266, allocations: 257 kB / 0.7514 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007285/0.8273, allocations: 264.8 kB / 0.7517 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001394/0.8287, allocations: 0.5194 MB / 0.7522 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.8288, allocations: 4 kB / 0.7522 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003102/0.8319, allocations: 1.017 MB / 0.7532 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.974e-05/0.8319, allocations: 4 kB / 0.7532 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.8319, allocations: 4 kB / 0.7532 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009563/0.8329, allocations: 226.4 kB / 0.7534 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008453/0.8338, allocations: 155.8 kB / 0.7536 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006795/0.8406, allocations: 5.089 MB / 0.7585 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008833/0.8415, allocations: 71.45 kB / 0.7586 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001602/0.8417, allocations: 35.98 kB / 0.7586 GB, free: 5.25 MB / 0.5606 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.0005728/0.8423, allocations: 211.2 kB / 0.7588 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003097/0.8426, allocations: 78.97 kB / 0.7589 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004337/0.8469, allocations: 1.42 MB / 0.7603 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.238e-06/0.847, allocations: 7.938 kB / 0.7603 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.847, allocations: 4 kB / 0.7603 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.847, allocations: 0 / 0.7603 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00502/0.852, allocations: 2.09 MB / 0.7623 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.8521, allocations: 0 / 0.7623 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008124/0.8529, allocations: 143.9 kB / 0.7625 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008568/0.8537, allocations: 238.8 kB / 0.7627 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.299e-05/0.8538, allocations: 27.92 kB / 0.7627 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006418/0.8603, allocations: 5.103 MB / 0.7677 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.8603, allocations: 0 / 0.7677 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003833/0.8641, allocations: 1.413 MB / 0.7691 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003889/0.8645, allocations: 207.8 kB / 0.7693 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001746/0.8647, allocations: 27.84 kB / 0.7693 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005722/0.8653, allocations: 39.97 kB / 0.7694 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/0.8655, allocations: 52.42 kB / 0.7694 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-05/0.8655, allocations: 35.98 kB / 0.7694 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006535/0.8662, allocations: 471 kB / 0.7699 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8662, allocations: 0 / 0.7699 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001302/0.8675, allocations: 371.2 kB / 0.7702 GB, free: 8.738 MB / 0.5762 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.00485/0.8724, allocations: 2.351 MB / 0.7725 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00278/0.8752, allocations: 1.081 MB / 0.7736 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.8752, allocations: 0 / 0.7736 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001756/0.877, allocations: 0.8 MB / 0.7744 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.8782, allocations: 204.6 kB / 0.7746 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01452/0.8927, allocations: 7.304 MB / 0.7817 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006469/0.8934, allocations: 0.9892 MB / 0.7827 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001241/0.8947, allocations: 442.4 kB / 0.7831 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006361/0.8953, allocations: 403.3 kB / 0.7835 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of SimCode: time 5.61e-07/0.8954, allocations: 0 / 0.7835 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06852/0.9639, allocations: 24.47 MB / 0.8074 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.98, allocations: 7.797 kB / 0.8074 GB, free: 2.617 MB / 0.6075 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