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.001198/0.001198, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001264/0.001264, allocations: 192.6 kB / 16.14 MB, free: 6.719 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.26/1.26, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6419/0.6419, allocations: 89.51 MB / 379.5 MB, free: 11.28 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 79.3 kB / 457.7 MB, free: 23.88 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1035, allocations: 67.31 MB / 0.5127 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.4338/0.5373, allocations: 233.4 MB / 0.7406 GB, free: 9.672 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02186/0.5592, allocations: 22.4 MB / 0.7625 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001239/0.5605, allocations: 27.88 kB / 0.7625 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001782/0.5623, allocations: 0.6839 MB / 0.7632 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004184/0.5665, allocations: 1.758 MB / 0.7649 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004466/0.571, allocations: 1.89 MB / 0.7668 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002159/0.5732, allocations: 2.267 MB / 0.769 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004408/0.5736, allocations: 377.3 kB / 0.7693 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001809/0.5754, allocations: 1.257 MB / 0.7706 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006537/0.5761, allocations: 0.7699 MB / 0.7713 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001379/0.5762, allocations: 92 kB / 0.7714 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007229/0.5835, allocations: 4.281 MB / 0.7756 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002399/0.5837, allocations: 278.8 kB / 0.7759 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006322/0.5844, allocations: 0.7305 MB / 0.7766 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003728/0.5881, allocations: 2.758 MB / 0.7793 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.5881, allocations: 8 kB / 0.7793 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.92e-07/0.5881, allocations: 0 / 0.7793 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.492e-05/0.5882, allocations: 0 / 0.7793 GB, free: 1.969 MB / 0.5762 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.003646/0.5918, allocations: 2.125 MB / 0.7813 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.5919, allocations: 8.031 kB / 0.7814 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001905/0.5921, allocations: 185.9 kB / 0.7815 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002708/0.5948, allocations: 389.7 kB / 0.7819 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.5958, allocations: 0.7617 MB / 0.7826 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003047/0.5961, allocations: 344.1 kB / 0.783 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001755/0.5963, allocations: 135.9 kB / 0.7831 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002672/0.599, allocations: 1.454 MB / 0.7845 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.599, allocations: 0 / 0.7845 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/0.5991, allocations: 52 kB / 0.7846 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.167e-05/0.5992, allocations: 32 kB / 0.7846 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0024/0.6016, allocations: 1.184 MB / 0.7858 GB, free: 11.1 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.006294/0.6079, allocations: 5.41 MB / 0.791 GB, free: 5.262 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002748/0.6106, allocations: 1.31 MB / 0.7923 GB, free: 3.949 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001387/0.612, allocations: 0.7183 MB / 0.793 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001308/0.6134, allocations: 1.786 MB / 0.7948 GB, free: 1.039 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/0.6134, allocations: 47.56 kB / 0.7948 GB, free: 0.9805 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=113): time 2.545e-06/0.6134, allocations: 0 / 0.7948 GB, free: 0.9805 MB / 0.5919 GB Notification: Performance of matching and sorting (n=113): time 0.008164/0.6216, allocations: 3.02 MB / 0.7978 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.6217, allocations: 64.41 kB / 0.7978 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008501/0.6225, allocations: 0.7003 MB / 0.7985 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.535e-05/0.6226, allocations: 41.7 kB / 0.7985 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003218/0.6229, allocations: 0.5158 MB / 0.7991 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003039/0.6232, allocations: 390.2 kB / 0.7994 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003481/0.6236, allocations: 206.9 kB / 0.7996 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.6237, allocations: 345.9 kB / 0.8 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001072/0.6248, allocations: 0.4905 MB / 0.8004 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/0.626, allocations: 0.5801 MB / 0.801 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002271/0.6283, allocations: 1.058 MB / 0.802 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.6283, allocations: 0 / 0.802 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.004865/0.6332, allocations: 1.893 MB / 0.8039 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.6332, allocations: 8 kB / 0.8039 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.6332, allocations: 0 / 0.8039 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001217/0.6344, allocations: 411.1 kB / 0.8043 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001377/0.6358, allocations: 295.6 kB / 0.8046 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008338/0.6442, allocations: 6.907 MB / 0.8113 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009708/0.6452, allocations: 143 kB / 0.8114 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001353/0.6453, allocations: 79.97 kB / 0.8115 GB, free: 15.11 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.0004568/0.6458, allocations: 253.5 kB / 0.8118 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001981/0.646, allocations: 102.7 kB / 0.8119 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006201/0.6522, allocations: 2.702 MB / 0.8145 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/0.6522, allocations: 12 kB / 0.8145 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.6522, allocations: 11.94 kB / 0.8145 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.6522, allocations: 7.969 kB / 0.8145 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006808/0.6591, allocations: 3.511 MB / 0.818 GB, free: 8.395 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.6591, allocations: 0 / 0.818 GB, free: 8.395 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00143/0.6605, allocations: 299.8 kB / 0.8182 GB, free: 8.102 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001088/0.6616, allocations: 422.9 kB / 0.8186 GB, free: 7.676 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.764e-05/0.6617, allocations: 47.97 kB / 0.8187 GB, free: 7.629 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007832/0.6696, allocations: 6.906 MB / 0.8254 GB, free: 196 kB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.6696, allocations: 7.969 kB / 0.8254 GB, free: 188 kB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1846/0.8542, allocations: 2.565 MB / 0.8279 GB, free: 243.7 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004876/0.8547, allocations: 292.9 kB / 0.8282 GB, free: 243.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001584/0.8548, allocations: 22.62 kB / 0.8282 GB, free: 243.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008293/0.8557, allocations: 97.38 kB / 0.8283 GB, free: 243.6 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002279/0.8559, allocations: 102.8 kB / 0.8284 GB, free: 243.6 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001378/0.8561, allocations: 70.12 kB / 0.8285 GB, free: 243.6 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006038/0.8567, allocations: 494.7 kB / 0.829 GB, free: 243.5 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8567, allocations: 3.469 kB / 0.829 GB, free: 243.5 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001556/0.8582, allocations: 0.5934 MB / 0.8296 GB, free: 243.5 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.006489/0.8647, allocations: 3.702 MB / 0.8332 GB, free: 242.3 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003418/0.8682, allocations: 1.895 MB / 0.835 GB, free: 241.5 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.8682, allocations: 1.219 kB / 0.835 GB, free: 241.5 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002328/0.8705, allocations: 1.366 MB / 0.8364 GB, free: 240.8 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.8718, allocations: 278.3 kB / 0.8366 GB, free: 240.7 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01809/0.8898, allocations: 11.32 MB / 0.8477 GB, free: 235.1 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000559/0.8904, allocations: 1.122 MB / 0.8488 GB, free: 234.4 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001843/0.8923, allocations: 0.815 MB / 0.8496 GB, free: 234.2 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008022/0.8931, allocations: 0.5786 MB / 0.8501 GB, free: 233.8 MB / 0.6231 GB Notification: Performance of SimCode: time 5.91e-07/0.8931, allocations: 0 / 0.8501 GB, free: 233.8 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03999/0.9331, allocations: 34.53 MB / 0.8839 GB, free: 208.6 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001598/0.9333, allocations: 284.9 kB / 0.8841 GB, free: 208.2 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.615/3.548, allocations: 0 / 0.8841 GB, free: 208.2 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