Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_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.CounterFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_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.001987/0.001987, 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.002188/0.002188, allocations: 194.4 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.733/1.733, 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.9035/0.9035, allocations: 93.71 MB / 384.1 MB, free: 6.969 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0025/0.0025, allocations: 81.45 kB / 463.5 MB, free: 21.86 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2133, allocations: 68.26 MB / 0.5193 GB, free: 6.914 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.787/1, allocations: 201.9 MB / 0.7164 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02485/1.025, allocations: 15.06 MB / 0.7311 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002058/1.027, allocations: 47.69 kB / 0.7312 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002422/1.03, allocations: 0.5161 MB / 0.7317 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006304/1.036, allocations: 1.325 MB / 0.733 GB, free: 15.75 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00548/1.042, allocations: 1.479 MB / 0.7344 GB, free: 14.27 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003015/1.045, allocations: 1.386 MB / 0.7358 GB, free: 12.87 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005753/1.045, allocations: 261.4 kB / 0.736 GB, free: 12.6 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002808/1.048, allocations: 1.074 MB / 0.7371 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007115/1.049, allocations: 0.5053 MB / 0.7376 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001398/1.049, allocations: 80 kB / 0.7376 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007037/1.056, allocations: 2.563 MB / 0.7401 GB, free: 8.371 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003954/1.057, allocations: 219 kB / 0.7404 GB, free: 8.156 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007936/1.057, allocations: 0.4972 MB / 0.7408 GB, free: 7.656 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005193/1.063, allocations: 1.932 MB / 0.7427 GB, free: 5.719 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/1.063, allocations: 0 / 0.7427 GB, free: 5.719 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.495e-06/1.063, allocations: 0 / 0.7427 GB, free: 5.719 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.543e-05/1.063, allocations: 0 / 0.7427 GB, free: 5.719 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.00361/1.066, allocations: 1.562 MB / 0.7443 GB, free: 4.105 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/1.066, allocations: 8.031 kB / 0.7443 GB, free: 4.098 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001856/1.067, allocations: 122.5 kB / 0.7444 GB, free: 3.969 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001799/1.068, allocations: 238.9 kB / 0.7446 GB, free: 3.734 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/1.07, allocations: 0.728 MB / 0.7453 GB, free: 2.961 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002902/1.07, allocations: 184.8 kB / 0.7455 GB, free: 2.758 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001543/1.07, allocations: 72 kB / 0.7456 GB, free: 2.688 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002025/1.072, allocations: 0.8219 MB / 0.7464 GB, free: 1.848 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.494e-05/1.072, allocations: 0.875 kB / 0.7464 GB, free: 1.848 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.471e-05/1.072, allocations: 35.94 kB / 0.7464 GB, free: 1.812 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.566e-05/1.072, allocations: 16 kB / 0.7464 GB, free: 1.797 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00169/1.074, allocations: 0.6558 MB / 0.7471 GB, free: 1.145 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.005936/1.08, allocations: 3.217 MB / 0.7502 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001628/1.082, allocations: 0.5977 MB / 0.7508 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008009/1.083, allocations: 346.4 kB / 0.7511 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0011/1.084, allocations: 0.8991 MB / 0.752 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.002e-05/1.084, allocations: 39.12 kB / 0.752 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=58): time 3.727e-06/1.084, allocations: 0 / 0.752 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58): time 0.005334/1.089, allocations: 1.682 MB / 0.7537 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.795e-05/1.089, allocations: 59.95 kB / 0.7537 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/1.09, allocations: 0.6771 MB / 0.7544 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.567e-05/1.09, allocations: 41.64 kB / 0.7544 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004375/1.091, allocations: 456 kB / 0.7549 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002222/1.091, allocations: 205.1 kB / 0.7551 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002467/1.091, allocations: 106.2 kB / 0.7552 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002178/1.092, allocations: 326 kB / 0.7555 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006729/1.092, allocations: 261.6 kB / 0.7557 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007159/1.093, allocations: 312.6 kB / 0.756 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001407/1.094, allocations: 0.5328 MB / 0.7565 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.381e-06/1.094, allocations: 8 kB / 0.7565 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.003172/1.098, allocations: 1.035 MB / 0.7576 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/1.098, allocations: 4 kB / 0.7576 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/1.098, allocations: 5.188 kB / 0.7576 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009665/1.099, allocations: 230.3 kB / 0.7578 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007984/1.099, allocations: 155.8 kB / 0.7579 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007603/1.107, allocations: 5.087 MB / 0.7629 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009068/1.108, allocations: 83.28 kB / 0.763 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/1.108, allocations: 35.98 kB / 0.763 GB, free: 15.71 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (58): * Single equations (assignments): 55 * 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.0005644/1.109, allocations: 209.6 kB / 0.7632 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001941/1.109, allocations: 82.88 kB / 0.7633 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003895/1.113, allocations: 1.396 MB / 0.7647 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/1.113, allocations: 15.94 kB / 0.7647 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/1.113, allocations: 4 kB / 0.7647 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/1.113, allocations: 7.969 kB / 0.7647 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004735/1.118, allocations: 2.075 MB / 0.7667 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/1.118, allocations: 0 / 0.7667 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007548/1.118, allocations: 140 kB / 0.7668 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008322/1.119, allocations: 230.3 kB / 0.7671 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.626e-05/1.119, allocations: 27.92 kB / 0.7671 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007018/1.126, allocations: 5.106 MB / 0.7721 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.126, allocations: 0 / 0.7721 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003876/1.13, allocations: 1.404 MB / 0.7734 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004524/1.131, allocations: 219.8 kB / 0.7737 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/1.131, allocations: 15.94 kB / 0.7737 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005019/1.131, allocations: 43.91 kB / 0.7737 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001753/1.132, allocations: 52.36 kB / 0.7738 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.425e-05/1.132, allocations: 31.98 kB / 0.7738 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007773/1.132, allocations: 495 kB / 0.7743 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.3e-07/1.132, allocations: 0 / 0.7743 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001303/1.134, allocations: 395.3 kB / 0.7746 GB, free: 3.188 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,flowResistanceB.inlet.m_flow,flowResistanceA.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 (50): * Single equations (assignments): 47 * 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.005156/1.139, allocations: 2.373 MB / 0.777 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002893/1.142, allocations: 1.092 MB / 0.778 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/1.142, allocations: 128 / 0.778 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001744/1.144, allocations: 0.7914 MB / 0.7788 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/1.145, allocations: 213 kB / 0.779 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01584/1.161, allocations: 7.519 MB / 0.7863 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008618/1.162, allocations: 0.9971 MB / 0.7873 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001377/1.163, allocations: 450.1 kB / 0.7877 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007368/1.164, allocations: 419.2 kB / 0.7881 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of SimCode: time 1.022e-06/1.164, allocations: 0 / 0.7881 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08135/1.245, allocations: 25.41 MB / 0.813 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/13.76, allocations: 9.672 kB / 0.813 GB, free: 11.83 MB / 0.6231 GB (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_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_CounterFlowNTU_zeroMassFlow.fmu > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches