Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_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.CrossFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow") translateModel(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001755/0.001755, allocations: 106.5 kB / 15.99 MB, free: 5.895 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.001967/0.001968, allocations: 195.3 kB / 16.91 MB, free: 5.746 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.426/1.426, allocations: 222.9 MB / 240.6 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7344/0.7344, allocations: 93.69 MB / 384.4 MB, free: 7.078 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.00232/0.00232, allocations: 89.02 kB / 463.5 MB, free: 22.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1338, allocations: 68.27 MB / 0.5194 GB, free: 7.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.4502/0.5841, allocations: 200 MB / 0.7147 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01862/0.6027, allocations: 14.86 MB / 0.7292 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00122/0.604, allocations: 51.62 kB / 0.7293 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001567/0.6056, allocations: 457.6 kB / 0.7297 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00353/0.6092, allocations: 1.21 MB / 0.7309 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003601/0.6128, allocations: 1.281 MB / 0.7321 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00208/0.6149, allocations: 1.386 MB / 0.7335 GB, free: 15.72 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004783/0.6154, allocations: 260.5 kB / 0.7337 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002388/0.6178, allocations: 1.117 MB / 0.7348 GB, free: 14.33 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006958/0.6185, allocations: 0.513 MB / 0.7353 GB, free: 13.82 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001236/0.6186, allocations: 80 kB / 0.7354 GB, free: 13.74 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005267/0.6239, allocations: 2.698 MB / 0.7381 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000314/0.6243, allocations: 203.1 kB / 0.7382 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006928/0.625, allocations: 0.5011 MB / 0.7387 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002614/0.6276, allocations: 1.368 MB / 0.7401 GB, free: 8.965 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.6276, allocations: 0 / 0.7401 GB, free: 8.965 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6276, allocations: 0 / 0.7401 GB, free: 8.965 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.67e-05/0.6276, allocations: 0 / 0.7401 GB, free: 8.965 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.00316/0.6308, allocations: 1.55 MB / 0.7416 GB, free: 7.363 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.6308, allocations: 8.031 kB / 0.7416 GB, free: 7.355 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001775/0.6326, allocations: 242.9 kB / 0.7418 GB, free: 7.117 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001306/0.634, allocations: 0.7164 MB / 0.7425 GB, free: 6.355 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002483/0.6342, allocations: 184.8 kB / 0.7427 GB, free: 6.152 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001422/0.6344, allocations: 72 kB / 0.7428 GB, free: 6.082 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001778/0.6362, allocations: 0.8219 MB / 0.7436 GB, free: 5.242 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.6362, allocations: 0 / 0.7436 GB, free: 5.242 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.794e-05/0.6363, allocations: 32 kB / 0.7436 GB, free: 5.211 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.696e-05/0.6363, allocations: 16 kB / 0.7436 GB, free: 5.195 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001524/0.6378, allocations: 0.648 MB / 0.7442 GB, free: 4.551 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.004775/0.6426, allocations: 3.244 MB / 0.7474 GB, free: 1.016 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001451/0.6441, allocations: 0.5927 MB / 0.748 GB, free: 424 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007367/0.6448, allocations: 350.4 kB / 0.7483 GB, free: 72 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008045/0.6457, allocations: 0.899 MB / 0.7492 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.6457, allocations: 39.12 kB / 0.7492 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=59): time 2.594e-06/0.6457, allocations: 7.938 kB / 0.7493 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=59): time 0.005154/0.6509, allocations: 1.682 MB / 0.7509 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.25e-05/0.651, allocations: 55.97 kB / 0.7509 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009327/0.6519, allocations: 0.6651 MB / 0.7516 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.233e-05/0.652, allocations: 37.7 kB / 0.7516 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003556/0.6523, allocations: 436.2 kB / 0.7521 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001976/0.6526, allocations: 197 kB / 0.7522 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000225/0.6528, allocations: 110.2 kB / 0.7523 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.653, allocations: 334 kB / 0.7527 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006587/0.6536, allocations: 252.9 kB / 0.7529 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006702/0.6543, allocations: 264.9 kB / 0.7532 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/0.6556, allocations: 0.5233 MB / 0.7537 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.6556, allocations: 4 kB / 0.7537 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002952/0.6586, allocations: 1.016 MB / 0.7547 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.6586, allocations: 4 kB / 0.7547 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.6586, allocations: 0 / 0.7547 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008444/0.6595, allocations: 226.4 kB / 0.7549 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008042/0.6603, allocations: 151.8 kB / 0.755 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006458/0.6668, allocations: 5.099 MB / 0.76 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007196/0.6675, allocations: 79.44 kB / 0.7601 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/0.6676, allocations: 35.98 kB / 0.7601 GB, free: 3.219 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (57): * Single equations (assignments): 54 * 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.0003959/0.6681, allocations: 213.6 kB / 0.7603 GB, free: 3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/0.6682, allocations: 78.97 kB / 0.7604 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003868/0.6721, allocations: 1.413 MB / 0.7618 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.6721, allocations: 8 kB / 0.7618 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.6721, allocations: 3.938 kB / 0.7618 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.6722, allocations: 3.984 kB / 0.7618 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004637/0.6768, allocations: 2.105 MB / 0.7638 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.6768, allocations: 0 / 0.7638 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008103/0.6776, allocations: 139.8 kB / 0.764 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007551/0.6784, allocations: 242.4 kB / 0.7642 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.541e-05/0.6785, allocations: 27.98 kB / 0.7642 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006391/0.6849, allocations: 5.104 MB / 0.7692 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.6849, allocations: 0.875 kB / 0.7692 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003711/0.6886, allocations: 1.417 MB / 0.7706 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004147/0.6891, allocations: 215.8 kB / 0.7708 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000153/0.6893, allocations: 19.84 kB / 0.7708 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005535/0.6898, allocations: 47.95 kB / 0.7709 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/0.69, allocations: 60.42 kB / 0.7709 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.868e-05/0.6901, allocations: 31.98 kB / 0.771 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006549/0.6907, allocations: 483 kB / 0.7714 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6907, allocations: 0 / 0.7714 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001162/0.6919, allocations: 367.3 kB / 0.7718 GB, free: 6.66 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (crossFlowNTU.h_out_A,crossFlowNTU.h_out_B,flowResistanceA.inlet.m_flow,flowResistanceB.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 (53): * Single equations (assignments): 50 * 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.00104/0.693, allocations: 0.5003 MB / 0.7723 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002678/0.6957, allocations: 1.081 MB / 0.7733 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.6957, allocations: 0 / 0.7733 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001707/0.6974, allocations: 0.8038 MB / 0.7741 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.6986, allocations: 204.5 kB / 0.7743 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003896/0.7025, allocations: 2.238 MB / 0.7765 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006974/0.7032, allocations: 0.9971 MB / 0.7775 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005382/0.7037, allocations: 135.3 kB / 0.7776 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of SimCode: time 6.02e-07/0.7037, allocations: 0 / 0.7776 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of Templates: time 0.03564/0.7394, allocations: 26.41 MB / 0.8034 GB, free: 6.188 MB / 0.6075 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.makefile (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.sim & ./ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches