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.001115/0.001115, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001145/0.001145, allocations: 192.2 kB / 16.14 MB, free: 6.645 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.353/1.353, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.707/0.707, allocations: 93.71 MB / 383.7 MB, free: 7.176 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 85.45 kB / 462.7 MB, free: 22.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1103, allocations: 68.26 MB / 0.5185 GB, free: 7.492 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.4571/0.5674, allocations: 200.5 MB / 0.7144 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01696/0.5844, allocations: 15.04 MB / 0.7291 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001488/0.586, allocations: 55.62 kB / 0.7291 GB, free: 3.754 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001822/0.5878, allocations: 461.5 kB / 0.7296 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003493/0.5914, allocations: 1.182 MB / 0.7307 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003404/0.5948, allocations: 1.224 MB / 0.7319 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001768/0.5966, allocations: 1.526 MB / 0.7334 GB, free: 15.36 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000408/0.597, allocations: 237.7 kB / 0.7336 GB, free: 15.11 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0023/0.5993, allocations: 1.062 MB / 0.7347 GB, free: 14.05 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005841/0.5999, allocations: 0.4936 MB / 0.7352 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.6, allocations: 56 kB / 0.7352 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005681/0.6057, allocations: 2.605 MB / 0.7377 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002746/0.606, allocations: 179.1 kB / 0.7379 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006423/0.6067, allocations: 497.1 kB / 0.7384 GB, free: 10.22 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004226/0.6109, allocations: 1.784 MB / 0.7401 GB, free: 8.434 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.307e-06/0.6109, allocations: 0 / 0.7401 GB, free: 8.434 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.062e-06/0.611, allocations: 3.938 kB / 0.7401 GB, free: 8.43 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.547e-05/0.611, allocations: 0 / 0.7401 GB, free: 8.43 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.003144/0.6141, allocations: 1.542 MB / 0.7416 GB, free: 6.832 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.6142, allocations: 16.03 kB / 0.7417 GB, free: 6.816 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001801/0.616, allocations: 242.9 kB / 0.7419 GB, free: 6.578 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001308/0.6173, allocations: 0.7242 MB / 0.7426 GB, free: 5.812 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002532/0.6176, allocations: 184.8 kB / 0.7428 GB, free: 5.605 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.6177, allocations: 72 kB / 0.7428 GB, free: 5.535 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/0.6194, allocations: 0.8179 MB / 0.7436 GB, free: 4.703 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.456e-05/0.6195, allocations: 3.984 kB / 0.7436 GB, free: 4.699 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.679e-05/0.6195, allocations: 36 kB / 0.7437 GB, free: 4.664 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.776e-05/0.6196, allocations: 16 kB / 0.7437 GB, free: 4.648 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001489/0.6211, allocations: 0.648 MB / 0.7443 GB, free: 4 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.004567/0.6256, allocations: 3.244 MB / 0.7475 GB, free: 476 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/0.627, allocations: 0.5849 MB / 0.7481 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007164/0.6278, allocations: 350.4 kB / 0.7484 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000682/0.6285, allocations: 0.903 MB / 0.7493 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.6285, allocations: 35.12 kB / 0.7493 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=59): time 2.665e-06/0.6285, allocations: 0 / 0.7493 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of matching and sorting (n=59): time 0.004974/0.6335, allocations: 1.682 MB / 0.751 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.6336, allocations: 63.91 kB / 0.751 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008476/0.6344, allocations: 0.669 MB / 0.7517 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.781e-05/0.6345, allocations: 33.7 kB / 0.7517 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003208/0.6348, allocations: 432.3 kB / 0.7521 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001792/0.635, allocations: 208.9 kB / 0.7523 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002168/0.6352, allocations: 110.2 kB / 0.7524 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.6354, allocations: 338 kB / 0.7527 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006492/0.636, allocations: 249 kB / 0.753 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006371/0.6367, allocations: 256.9 kB / 0.7532 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/0.638, allocations: 0.5273 MB / 0.7537 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.638, allocations: 0 / 0.7537 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002859/0.6408, allocations: 1.015 MB / 0.7547 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.6409, allocations: 11.98 kB / 0.7547 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.6409, allocations: 0 / 0.7547 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008183/0.6417, allocations: 230.3 kB / 0.755 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007761/0.6425, allocations: 143.8 kB / 0.7551 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005562/0.6481, allocations: 4.736 MB / 0.7597 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006953/0.6488, allocations: 75.53 kB / 0.7598 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.742e-05/0.6489, allocations: 39.98 kB / 0.7598 GB, free: 3.055 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.0003627/0.6493, allocations: 209.6 kB / 0.76 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/0.6494, allocations: 86.88 kB / 0.7601 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0038/0.6532, allocations: 1.411 MB / 0.7615 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.6533, allocations: 8 kB / 0.7615 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.6533, allocations: 0 / 0.7615 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.6533, allocations: 7.984 kB / 0.7615 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004501/0.6578, allocations: 2.101 MB / 0.7636 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.116e-06/0.6578, allocations: 3.938 kB / 0.7636 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008289/0.6587, allocations: 143.9 kB / 0.7637 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007627/0.6594, allocations: 234.2 kB / 0.7639 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-05/0.6595, allocations: 19.98 kB / 0.764 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005593/0.6651, allocations: 4.747 MB / 0.7686 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.6652, allocations: 4 kB / 0.7686 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003552/0.6687, allocations: 1.413 MB / 0.77 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000384/0.6691, allocations: 211.9 kB / 0.7702 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.6693, allocations: 16 kB / 0.7702 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005526/0.6698, allocations: 51.94 kB / 0.7702 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001816/0.67, allocations: 64.3 kB / 0.7703 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.52e-05/0.6701, allocations: 31.98 kB / 0.7703 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006477/0.6707, allocations: 483 kB / 0.7708 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6708, allocations: 4 kB / 0.7708 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001217/0.672, allocations: 371.2 kB / 0.7711 GB, free: 6.867 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.001022/0.673, allocations: 496.2 kB / 0.7716 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002458/0.6755, allocations: 1.066 MB / 0.7727 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.6755, allocations: 0 / 0.7727 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001656/0.6772, allocations: 0.8 MB / 0.7734 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.6783, allocations: 185.2 kB / 0.7736 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003557/0.6819, allocations: 2.207 MB / 0.7758 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005833/0.6825, allocations: 1.001 MB / 0.7768 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001168/0.6837, allocations: 449.3 kB / 0.7772 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003682/0.684, allocations: 119.3 kB / 0.7773 GB, free: 456 kB / 0.5762 GB Notification: Performance of SimCode: time 7.41e-07/0.684, allocations: 0 / 0.7773 GB, free: 456 kB / 0.5762 GB Notification: Performance of Templates: time 0.02757/0.7116, allocations: 15.4 MB / 0.7923 GB, free: 1.148 MB / 0.5919 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches