Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.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_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, 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.001298/0.001298, allocations: 193.2 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.369/1.369, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.71/0.71, allocations: 91.19 MB / 381.2 MB, free: 9.586 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 77.28 kB / 459.6 MB, free: 23.29 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1253, allocations: 67.69 MB / 0.515 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.4857/0.6111, allocations: 200.5 MB / 0.7108 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02016/0.6313, allocations: 15.23 MB / 0.7257 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001364/0.6327, allocations: 43.69 kB / 0.7257 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00146/0.6342, allocations: 465.5 kB / 0.7261 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003769/0.638, allocations: 1.159 MB / 0.7273 GB, free: 6.418 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003839/0.6418, allocations: 1.271 MB / 0.7285 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002037/0.6439, allocations: 1.488 MB / 0.73 GB, free: 3.652 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003917/0.6443, allocations: 242.1 kB / 0.7302 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002283/0.6466, allocations: 1.059 MB / 0.7312 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005474/0.6471, allocations: 0.4897 MB / 0.7317 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.827e-05/0.6472, allocations: 52 kB / 0.7318 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00525/0.6525, allocations: 2.702 MB / 0.7344 GB, free: 15.09 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002482/0.6528, allocations: 183 kB / 0.7346 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005454/0.6533, allocations: 489.2 kB / 0.735 GB, free: 14.43 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003634/0.657, allocations: 1.858 MB / 0.7369 GB, free: 12.57 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.657, allocations: 4 kB / 0.7369 GB, free: 12.56 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.11e-07/0.657, allocations: 0 / 0.7369 GB, free: 12.56 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.207e-05/0.657, allocations: 0 / 0.7369 GB, free: 12.56 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.003027/0.6601, allocations: 1.546 MB / 0.7384 GB, free: 10.96 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.6601, allocations: 8.031 kB / 0.7384 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001731/0.6618, allocations: 242.9 kB / 0.7386 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.663, allocations: 0.701 MB / 0.7393 GB, free: 9.973 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002179/0.6632, allocations: 180.8 kB / 0.7395 GB, free: 9.77 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.6633, allocations: 83.84 kB / 0.7396 GB, free: 9.688 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001609/0.6649, allocations: 0.8257 MB / 0.7404 GB, free: 8.848 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.665, allocations: 0 / 0.7404 GB, free: 8.848 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.255e-05/0.665, allocations: 28 kB / 0.7404 GB, free: 8.82 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.578e-05/0.6651, allocations: 20 kB / 0.7404 GB, free: 8.801 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001465/0.6665, allocations: 0.6558 MB / 0.741 GB, free: 8.145 MB / 0.545 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.0043/0.6709, allocations: 3.201 MB / 0.7442 GB, free: 4.664 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001368/0.6722, allocations: 0.5914 MB / 0.7447 GB, free: 4.066 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007097/0.673, allocations: 354.4 kB / 0.7451 GB, free: 3.719 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006826/0.6737, allocations: 0.8991 MB / 0.746 GB, free: 2.617 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.6737, allocations: 35.12 kB / 0.746 GB, free: 2.574 MB / 0.545 GB Notification: Performance of pre-optimization done (n=58): time 3.857e-06/0.6737, allocations: 4 kB / 0.746 GB, free: 2.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=58): time 0.004869/0.6786, allocations: 1.686 MB / 0.7476 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.6787, allocations: 55.97 kB / 0.7477 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009432/0.6796, allocations: 0.6729 MB / 0.7484 GB, free: 64 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.194e-05/0.6797, allocations: 29.7 kB / 0.7484 GB, free: 28 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003721/0.6801, allocations: 436.2 kB / 0.7488 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001824/0.6803, allocations: 205 kB / 0.749 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002133/0.6805, allocations: 114.2 kB / 0.7491 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.6806, allocations: 330 kB / 0.7494 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006273/0.6812, allocations: 257 kB / 0.7497 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006798/0.6819, allocations: 308.6 kB / 0.75 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0013/0.6832, allocations: 0.5484 MB / 0.7505 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.6833, allocations: 0 / 0.7505 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002831/0.6861, allocations: 1.031 MB / 0.7515 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.6861, allocations: 8 kB / 0.7515 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.6861, allocations: 0 / 0.7515 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008172/0.687, allocations: 238.2 kB / 0.7517 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007533/0.6877, allocations: 147.8 kB / 0.7519 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00536/0.6931, allocations: 4.739 MB / 0.7565 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007147/0.6939, allocations: 79.48 kB / 0.7566 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.951e-05/0.694, allocations: 39.92 kB / 0.7566 GB, free: 7.125 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (58): * Single equations (assignments): 55 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003895/0.6944, allocations: 194.6 kB / 0.7568 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/0.6946, allocations: 90.88 kB / 0.7569 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003565/0.6982, allocations: 1.41 MB / 0.7583 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.6982, allocations: 7.938 kB / 0.7583 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.6982, allocations: 7.938 kB / 0.7583 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.6982, allocations: 3.984 kB / 0.7583 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004364/0.7026, allocations: 2.063 MB / 0.7603 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.7026, allocations: 4.156 kB / 0.7603 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007915/0.7034, allocations: 135.8 kB / 0.7604 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007465/0.7042, allocations: 230.3 kB / 0.7607 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.325e-05/0.7043, allocations: 19.98 kB / 0.7607 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005433/0.7097, allocations: 4.747 MB / 0.7653 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.7097, allocations: 0 / 0.7653 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003541/0.7133, allocations: 1.404 MB / 0.7667 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004049/0.7137, allocations: 207.9 kB / 0.7669 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/0.7138, allocations: 16 kB / 0.7669 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005452/0.7144, allocations: 51.88 kB / 0.7669 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001703/0.7146, allocations: 56.31 kB / 0.767 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.037e-05/0.7147, allocations: 35.92 kB / 0.767 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006645/0.7153, allocations: 483 kB / 0.7675 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7153, allocations: 0 / 0.7675 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001427/0.7168, allocations: 395.3 kB / 0.7679 GB, free: 11 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,flowResistanceB.inlet.m_flow,flowResistanceA.inlet.m_flow) * 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 (50): * Single equations (assignments): 47 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001249/0.718, allocations: 0.5116 MB / 0.7684 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002458/0.7205, allocations: 1.072 MB / 0.7694 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.7205, allocations: 0 / 0.7694 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001588/0.7221, allocations: 0.7955 MB / 0.7702 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/0.7234, allocations: 199.5 kB / 0.7704 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003536/0.7269, allocations: 2.165 MB / 0.7725 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005642/0.7275, allocations: 0.9854 MB / 0.7735 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001234/0.7287, allocations: 458.8 kB / 0.7739 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003872/0.7291, allocations: 107.4 kB / 0.774 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of SimCode: time 1.392e-06/0.7291, allocations: 0 / 0.774 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of Templates: time 0.02612/0.7553, allocations: 16.01 MB / 0.7896 GB, free: 4.688 MB / 0.5919 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.makefile (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches