Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.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_serial,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial",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.001217/0.001217, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001248/0.001248, allocations: 185.8 kB / 16.25 MB, free: 6.637 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.231/1.231, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5851/0.5851, allocations: 91.18 MB / 381.3 MB, free: 9.535 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 78.97 kB / 459.9 MB, free: 23.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09956/0.101, allocations: 67.7 MB / 0.5152 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.4082/0.5092, allocations: 233.2 MB / 0.743 GB, free: 6.414 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02141/0.5307, allocations: 22.27 MB / 0.7647 GB, free: 76 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001373/0.5321, allocations: 71.5 kB / 0.7648 GB, free: 4 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001931/0.534, allocations: 0.6879 MB / 0.7655 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004376/0.5384, allocations: 1.843 MB / 0.7673 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00458/0.543, allocations: 1.998 MB / 0.7692 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002316/0.5454, allocations: 2.177 MB / 0.7713 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005631/0.5459, allocations: 417.6 kB / 0.7717 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002164/0.5481, allocations: 1.417 MB / 0.7731 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009251/0.5491, allocations: 0.8397 MB / 0.7739 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000217/0.5493, allocations: 132 kB / 0.7741 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006336/0.5556, allocations: 4.434 MB / 0.7784 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002845/0.5559, allocations: 346.5 kB / 0.7787 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007473/0.5567, allocations: 0.8198 MB / 0.7795 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004058/0.5607, allocations: 2.968 MB / 0.7824 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.5608, allocations: 4 kB / 0.7824 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.183e-06/0.5608, allocations: 0 / 0.7824 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.703e-05/0.5608, allocations: 0 / 0.7824 GB, free: 13.87 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: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.004104/0.5649, allocations: 2.292 MB / 0.7847 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.565, allocations: 12.03 kB / 0.7847 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001948/0.5652, allocations: 189.9 kB / 0.7849 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002828/0.568, allocations: 413.5 kB / 0.7853 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001479/0.5695, allocations: 0.9886 MB / 0.7862 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003257/0.5698, allocations: 344.1 kB / 0.7865 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001987/0.57, allocations: 131.9 kB / 0.7867 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002662/0.5727, allocations: 1.454 MB / 0.7881 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/0.5727, allocations: 0 / 0.7881 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/0.5729, allocations: 52 kB / 0.7881 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.314e-05/0.5729, allocations: 32 kB / 0.7882 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002408/0.5753, allocations: 1.181 MB / 0.7893 GB, free: 6.57 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.006241/0.5816, allocations: 5.468 MB / 0.7947 GB, free: 0.6758 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002705/0.5843, allocations: 1.322 MB / 0.796 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00137/0.5857, allocations: 0.7105 MB / 0.7966 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001013/0.5867, allocations: 1.794 MB / 0.7984 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.5867, allocations: 43.56 kB / 0.7984 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=113): time 2.315e-06/0.5867, allocations: 3.938 kB / 0.7984 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of matching and sorting (n=113): time 0.008063/0.5948, allocations: 3.043 MB / 0.8014 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.5949, allocations: 64.41 kB / 0.8015 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009287/0.5958, allocations: 0.8755 MB / 0.8023 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.904e-05/0.5959, allocations: 45.7 kB / 0.8024 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003671/0.5963, allocations: 0.6064 MB / 0.803 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002779/0.5965, allocations: 394.3 kB / 0.8033 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003434/0.5969, allocations: 206.8 kB / 0.8035 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.597, allocations: 341.9 kB / 0.8039 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001098/0.5981, allocations: 0.4944 MB / 0.8044 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001197/0.5993, allocations: 0.5801 MB / 0.8049 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002259/0.6016, allocations: 1.051 MB / 0.8059 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.6016, allocations: 10.73 kB / 0.806 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0048/0.6064, allocations: 1.92 MB / 0.8078 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.6065, allocations: 4 kB / 0.8078 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.6065, allocations: 4 kB / 0.8078 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001186/0.6077, allocations: 407.1 kB / 0.8082 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/0.6091, allocations: 307.5 kB / 0.8085 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00853/0.6176, allocations: 7.414 MB / 0.8158 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000949/0.6186, allocations: 147 kB / 0.8159 GB, free: 9.727 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/0.6187, allocations: 75.97 kB / 0.816 GB, free: 9.652 MB / 0.6231 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 (112): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,1,88.9%), (3,1,88.9%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000457/0.6192, allocations: 265.5 kB / 0.8162 GB, free: 9.383 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002349/0.6194, allocations: 122.4 kB / 0.8163 GB, free: 9.262 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006393/0.6258, allocations: 2.716 MB / 0.819 GB, free: 6.531 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.908e-06/0.6259, allocations: 12.38 kB / 0.819 GB, free: 6.52 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.6259, allocations: 8 kB / 0.819 GB, free: 6.512 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.6259, allocations: 7.922 kB / 0.819 GB, free: 6.504 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006994/0.6329, allocations: 3.592 MB / 0.8225 GB, free: 2.809 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.6329, allocations: 0 / 0.8225 GB, free: 2.809 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001506/0.6344, allocations: 295.8 kB / 0.8228 GB, free: 2.52 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001126/0.6356, allocations: 422.8 kB / 0.8232 GB, free: 2.094 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001098/0.6357, allocations: 55.91 kB / 0.8233 GB, free: 2.039 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1958/0.8315, allocations: 7.42 MB / 0.8305 GB, free: 237.9 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.8315, allocations: 1.594 kB / 0.8305 GB, free: 237.9 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00604/0.8376, allocations: 2.606 MB / 0.8331 GB, free: 237.5 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004378/0.838, allocations: 312.6 kB / 0.8334 GB, free: 237.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001614/0.8382, allocations: 30.27 kB / 0.8334 GB, free: 237.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008349/0.839, allocations: 92.41 kB / 0.8335 GB, free: 237.3 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001944/0.8392, allocations: 95.44 kB / 0.8336 GB, free: 237.3 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001196/0.8394, allocations: 71.91 kB / 0.8336 GB, free: 237.3 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006656/0.84, allocations: 0.6072 MB / 0.8342 GB, free: 237 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8401, allocations: 0 / 0.8342 GB, free: 237 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001436/0.8415, allocations: 0.5983 MB / 0.8348 GB, free: 236.9 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,counterFlowNTU1.h_out_A,counterFlowNTU1.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 (106): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,5,100.0%), (1,5,100.0%), (3,1,88.9%), (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.006417/0.8479, allocations: 3.737 MB / 0.8385 GB, free: 235.4 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004378/0.8523, allocations: 1.939 MB / 0.8404 GB, free: 234.5 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.8523, allocations: 0 / 0.8404 GB, free: 234.5 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002583/0.8549, allocations: 1.37 MB / 0.8417 GB, free: 233.8 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001673/0.8566, allocations: 317.7 kB / 0.842 GB, free: 233.7 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02096/0.8776, allocations: 12.4 MB / 0.8541 GB, free: 227.4 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005414/0.8782, allocations: 1.192 MB / 0.8553 GB, free: 226.6 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001941/0.8801, allocations: 0.8468 MB / 0.8561 GB, free: 226.5 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008748/0.881, allocations: 0.6621 MB / 0.8567 GB, free: 226 MB / 0.6231 GB Notification: Performance of SimCode: time 7.92e-07/0.881, allocations: 0 / 0.8567 GB, free: 226 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2282/1.109, allocations: 37.76 MB / 0.8936 GB, free: 195.9 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001529/1.109, allocations: 281.4 kB / 0.8939 GB, free: 195.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.09/4.199, allocations: 0 / 0.8939 GB, free: 195.5 MB / 0.6231 GB (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches