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: translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|counterFlowNTU1.h_out_A|counterFlowNTU1.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|counterFlowNTU1.h_out_A|counterFlowNTU1.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial") 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.6 MB, free: 124 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.001407/0.001407, allocations: 195.6 kB / 16.54 MB, free: 6.668 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.389/1.389, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6631/0.6631, allocations: 91.19 MB / 381.6 MB, free: 9.387 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002566/0.002566, allocations: 74.05 kB / 460.3 MB, free: 23.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1188, allocations: 67.7 MB / 0.5156 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.4889/0.6077, allocations: 234.9 MB / 0.7451 GB, free: 4.465 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0251/0.6329, allocations: 22.27 MB / 0.7668 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001407/0.6343, allocations: 55.62 kB / 0.7669 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002032/0.6364, allocations: 0.7955 MB / 0.7676 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004993/0.6414, allocations: 2.013 MB / 0.7696 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005898/0.6473, allocations: 2.171 MB / 0.7717 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003299/0.6506, allocations: 2.17 MB / 0.7738 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006952/0.6514, allocations: 422.2 kB / 0.7742 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002806/0.6542, allocations: 1.366 MB / 0.7756 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001096/0.6553, allocations: 0.8319 MB / 0.7764 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002326/0.6555, allocations: 136 kB / 0.7765 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008448/0.664, allocations: 4.033 MB / 0.7805 GB, free: 80 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004455/0.6645, allocations: 334.6 kB / 0.7808 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001016/0.6655, allocations: 0.8159 MB / 0.7816 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006081/0.6716, allocations: 2.953 MB / 0.7845 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.6716, allocations: 4 kB / 0.7845 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6716, allocations: 0 / 0.7845 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.93e-05/0.6717, allocations: 0 / 0.7845 GB, free: 11.96 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.004705/0.6764, allocations: 2.292 MB / 0.7867 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.6764, allocations: 8.031 kB / 0.7867 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003152/0.6796, allocations: 417.4 kB / 0.7871 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00188/0.6815, allocations: 0.9886 MB / 0.7881 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003932/0.6819, allocations: 348.1 kB / 0.7884 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002479/0.6822, allocations: 131.9 kB / 0.7885 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00306/0.6852, allocations: 1.446 MB / 0.7899 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/0.6853, allocations: 3.938 kB / 0.7899 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001335/0.6854, allocations: 52 kB / 0.79 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.946e-05/0.6855, allocations: 38.19 kB / 0.79 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002828/0.6883, allocations: 1.188 MB / 0.7912 GB, free: 4.852 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.00852/0.6968, allocations: 5.484 MB / 0.7965 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003427/0.7003, allocations: 1.322 MB / 0.7978 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001632/0.7019, allocations: 0.7066 MB / 0.7985 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001533/0.7035, allocations: 1.79 MB / 0.8003 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.999e-05/0.7035, allocations: 47.5 kB / 0.8003 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=113): time 3.006e-06/0.7036, allocations: 0 / 0.8003 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of matching and sorting (n=113): time 0.009275/0.7128, allocations: 3.043 MB / 0.8033 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.643e-05/0.7129, allocations: 64.41 kB / 0.8033 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/0.7142, allocations: 0.8755 MB / 0.8042 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001515/0.7144, allocations: 45.7 kB / 0.8042 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004378/0.7148, allocations: 0.6103 MB / 0.8048 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004268/0.7153, allocations: 386.3 kB / 0.8052 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004148/0.7157, allocations: 210.8 kB / 0.8054 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.7158, allocations: 345.9 kB / 0.8057 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001212/0.717, allocations: 0.4905 MB / 0.8062 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0013/0.7184, allocations: 0.5801 MB / 0.8068 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002524/0.7209, allocations: 1.047 MB / 0.8078 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.7209, allocations: 11.92 kB / 0.8078 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005376/0.7263, allocations: 1.916 MB / 0.8097 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.7263, allocations: 4 kB / 0.8097 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.7264, allocations: 0 / 0.8097 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00138/0.7277, allocations: 413.9 kB / 0.8101 GB, free: 432 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/0.7293, allocations: 303.6 kB / 0.8104 GB, free: 128 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009597/0.7389, allocations: 7.423 MB / 0.8176 GB, free: 8.141 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/0.74, allocations: 131 kB / 0.8178 GB, free: 8.012 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001831/0.7402, allocations: 75.91 kB / 0.8178 GB, free: 7.938 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.0005802/0.7408, allocations: 277.5 kB / 0.8181 GB, free: 7.656 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003288/0.7411, allocations: 122.4 kB / 0.8182 GB, free: 7.535 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00691/0.748, allocations: 2.717 MB / 0.8209 GB, free: 4.793 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/0.7481, allocations: 12 kB / 0.8209 GB, free: 4.781 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.43e-05/0.7481, allocations: 4 kB / 0.8209 GB, free: 4.777 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.487e-05/0.7481, allocations: 7.922 kB / 0.8209 GB, free: 4.77 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007886/0.756, allocations: 3.588 MB / 0.8244 GB, free: 1.078 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.756, allocations: 0 / 0.8244 GB, free: 1.078 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001574/0.7576, allocations: 291.8 kB / 0.8247 GB, free: 0.793 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001273/0.7589, allocations: 426.8 kB / 0.8251 GB, free: 372 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001366/0.759, allocations: 55.91 kB / 0.8251 GB, free: 316 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2292/0.9882, allocations: 7.406 MB / 0.8324 GB, free: 237.6 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.9883, allocations: 6.781 kB / 0.8324 GB, free: 237.6 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006516/0.9948, allocations: 2.6 MB / 0.8349 GB, free: 236.7 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005054/0.9953, allocations: 310.8 kB / 0.8352 GB, free: 236.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001933/0.9955, allocations: 34 kB / 0.8352 GB, free: 236.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008574/0.9964, allocations: 80.23 kB / 0.8353 GB, free: 236.5 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002281/0.9966, allocations: 99.64 kB / 0.8354 GB, free: 236.5 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001243/0.9968, allocations: 65.38 kB / 0.8355 GB, free: 236.5 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000781/0.9975, allocations: 0.607 MB / 0.8361 GB, free: 236.2 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9976, allocations: 3.094 kB / 0.8361 GB, free: 236.2 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001818/0.9994, allocations: 0.5961 MB / 0.8366 GB, free: 236.1 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.001265/1.001, allocations: 0.6911 MB / 0.8373 GB, free: 236 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004694/1.005, allocations: 1.938 MB / 0.8392 GB, free: 235.1 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.005, allocations: 0 / 0.8392 GB, free: 235.1 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002735/1.008, allocations: 1.378 MB / 0.8406 GB, free: 234.4 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001554/1.01, allocations: 306.2 kB / 0.8409 GB, free: 234.3 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005253/1.015, allocations: 3.038 MB / 0.8438 GB, free: 232.9 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007896/1.016, allocations: 1.19 MB / 0.845 GB, free: 232.1 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002174/1.018, allocations: 0.8396 MB / 0.8458 GB, free: 232 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005926/1.019, allocations: 181.7 kB / 0.846 GB, free: 232 MB / 0.6231 GB Notification: Performance of SimCode: time 1.733e-06/1.019, allocations: 4 kB / 0.846 GB, free: 232 MB / 0.6231 GB Notification: Performance of Templates: time 0.03726/1.056, allocations: 25.06 MB / 0.8704 GB, free: 220.5 MB / 0.6231 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.makefile (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 & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches