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.0009124/0.0009124, allocations: 98.88 kB / 16.02 MB, free: 76 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.000968/0.000968, allocations: 183.3 kB / 16.92 MB, free: 6.773 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.319/1.319, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6118/0.6118, allocations: 89.64 MB / 381.7 MB, free: 11.37 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.0003509, allocations: 13.75 kB / 461.3 MB, free: 24.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1117, allocations: 68.83 MB / 0.5177 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.4298/0.5415, allocations: 197.3 MB / 0.7103 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01702/0.5586, allocations: 14.88 MB / 0.7249 GB, free: 7.402 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000818/0.5595, allocations: 19.81 kB / 0.7249 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001332/0.5608, allocations: 457.6 kB / 0.7253 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003171/0.564, allocations: 1.112 MB / 0.7264 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003437/0.5674, allocations: 1.279 MB / 0.7277 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001714/0.5692, allocations: 1.363 MB / 0.729 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004027/0.5696, allocations: 237.1 kB / 0.7292 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001853/0.5714, allocations: 0.9576 MB / 0.7302 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005784/0.572, allocations: 441.8 kB / 0.7306 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.5722, allocations: 36 kB / 0.7306 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005025/0.5772, allocations: 2.671 MB / 0.7332 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001745/0.5774, allocations: 151.2 kB / 0.7334 GB, free: 14.67 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005197/0.5779, allocations: 447.3 kB / 0.7338 GB, free: 14.22 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002144/0.5801, allocations: 1.286 MB / 0.7351 GB, free: 12.93 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.5801, allocations: 0 / 0.7351 GB, free: 12.93 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5801, allocations: 0 / 0.7351 GB, free: 12.93 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.292e-05/0.5801, allocations: 4 kB / 0.7351 GB, free: 12.93 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.002669/0.5828, allocations: 1.248 MB / 0.7363 GB, free: 11.63 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.5828, allocations: 12.03 kB / 0.7363 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00177/0.5846, allocations: 226.6 kB / 0.7365 GB, free: 11.39 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008117/0.5855, allocations: 0.5215 MB / 0.737 GB, free: 10.83 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002302/0.5857, allocations: 192.7 kB / 0.7372 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/0.5858, allocations: 75.91 kB / 0.7373 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001733/0.5876, allocations: 0.8571 MB / 0.7381 GB, free: 9.672 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.5876, allocations: 0 / 0.7381 GB, free: 9.672 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.593e-05/0.5877, allocations: 28 kB / 0.7381 GB, free: 9.645 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.779e-05/0.5877, allocations: 20 kB / 0.7381 GB, free: 9.625 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001595/0.5893, allocations: 0.687 MB / 0.7388 GB, free: 8.941 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.004276/0.5936, allocations: 3.167 MB / 0.7419 GB, free: 5.492 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001448/0.5951, allocations: 0.6376 MB / 0.7425 GB, free: 4.852 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007745/0.5959, allocations: 370.4 kB / 0.7429 GB, free: 4.488 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005884/0.5965, allocations: 0.8991 MB / 0.7438 GB, free: 3.387 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.5965, allocations: 43.12 kB / 0.7438 GB, free: 3.332 MB / 0.545 GB Notification: Performance of pre-optimization done (n=58): time 2.284e-06/0.5965, allocations: 0 / 0.7438 GB, free: 3.332 MB / 0.545 GB Notification: Performance of matching and sorting (n=58): time 0.00523/0.6017, allocations: 1.882 MB / 0.7456 GB, free: 1.379 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.6018, allocations: 55.97 kB / 0.7457 GB, free: 1.312 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006433/0.6024, allocations: 0.5226 MB / 0.7462 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.312e-05/0.6025, allocations: 33.7 kB / 0.7462 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002337/0.6027, allocations: 364.2 kB / 0.7466 GB, free: 392 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001591/0.6029, allocations: 201 kB / 0.7468 GB, free: 188 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.317e-05/0.603, allocations: 53.69 kB / 0.7468 GB, free: 128 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.6032, allocations: 370.8 kB / 0.7472 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006993/0.6039, allocations: 285 kB / 0.7475 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007151/0.6046, allocations: 336.5 kB / 0.7478 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001389/0.606, allocations: 0.5953 MB / 0.7484 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.606, allocations: 3.984 kB / 0.7484 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.003054/0.6091, allocations: 1.133 MB / 0.7495 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.6091, allocations: 8 kB / 0.7495 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.6091, allocations: 0 / 0.7495 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008832/0.61, allocations: 270.3 kB / 0.7497 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007726/0.6108, allocations: 147.8 kB / 0.7499 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005826/0.6166, allocations: 4.919 MB / 0.7547 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006835/0.6173, allocations: 95.44 kB / 0.7548 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.95e-05/0.6175, allocations: 39.98 kB / 0.7548 GB, free: 7.508 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.0003312/0.6178, allocations: 201.6 kB / 0.755 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/0.618, allocations: 63.25 kB / 0.7551 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00393/0.6219, allocations: 1.505 MB / 0.7565 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.6219, allocations: 12 kB / 0.7565 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.6219, allocations: 3.984 kB / 0.7565 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.6219, allocations: 0 / 0.7565 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004569/0.6265, allocations: 2.157 MB / 0.7587 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.6265, allocations: 3.938 kB / 0.7587 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007577/0.6273, allocations: 143.9 kB / 0.7588 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008145/0.6281, allocations: 274.3 kB / 0.7591 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.947e-05/0.6282, allocations: 23.98 kB / 0.7591 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005656/0.6339, allocations: 4.915 MB / 0.7639 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.6339, allocations: 3.938 kB / 0.7639 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003644/0.6375, allocations: 1.526 MB / 0.7654 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003452/0.6379, allocations: 204 kB / 0.7656 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.638, allocations: 12 kB / 0.7656 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005679/0.6386, allocations: 59.95 kB / 0.7656 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.6388, allocations: 56.3 kB / 0.7657 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.49e-05/0.6388, allocations: 39.86 kB / 0.7657 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004762/0.6393, allocations: 382.8 kB / 0.7661 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6393, allocations: 0 / 0.7661 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001146/0.6405, allocations: 387.3 kB / 0.7665 GB, free: 10.97 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.001124/0.6416, allocations: 0.528 MB / 0.767 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002485/0.6441, allocations: 1.151 MB / 0.7681 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6441, allocations: 0 / 0.7681 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001661/0.6458, allocations: 0.858 MB / 0.7689 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.6469, allocations: 183.1 kB / 0.7691 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00322/0.6501, allocations: 2.124 MB / 0.7712 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004831/0.6506, allocations: 0.942 MB / 0.7721 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00045/0.6511, allocations: 115.4 kB / 0.7722 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of SimCode: time 5.11e-07/0.6511, allocations: 0 / 0.7722 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of Templates: time 0.02813/0.6792, allocations: 23.22 MB / 0.7949 GB, free: 13.75 MB / 0.6075 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches