Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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_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_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.001096/0.001096, 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.001083/0.001083, allocations: 191.6 kB / 16.14 MB, free: 6.711 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.382/1.382, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7003/0.7003, allocations: 91.21 MB / 381.2 MB, free: 9.578 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 78.62 kB / 459.6 MB, free: 23.39 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1346, allocations: 67.7 MB / 0.515 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.4779/0.6125, allocations: 200.5 MB / 0.7108 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01722/0.6297, allocations: 15 MB / 0.7254 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001234/0.631, allocations: 51.62 kB / 0.7255 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001541/0.6326, allocations: 465.5 kB / 0.7259 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003469/0.6361, allocations: 1.159 MB / 0.7271 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003422/0.6395, allocations: 1.224 MB / 0.7283 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00205/0.6416, allocations: 1.488 MB / 0.7297 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005134/0.6421, allocations: 242.2 kB / 0.7299 GB, free: 3.754 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002163/0.6443, allocations: 1.051 MB / 0.731 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008094/0.6451, allocations: 0.4975 MB / 0.7315 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002036/0.6453, allocations: 52 kB / 0.7315 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005137/0.6505, allocations: 2.589 MB / 0.734 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002466/0.6507, allocations: 183.1 kB / 0.7342 GB, free: 15.37 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006193/0.6514, allocations: 493.2 kB / 0.7347 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003462/0.6548, allocations: 1.78 MB / 0.7364 GB, free: 13.1 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.6549, allocations: 0 / 0.7364 GB, free: 13.1 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.092e-06/0.6549, allocations: 0 / 0.7364 GB, free: 13.1 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.821e-05/0.6549, allocations: 0 / 0.7364 GB, free: 13.1 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.003375/0.6583, allocations: 1.527 MB / 0.7379 GB, free: 11.52 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.6584, allocations: 8.031 kB / 0.7379 GB, free: 11.51 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001816/0.6602, allocations: 234.9 kB / 0.7381 GB, free: 11.28 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001374/0.6616, allocations: 0.7126 MB / 0.7388 GB, free: 10.53 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002484/0.6618, allocations: 180.8 kB / 0.739 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001876/0.662, allocations: 79.89 kB / 0.7391 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001888/0.6639, allocations: 0.818 MB / 0.7399 GB, free: 9.414 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.664, allocations: 3.938 kB / 0.7399 GB, free: 9.41 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.778e-05/0.664, allocations: 32 kB / 0.7399 GB, free: 9.379 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.672e-05/0.6641, allocations: 19.98 kB / 0.7399 GB, free: 9.359 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001519/0.6656, allocations: 0.648 MB / 0.7406 GB, free: 8.711 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.004865/0.6705, allocations: 3.225 MB / 0.7437 GB, free: 5.199 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/0.6719, allocations: 0.5927 MB / 0.7443 GB, free: 4.598 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006985/0.6726, allocations: 350.4 kB / 0.7446 GB, free: 4.254 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007213/0.6733, allocations: 0.8991 MB / 0.7455 GB, free: 3.152 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.6734, allocations: 35.12 kB / 0.7455 GB, free: 3.109 MB / 0.545 GB Notification: Performance of pre-optimization done (n=59): time 2.986e-06/0.6734, allocations: 0 / 0.7455 GB, free: 3.109 MB / 0.545 GB Notification: Performance of matching and sorting (n=59): time 0.004952/0.6783, allocations: 1.682 MB / 0.7472 GB, free: 1.355 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.6784, allocations: 59.97 kB / 0.7472 GB, free: 1.285 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007961/0.6792, allocations: 0.6533 MB / 0.7479 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.104e-05/0.6793, allocations: 37.7 kB / 0.7479 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003297/0.6796, allocations: 428.2 kB / 0.7483 GB, free: 156 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001869/0.6798, allocations: 201 kB / 0.7485 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000211/0.68, allocations: 110.2 kB / 0.7486 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.6802, allocations: 326 kB / 0.7489 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00067/0.6809, allocations: 256.9 kB / 0.7492 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006374/0.6815, allocations: 260.9 kB / 0.7494 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/0.6828, allocations: 0.5272 MB / 0.7499 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.6828, allocations: 0 / 0.7499 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002899/0.6857, allocations: 1.015 MB / 0.7509 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.6857, allocations: 4 kB / 0.7509 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.6858, allocations: 4 kB / 0.7509 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008835/0.6866, allocations: 234.3 kB / 0.7512 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007989/0.6875, allocations: 143.8 kB / 0.7513 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005773/0.6932, allocations: 4.737 MB / 0.7559 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007259/0.6941, allocations: 79.53 kB / 0.756 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.6942, allocations: 35.98 kB / 0.756 GB, free: 7.805 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.0004003/0.6946, allocations: 205.6 kB / 0.7562 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002068/0.6948, allocations: 86.97 kB / 0.7563 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003723/0.6986, allocations: 1.417 MB / 0.7577 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/0.6986, allocations: 8 kB / 0.7577 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.6986, allocations: 0 / 0.7577 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.6986, allocations: 11.92 kB / 0.7577 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004495/0.7031, allocations: 2.086 MB / 0.7598 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/0.7031, allocations: 7.938 kB / 0.7598 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007931/0.7039, allocations: 131.8 kB / 0.7599 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007305/0.7047, allocations: 234.4 kB / 0.7601 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.992e-05/0.7048, allocations: 31.98 kB / 0.7601 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005366/0.7102, allocations: 4.735 MB / 0.7648 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.7102, allocations: 0 / 0.7648 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003527/0.7137, allocations: 1.409 MB / 0.7661 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004082/0.7141, allocations: 215.8 kB / 0.7664 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001599/0.7143, allocations: 12 kB / 0.7664 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006115/0.7149, allocations: 52.05 kB / 0.7664 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/0.7151, allocations: 64.41 kB / 0.7665 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.01e-05/0.7152, allocations: 35.98 kB / 0.7665 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006435/0.7158, allocations: 471 kB / 0.767 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.996e-06/0.7159, allocations: 3.938 kB / 0.767 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001251/0.7171, allocations: 375.2 kB / 0.7673 GB, free: 11.65 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.001174/0.7183, allocations: 493.6 kB / 0.7678 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002576/0.7209, allocations: 1.066 MB / 0.7688 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.7209, allocations: 0 / 0.7688 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001688/0.7226, allocations: 0.8 MB / 0.7696 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/0.7239, allocations: 187 kB / 0.7698 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004167/0.728, allocations: 2.169 MB / 0.7719 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007665/0.7288, allocations: 0.9931 MB / 0.7729 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001268/0.7301, allocations: 448.2 kB / 0.7733 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003995/0.7305, allocations: 111.4 kB / 0.7734 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of SimCode: time 1.172e-06/0.7305, allocations: 0 / 0.7734 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of Templates: time 0.02791/0.7584, allocations: 15.38 MB / 0.7884 GB, free: 6.008 MB / 0.5919 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.makefile (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches