Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001671/0.001671, allocations: 113.3 kB / 15.99 MB, free: 6.348 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.001869/0.001869, allocations: 192.1 kB / 16.91 MB, free: 6.188 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.44/1.44, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7695/0.7695, allocations: 93.69 MB / 384.4 MB, free: 5.504 MB / 302.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.003656/0.003656, allocations: 83.88 kB / 463.6 MB, free: 6.504 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.2028, allocations: 68.27 MB / 0.5194 GB, free: 2.156 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.6921/0.8949, allocations: 212.6 MB / 0.7269 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.361/1.256, allocations: 17.41 MB / 0.7439 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001449/1.257, allocations: 61.31 kB / 0.744 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001533/1.259, allocations: 0.5403 MB / 0.7445 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00477/1.264, allocations: 1.591 MB / 0.7461 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003929/1.268, allocations: 1.537 MB / 0.7476 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002035/1.27, allocations: 1.717 MB / 0.7493 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005211/1.27, allocations: 298.9 kB / 0.7495 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00248/1.273, allocations: 1.236 MB / 0.7508 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006604/1.273, allocations: 0.6451 MB / 0.7514 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001357/1.274, allocations: 95.81 kB / 0.7515 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007095/1.281, allocations: 3.713 MB / 0.7551 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002647/1.281, allocations: 252.7 kB / 0.7553 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008116/1.282, allocations: 0.6269 MB / 0.756 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003353/1.285, allocations: 1.713 MB / 0.7576 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/1.285, allocations: 0 / 0.7576 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.914e-06/1.285, allocations: 1.781 kB / 0.7576 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.482e-05/1.285, allocations: 1.469 kB / 0.7576 GB, free: 1.254 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.004273/1.29, allocations: 1.849 MB / 0.7594 GB, free: 16.32 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/1.29, allocations: 10.83 kB / 0.7594 GB, free: 16.32 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002116/1.292, allocations: 296.2 kB / 0.7597 GB, free: 16.24 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001759/1.294, allocations: 0.8474 MB / 0.7606 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002766/1.294, allocations: 196.2 kB / 0.7607 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001845/1.294, allocations: 92.92 kB / 0.7608 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002176/1.296, allocations: 1.013 MB / 0.7618 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/1.296, allocations: 0.5625 kB / 0.7618 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.426e-05/1.296, allocations: 35.97 kB / 0.7619 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.698e-05/1.296, allocations: 21.91 kB / 0.7619 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001816/1.298, allocations: 0.7899 MB / 0.7626 GB, free: 15.64 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.006596/1.305, allocations: 4.132 MB / 0.7667 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002177/1.307, allocations: 0.8616 MB / 0.7675 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009024/1.308, allocations: 436.4 kB / 0.7679 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001177/1.309, allocations: 1.304 MB / 0.7692 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/1.309, allocations: 41.53 kB / 0.7693 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 2.665e-06/1.309, allocations: 0.5938 kB / 0.7693 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.005807/1.315, allocations: 1.939 MB / 0.7711 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.459e-05/1.315, allocations: 59.84 kB / 0.7712 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001282/1.316, allocations: 0.8016 MB / 0.772 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.151e-05/1.316, allocations: 38.39 kB / 0.772 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003677/1.317, allocations: 0.5159 MB / 0.7725 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002698/1.317, allocations: 276.2 kB / 0.7728 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003175/1.317, allocations: 151.1 kB / 0.7729 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001668/1.318, allocations: 340.2 kB / 0.7733 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007254/1.318, allocations: 315.4 kB / 0.7736 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007947/1.319, allocations: 391.9 kB / 0.7739 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001507/1.321, allocations: 0.6935 MB / 0.7746 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/1.321, allocations: 0 / 0.7746 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003447/1.324, allocations: 1.243 MB / 0.7758 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/1.324, allocations: 5.281 kB / 0.7758 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/1.324, allocations: 2.312 kB / 0.7758 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008772/1.325, allocations: 255.3 kB / 0.7761 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/1.326, allocations: 199.3 kB / 0.7763 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00634/1.332, allocations: 5.235 MB / 0.7814 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001094/1.334, allocations: 99.89 kB / 0.7815 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/1.334, allocations: 53.81 kB / 0.7815 GB, free: 6.078 MB / 0.5919 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 (82): * Single equations (assignments): 79 * 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,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005757/1.334, allocations: 227.2 kB / 0.7817 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002547/1.335, allocations: 102.9 kB / 0.7818 GB, free: 5.91 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003992/1.339, allocations: 1.826 MB / 0.7836 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/1.339, allocations: 9.469 kB / 0.7836 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/1.339, allocations: 6.469 kB / 0.7836 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/1.339, allocations: 9.375 kB / 0.7836 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005024/1.344, allocations: 2.484 MB / 0.7861 GB, free: 5.223 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.306e-05/1.344, allocations: 5.781 kB / 0.7861 GB, free: 5.219 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009841/1.345, allocations: 193.7 kB / 0.7863 GB, free: 5.219 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007821/1.345, allocations: 256 kB / 0.7865 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.846e-05/1.346, allocations: 32.05 kB / 0.7865 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006171/1.352, allocations: 5.235 MB / 0.7916 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/1.352, allocations: 11.08 kB / 0.7917 GB, free: 1.125 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003961/1.356, allocations: 1.721 MB / 0.7933 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006353/1.356, allocations: 259.7 kB / 0.7936 GB, free: 0.6484 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001645/1.357, allocations: 13.62 kB / 0.7936 GB, free: 0.6484 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006225/1.357, allocations: 56.23 kB / 0.7937 GB, free: 0.6445 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001887/1.357, allocations: 73.94 kB / 0.7937 GB, free: 0.6406 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.162e-05/1.358, allocations: 48.27 kB / 0.7938 GB, free: 0.6406 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000743/1.358, allocations: 0.5592 MB / 0.7943 GB, free: 0.5312 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6.91e-07/1.358, allocations: 0 / 0.7943 GB, free: 0.5312 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001583/1.36, allocations: 483.3 kB / 0.7948 GB, free: 468 kB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (counterFlowNTU.h_out_A,counterFlowNTU.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 (76): * Single equations (assignments): 73 * 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 {(1,4,100.0%), (1,4,100.0%), (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.001281/1.361, allocations: 0.5788 MB / 0.7953 GB, free: 276 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003062/1.364, allocations: 1.277 MB / 0.7966 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/1.364, allocations: 0 / 0.7966 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001631/1.366, allocations: 0.9028 MB / 0.7975 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/1.367, allocations: 267.7 kB / 0.7977 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004756/1.372, allocations: 2.843 MB / 0.8005 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007089/1.373, allocations: 1.077 MB / 0.8016 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007444/1.374, allocations: 183.3 kB / 0.8017 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of SimCode: time 1.333e-06/1.374, allocations: 2.562 kB / 0.8017 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of Templates: time 0.04693/1.421, allocations: 32.34 MB / 0.8333 GB, free: 4.398 MB / 0.6231 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.makefile (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.sim & ./ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches