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.001912/0.001912, 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.002169/0.002169, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.667/1.667, allocations: 222.9 MB / 240.2 MB, free: 4.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.9404/0.9404, allocations: 93.7 MB / 384.1 MB, free: 6.973 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002303/0.002303, allocations: 87.27 kB / 463.5 MB, free: 21.96 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1683, allocations: 68.26 MB / 0.5193 GB, free: 6.906 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.6762/0.8447, allocations: 201.9 MB / 0.7164 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02244/0.8672, allocations: 14.85 MB / 0.7309 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001529/0.8688, allocations: 51.62 kB / 0.731 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001993/0.8709, allocations: 0.5162 MB / 0.7315 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004729/0.8756, allocations: 1.333 MB / 0.7328 GB, free: 8 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004575/0.8802, allocations: 1.377 MB / 0.7341 GB, free: 14.63 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002671/0.8829, allocations: 1.39 MB / 0.7355 GB, free: 13.23 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005383/0.8834, allocations: 271.7 kB / 0.7357 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002782/0.8862, allocations: 1.063 MB / 0.7368 GB, free: 11.89 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007663/0.887, allocations: 0.5014 MB / 0.7373 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001795/0.8872, allocations: 80 kB / 0.7373 GB, free: 11.31 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006533/0.8937, allocations: 2.475 MB / 0.7398 GB, free: 8.832 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003842/0.8942, allocations: 203.1 kB / 0.74 GB, free: 8.633 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0008659/0.8951, allocations: 0.5011 MB / 0.7404 GB, free: 8.129 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.006869/0.9019, allocations: 1.85 MB / 0.7423 GB, free: 6.273 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.216e-05/0.902, allocations: 0 / 0.7423 GB, free: 6.273 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.435e-06/0.902, allocations: 0 / 0.7423 GB, free: 6.273 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.784e-05/0.902, allocations: 0 / 0.7423 GB, free: 6.273 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.004022/0.9061, allocations: 1.543 MB / 0.7438 GB, free: 4.68 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.73e-05/0.9062, allocations: 16.03 kB / 0.7438 GB, free: 4.664 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001938/0.9064, allocations: 118.5 kB / 0.7439 GB, free: 4.539 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001938/0.9083, allocations: 234.9 kB / 0.7441 GB, free: 4.309 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001455/0.9098, allocations: 0.7204 MB / 0.7448 GB, free: 3.543 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002672/0.9101, allocations: 184.7 kB / 0.745 GB, free: 3.34 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/0.9102, allocations: 72 kB / 0.7451 GB, free: 3.27 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001837/0.9121, allocations: 0.8219 MB / 0.7459 GB, free: 2.43 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.9121, allocations: 4 kB / 0.7459 GB, free: 2.426 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.563e-05/0.9122, allocations: 24 kB / 0.7459 GB, free: 2.402 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.066e-05/0.9122, allocations: 19.94 kB / 0.7459 GB, free: 2.383 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001654/0.9139, allocations: 0.6519 MB / 0.7465 GB, free: 1.734 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.005564/0.9195, allocations: 3.256 MB / 0.7497 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001507/0.921, allocations: 0.5966 MB / 0.7503 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007878/0.9218, allocations: 358.3 kB / 0.7506 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00101/0.9228, allocations: 0.8952 MB / 0.7515 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.635e-05/0.9229, allocations: 41.56 kB / 0.7516 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=59): time 4.719e-06/0.9229, allocations: 0 / 0.7516 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of matching and sorting (n=59): time 0.00544/0.9283, allocations: 1.678 MB / 0.7532 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.9284, allocations: 55.97 kB / 0.7533 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/0.9295, allocations: 0.669 MB / 0.7539 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.389e-05/0.9296, allocations: 33.7 kB / 0.7539 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004056/0.93, allocations: 440.1 kB / 0.7544 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002044/0.9302, allocations: 205.1 kB / 0.7546 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002128/0.9304, allocations: 110.2 kB / 0.7547 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001791/0.9306, allocations: 326 kB / 0.755 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007197/0.9313, allocations: 253 kB / 0.7552 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006676/0.932, allocations: 260.9 kB / 0.7555 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001421/0.9334, allocations: 0.5272 MB / 0.756 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.9335, allocations: 0 / 0.756 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003099/0.9366, allocations: 1.019 MB / 0.757 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.9366, allocations: 4 kB / 0.757 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.9366, allocations: 0 / 0.757 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009443/0.9376, allocations: 230.4 kB / 0.7572 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007939/0.9384, allocations: 143.8 kB / 0.7573 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006923/0.9453, allocations: 5.1 MB / 0.7623 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008546/0.9462, allocations: 72.33 kB / 0.7624 GB, free: 444 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.9463, allocations: 35.98 kB / 0.7624 GB, free: 408 kB / 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.0004954/0.9468, allocations: 205.7 kB / 0.7626 GB, free: 192 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001902/0.947, allocations: 82.97 kB / 0.7627 GB, free: 108 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004291/0.9513, allocations: 1.42 MB / 0.7641 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.9514, allocations: 7.938 kB / 0.7641 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.9514, allocations: 4 kB / 0.7641 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.9514, allocations: 3.984 kB / 0.7641 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005284/0.9567, allocations: 2.101 MB / 0.7661 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/0.9567, allocations: 8 kB / 0.7662 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008185/0.9576, allocations: 135.8 kB / 0.7663 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008247/0.9584, allocations: 238.4 kB / 0.7665 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-05/0.9585, allocations: 27.92 kB / 0.7665 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006869/0.9654, allocations: 5.102 MB / 0.7715 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.9654, allocations: 3.938 kB / 0.7715 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003876/0.9693, allocations: 1.417 MB / 0.7729 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004518/0.9698, allocations: 211.8 kB / 0.7731 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.9699, allocations: 23.84 kB / 0.7731 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000525/0.9705, allocations: 35.91 kB / 0.7732 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001929/0.9707, allocations: 56.48 kB / 0.7732 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.767e-05/0.9707, allocations: 35.98 kB / 0.7733 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007703/0.9715, allocations: 483 kB / 0.7737 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.204e-06/0.9715, allocations: 0 / 0.7737 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001566/0.9731, allocations: 371.2 kB / 0.7741 GB, free: 3.848 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.005209/0.9783, allocations: 2.353 MB / 0.7764 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003113/0.9815, allocations: 1.089 MB / 0.7774 GB, free: 340 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.9815, allocations: 0 / 0.7774 GB, free: 340 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001815/0.9833, allocations: 0.7922 MB / 0.7782 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001338/0.9847, allocations: 208.7 kB / 0.7784 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01521/0.9999, allocations: 7.379 MB / 0.7856 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00085/1.001, allocations: 1.001 MB / 0.7866 GB, free: 6.656 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001438/1.002, allocations: 446.3 kB / 0.787 GB, free: 6.227 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007461/1.003, allocations: 411.2 kB / 0.7874 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of SimCode: time 4.548e-06/1.003, allocations: 0 / 0.7874 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0782/1.081, allocations: 24.68 MB / 0.8115 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/13.68, allocations: 12.61 kB / 0.8115 GB, free: 13.4 MB / 0.6231 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