Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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_dev_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_dev_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.001109/0.001109, 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.001202/0.001202, allocations: 196.9 kB / 16.14 MB, free: 6.715 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.368/1.368, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.725/0.725, allocations: 93.71 MB / 383.7 MB, free: 7.172 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 86.02 kB / 462.7 MB, free: 22.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1145, allocations: 68.26 MB / 0.5185 GB, free: 7.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.4575/0.5721, allocations: 200.5 MB / 0.7144 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01731/0.5894, allocations: 15.26 MB / 0.7293 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00127/0.5907, allocations: 55.62 kB / 0.7293 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001329/0.5921, allocations: 461.5 kB / 0.7298 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00312/0.5953, allocations: 1.171 MB / 0.7309 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003376/0.5987, allocations: 1.271 MB / 0.7322 GB, free: 396 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00176/0.6004, allocations: 1.53 MB / 0.7337 GB, free: 14.85 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000401/0.6008, allocations: 245.7 kB / 0.7339 GB, free: 14.6 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002128/0.603, allocations: 1.062 MB / 0.7349 GB, free: 13.53 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005197/0.6035, allocations: 0.5014 MB / 0.7354 GB, free: 13.03 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.6036, allocations: 56 kB / 0.7355 GB, free: 12.97 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005216/0.6089, allocations: 2.701 MB / 0.7381 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000332/0.6092, allocations: 183 kB / 0.7383 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006041/0.6098, allocations: 497 kB / 0.7388 GB, free: 9.602 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003539/0.6134, allocations: 1.874 MB / 0.7406 GB, free: 7.723 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.6134, allocations: 0 / 0.7406 GB, free: 7.723 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.02e-07/0.6134, allocations: 4 kB / 0.7406 GB, free: 7.719 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.143e-05/0.6134, allocations: 0 / 0.7406 GB, free: 7.719 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.00283/0.6163, allocations: 1.558 MB / 0.7421 GB, free: 6.105 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.6163, allocations: 12.03 kB / 0.7421 GB, free: 6.094 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001732/0.6181, allocations: 238.9 kB / 0.7424 GB, free: 5.859 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.6192, allocations: 0.7204 MB / 0.7431 GB, free: 5.098 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002382/0.6195, allocations: 184.8 kB / 0.7432 GB, free: 4.891 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.6196, allocations: 76 kB / 0.7433 GB, free: 4.816 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001663/0.6213, allocations: 0.8218 MB / 0.7441 GB, free: 3.98 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.6213, allocations: 7.969 kB / 0.7441 GB, free: 3.973 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.014e-05/0.6214, allocations: 36 kB / 0.7442 GB, free: 3.938 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.615e-05/0.6214, allocations: 16 kB / 0.7442 GB, free: 3.922 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001535/0.623, allocations: 0.6441 MB / 0.7448 GB, free: 3.277 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.004501/0.6275, allocations: 3.214 MB / 0.7479 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/0.6289, allocations: 0.5989 MB / 0.7485 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007325/0.6297, allocations: 350.4 kB / 0.7489 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007051/0.6304, allocations: 0.8991 MB / 0.7497 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.6305, allocations: 39.12 kB / 0.7498 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=58): time 2.905e-06/0.6305, allocations: 0 / 0.7498 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58): time 0.005115/0.6356, allocations: 1.678 MB / 0.7514 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.6357, allocations: 63.91 kB / 0.7515 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009295/0.6366, allocations: 0.681 MB / 0.7521 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.997e-05/0.6367, allocations: 45.64 kB / 0.7522 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003228/0.637, allocations: 448.1 kB / 0.7526 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001753/0.6372, allocations: 205 kB / 0.7528 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002027/0.6374, allocations: 110.2 kB / 0.7529 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.6375, allocations: 330 kB / 0.7532 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006594/0.6382, allocations: 253 kB / 0.7535 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007118/0.6389, allocations: 308.6 kB / 0.7538 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001306/0.6402, allocations: 0.5484 MB / 0.7543 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.6403, allocations: 0 / 0.7543 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002955/0.6432, allocations: 1.031 MB / 0.7553 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.6433, allocations: 11.94 kB / 0.7553 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.6433, allocations: 0 / 0.7553 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008396/0.6441, allocations: 230.3 kB / 0.7555 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008061/0.6449, allocations: 151.8 kB / 0.7557 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005852/0.6508, allocations: 4.739 MB / 0.7603 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000856/0.6517, allocations: 75.53 kB / 0.7604 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/0.6518, allocations: 39.92 kB / 0.7604 GB, free: 2.219 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.000434/0.6523, allocations: 205.7 kB / 0.7606 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001814/0.6524, allocations: 82.88 kB / 0.7607 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003762/0.6562, allocations: 1.404 MB / 0.7621 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.6562, allocations: 8 kB / 0.7621 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.6563, allocations: 4 kB / 0.7621 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.6563, allocations: 0 / 0.7621 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004636/0.6609, allocations: 2.09 MB / 0.7641 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.6609, allocations: 0 / 0.7641 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007887/0.6617, allocations: 132 kB / 0.7642 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007501/0.6625, allocations: 238.3 kB / 0.7645 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.029e-05/0.6626, allocations: 23.92 kB / 0.7645 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005533/0.6681, allocations: 4.736 MB / 0.7691 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.6682, allocations: 4 kB / 0.7691 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003964/0.6721, allocations: 1.404 MB / 0.7705 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003435/0.6725, allocations: 211.9 kB / 0.7707 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.6726, allocations: 15.94 kB / 0.7707 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005444/0.6732, allocations: 59.89 kB / 0.7708 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001654/0.6733, allocations: 52.62 kB / 0.7708 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.794e-05/0.6734, allocations: 35.98 kB / 0.7708 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007/0.6741, allocations: 495 kB / 0.7713 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6741, allocations: 0 / 0.7713 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001529/0.6757, allocations: 399.3 kB / 0.7717 GB, free: 6.059 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.001057/0.6767, allocations: 0.5159 MB / 0.7722 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002553/0.6793, allocations: 1.076 MB / 0.7733 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.6793, allocations: 4 kB / 0.7733 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001603/0.6809, allocations: 0.7876 MB / 0.774 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.6821, allocations: 203.5 kB / 0.7742 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003569/0.6857, allocations: 2.183 MB / 0.7764 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005781/0.6863, allocations: 0.9971 MB / 0.7773 GB, free: 168 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001187/0.6875, allocations: 445.9 kB / 0.7778 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003859/0.6879, allocations: 115.4 kB / 0.7779 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of SimCode: time 1.072e-06/0.6879, allocations: 0 / 0.7779 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of Templates: time 0.02768/0.7155, allocations: 16.06 MB / 0.7935 GB, free: 15.66 MB / 0.6075 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.makefile (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.sim & ./ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_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_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches