Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.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,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU",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.001352/0.001352, allocations: 108 kB / 15.61 MB, free: 152 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.001412/0.001412, allocations: 194.5 kB / 16.53 MB, free: 6.664 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.481/1.481, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7603/0.7603, allocations: 93.71 MB / 384.1 MB, free: 7 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002383/0.002383, allocations: 85.14 kB / 463.5 MB, free: 21.96 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1305, allocations: 68.25 MB / 0.5193 GB, free: 6.945 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.5285/0.659, allocations: 214.4 MB / 0.7286 GB, free: 4.25 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02864/0.6877, allocations: 17.42 MB / 0.7456 GB, free: 2.762 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00125/0.689, allocations: 51.62 kB / 0.7457 GB, free: 2.711 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001729/0.6907, allocations: 0.6248 MB / 0.7463 GB, free: 2.082 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004928/0.6957, allocations: 1.745 MB / 0.748 GB, free: 336 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004543/0.7003, allocations: 1.662 MB / 0.7496 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002362/0.7027, allocations: 1.709 MB / 0.7513 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005097/0.7032, allocations: 298.9 kB / 0.7516 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002281/0.7055, allocations: 1.191 MB / 0.7528 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007629/0.7062, allocations: 0.6297 MB / 0.7534 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001592/0.7064, allocations: 100 kB / 0.7535 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007036/0.7135, allocations: 3.378 MB / 0.7568 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002875/0.7138, allocations: 246.9 kB / 0.757 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006811/0.7145, allocations: 0.6214 MB / 0.7576 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004191/0.7187, allocations: 2.341 MB / 0.7599 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.7187, allocations: 0 / 0.7599 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.634e-06/0.7187, allocations: 0 / 0.7599 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.363e-05/0.7187, allocations: 0 / 0.7599 GB, free: 4.125 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.003903/0.7226, allocations: 1.842 MB / 0.7617 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.7227, allocations: 8.031 kB / 0.7617 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000195/0.7229, allocations: 143.6 kB / 0.7618 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002044/0.7249, allocations: 291.4 kB / 0.7621 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001478/0.7264, allocations: 0.8465 MB / 0.7629 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002678/0.7267, allocations: 200.7 kB / 0.7631 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001849/0.7269, allocations: 95.98 kB / 0.7632 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002119/0.729, allocations: 1.009 MB / 0.7642 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.72e-05/0.7291, allocations: 3.984 kB / 0.7642 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.706e-05/0.7292, allocations: 36 kB / 0.7642 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.032e-05/0.7292, allocations: 24 kB / 0.7643 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001889/0.7311, allocations: 0.7885 MB / 0.765 GB, free: 14.7 MB / 0.5762 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.00596/0.7371, allocations: 4.147 MB / 0.7691 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002148/0.7392, allocations: 0.8628 MB / 0.7699 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009612/0.7402, allocations: 431.3 kB / 0.7703 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001169/0.7414, allocations: 1.299 MB / 0.7716 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.182e-05/0.7414, allocations: 52.08 kB / 0.7717 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 2.564e-06/0.7414, allocations: 0 / 0.7717 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.005871/0.7473, allocations: 1.931 MB / 0.7735 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.7474, allocations: 60.06 kB / 0.7736 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/0.7485, allocations: 0.8033 MB / 0.7744 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.031e-05/0.7486, allocations: 41.7 kB / 0.7744 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004437/0.7491, allocations: 0.5081 MB / 0.7749 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002664/0.7494, allocations: 283.8 kB / 0.7752 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002778/0.7496, allocations: 158.6 kB / 0.7753 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001863/0.7498, allocations: 333.9 kB / 0.7757 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007914/0.7506, allocations: 309.8 kB / 0.776 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008593/0.7515, allocations: 395.1 kB / 0.7763 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001716/0.7532, allocations: 0.6979 MB / 0.777 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.7532, allocations: 0 / 0.777 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003453/0.7567, allocations: 1.24 MB / 0.7782 GB, free: 348 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.7567, allocations: 4 kB / 0.7782 GB, free: 344 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.7568, allocations: 5.125 kB / 0.7782 GB, free: 340 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008994/0.7577, allocations: 254.4 kB / 0.7785 GB, free: 76 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.7587, allocations: 203.7 kB / 0.7787 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007243/0.7659, allocations: 5.232 MB / 0.7838 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007185/0.7667, allocations: 83.3 kB / 0.7839 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/0.7668, allocations: 55.97 kB / 0.7839 GB, free: 10.09 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (82): * Single equations (assignments): 79 * 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,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004936/0.7673, allocations: 235.2 kB / 0.7841 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002174/0.7676, allocations: 102.7 kB / 0.7842 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004878/0.7725, allocations: 1.83 MB / 0.786 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.7725, allocations: 8 kB / 0.786 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/0.7725, allocations: 4 kB / 0.786 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.659e-05/0.7725, allocations: 11.91 kB / 0.786 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00565/0.7782, allocations: 2.487 MB / 0.7885 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.7782, allocations: 0 / 0.7885 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/0.7793, allocations: 191.8 kB / 0.7887 GB, free: 5.105 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008888/0.7802, allocations: 258.3 kB / 0.7889 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.421e-05/0.7803, allocations: 35.97 kB / 0.7889 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007058/0.7873, allocations: 5.235 MB / 0.794 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.7873, allocations: 0 / 0.794 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004705/0.7921, allocations: 1.73 MB / 0.7957 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004751/0.7925, allocations: 255.5 kB / 0.796 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001615/0.7927, allocations: 20 kB / 0.796 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006195/0.7933, allocations: 39.95 kB / 0.796 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/0.7935, allocations: 68.56 kB / 0.7961 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/0.7936, allocations: 55.92 kB / 0.7962 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008579/0.7945, allocations: 0.5605 MB / 0.7967 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7945, allocations: 0 / 0.7967 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001448/0.796, allocations: 475.1 kB / 0.7972 GB, free: 11.89 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,mCV.inlet.m_flow,mCV.dp_int,mCV1.inlet.m_flow,mCV1.dp_int) * 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 (76): * Single equations (assignments): 73 * 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 {(1,4,100.0%), (1,4,100.0%), (3,1,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005992/0.802, allocations: 2.745 MB / 0.7998 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00342/0.8054, allocations: 1.283 MB / 0.8011 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.8054, allocations: 0 / 0.8011 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001925/0.8073, allocations: 0.902 MB / 0.802 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/0.8087, allocations: 262.6 kB / 0.8022 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01855/0.8272, allocations: 9.091 MB / 0.8111 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008676/0.8281, allocations: 1.08 MB / 0.8122 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001665/0.8298, allocations: 0.6343 MB / 0.8128 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009457/0.8308, allocations: 0.5226 MB / 0.8133 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of SimCode: time 5.91e-07/0.8308, allocations: 0 / 0.8133 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3221/1.153, allocations: 30.31 MB / 0.8429 GB, free: 234.7 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.58/14.73, allocations: 7.375 kB / 0.8429 GB, free: 234.7 MB / 0.6231 GB (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU.fmu > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches