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.005403/0.005403, allocations: 100.3 kB / 15.87 MB, free: 5.867 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.00133/0.00133, allocations: 192.7 kB / 16.79 MB, free: 5.809 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.311/1.311, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6279/0.6279, allocations: 89.5 MB / 380.1 MB, free: 11.24 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 76.25 kB / 458.2 MB, free: 23.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1144, allocations: 67.31 MB / 0.5132 GB, free: 12.9 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.4616/0.5761, allocations: 233.4 MB / 0.7412 GB, free: 9.656 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0232/0.5993, allocations: 22.39 MB / 0.763 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001152/0.6005, allocations: 27.88 kB / 0.7631 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001812/0.6024, allocations: 0.6839 MB / 0.7637 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004295/0.6067, allocations: 1.754 MB / 0.7655 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004633/0.6113, allocations: 1.897 MB / 0.7673 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002342/0.6137, allocations: 2.275 MB / 0.7695 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004836/0.6142, allocations: 369.4 kB / 0.7699 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002036/0.6162, allocations: 1.257 MB / 0.7711 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007193/0.617, allocations: 0.7738 MB / 0.7719 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001566/0.6171, allocations: 92 kB / 0.772 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007562/0.6247, allocations: 4.27 MB / 0.7761 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002792/0.625, allocations: 282.8 kB / 0.7764 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007452/0.6257, allocations: 0.7266 MB / 0.7771 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0028/0.6286, allocations: 2.023 MB / 0.7791 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.6286, allocations: 0 / 0.7791 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.72e-07/0.6286, allocations: 0 / 0.7791 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.375e-05/0.6286, allocations: 0 / 0.7791 GB, free: 2.711 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.003978/0.6326, allocations: 2.12 MB / 0.7811 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.6326, allocations: 12.03 kB / 0.7812 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003017/0.6356, allocations: 385.8 kB / 0.7815 GB, free: 148 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/0.6368, allocations: 0.7616 MB / 0.7823 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003548/0.6372, allocations: 352.1 kB / 0.7826 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002066/0.6374, allocations: 135.9 kB / 0.7827 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002822/0.6402, allocations: 1.454 MB / 0.7842 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/0.6403, allocations: 3.938 kB / 0.7842 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/0.6404, allocations: 56 kB / 0.7842 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.936e-05/0.6404, allocations: 28 kB / 0.7842 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00262/0.6431, allocations: 1.184 MB / 0.7854 GB, free: 12.03 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.006821/0.6499, allocations: 5.41 MB / 0.7907 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002865/0.6528, allocations: 1.31 MB / 0.792 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0014/0.6542, allocations: 0.7105 MB / 0.7927 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001099/0.6553, allocations: 1.786 MB / 0.7944 GB, free: 1.973 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.6553, allocations: 47.56 kB / 0.7944 GB, free: 1.914 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=113): time 2.996e-06/0.6553, allocations: 0 / 0.7944 GB, free: 1.914 MB / 0.5919 GB Notification: Performance of matching and sorting (n=113): time 0.008634/0.664, allocations: 3.02 MB / 0.7974 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.6641, allocations: 64.41 kB / 0.7975 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008605/0.6649, allocations: 0.6964 MB / 0.7981 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001119/0.665, allocations: 45.7 kB / 0.7982 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003446/0.6654, allocations: 0.5196 MB / 0.7987 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003179/0.6657, allocations: 394.2 kB / 0.7991 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003413/0.6661, allocations: 202.9 kB / 0.7993 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.6662, allocations: 349.9 kB / 0.7996 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00113/0.6673, allocations: 0.4905 MB / 0.8001 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001223/0.6686, allocations: 0.5762 MB / 0.8006 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002315/0.6709, allocations: 1.062 MB / 0.8017 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.6709, allocations: 0 / 0.8017 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005093/0.676, allocations: 1.885 MB / 0.8035 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.6761, allocations: 8 kB / 0.8035 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.6761, allocations: 0 / 0.8035 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001258/0.6773, allocations: 419 kB / 0.8039 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001459/0.6788, allocations: 299.6 kB / 0.8042 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008678/0.6875, allocations: 6.9 MB / 0.8109 GB, free: 268 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/0.6886, allocations: 147 kB / 0.8111 GB, free: 120 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001411/0.6887, allocations: 75.97 kB / 0.8111 GB, free: 44 kB / 0.6075 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.0005154/0.6892, allocations: 249.5 kB / 0.8114 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002177/0.6895, allocations: 106.7 kB / 0.8115 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006574/0.696, allocations: 2.703 MB / 0.8141 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.6961, allocations: 12 kB / 0.8141 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.6961, allocations: 11.98 kB / 0.8142 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/0.6961, allocations: 7.969 kB / 0.8142 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007341/0.7034, allocations: 3.519 MB / 0.8176 GB, free: 9.312 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/0.7035, allocations: 8.062 kB / 0.8176 GB, free: 9.305 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001556/0.705, allocations: 291.8 kB / 0.8179 GB, free: 9.02 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001217/0.7063, allocations: 414.9 kB / 0.8183 GB, free: 8.602 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/0.7064, allocations: 51.95 kB / 0.8183 GB, free: 8.551 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008472/0.7149, allocations: 6.902 MB / 0.8251 GB, free: 1.117 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.7149, allocations: 11.91 kB / 0.8251 GB, free: 1.105 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2088/0.9238, allocations: 2.558 MB / 0.8276 GB, free: 243.5 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005038/0.9243, allocations: 292.6 kB / 0.8279 GB, free: 243.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001713/0.9245, allocations: 25.44 kB / 0.8279 GB, free: 243.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008856/0.9254, allocations: 94.33 kB / 0.828 GB, free: 243.4 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000235/0.9256, allocations: 102.1 kB / 0.8281 GB, free: 243.4 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001363/0.9258, allocations: 69.39 kB / 0.8281 GB, free: 243.4 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006143/0.9264, allocations: 494.4 kB / 0.8286 GB, free: 243.3 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9264, allocations: 0 / 0.8286 GB, free: 243.3 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001528/0.9279, allocations: 0.5948 MB / 0.8292 GB, free: 243.3 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.001212/0.9291, allocations: 0.6881 MB / 0.8299 GB, free: 243.2 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00398/0.9331, allocations: 1.888 MB / 0.8317 GB, free: 242.8 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.9332, allocations: 1.781 kB / 0.8317 GB, free: 242.8 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002432/0.9356, allocations: 1.373 MB / 0.833 GB, free: 242.2 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/0.9369, allocations: 266.2 kB / 0.8333 GB, free: 242.1 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004336/0.9412, allocations: 3.4 MB / 0.8366 GB, free: 240.3 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00048/0.9417, allocations: 1.121 MB / 0.8377 GB, free: 239.6 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008806/0.9426, allocations: 221.7 kB / 0.8379 GB, free: 239.5 MB / 0.6231 GB Notification: Performance of SimCode: time 5.71e-07/0.9426, allocations: 0 / 0.8379 GB, free: 239.5 MB / 0.6231 GB Notification: Performance of Templates: time 0.03668/0.9793, allocations: 41.73 MB / 0.8787 GB, free: 214.4 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches