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/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/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.001583/0.001583, allocations: 108.6 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.001504/0.001504, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.376/1.376, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.7128/0.7128, allocations: 89.45 MB / 380.2 MB, free: 8.676 MB / 302.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002363/0.002363, allocations: 80.05 kB / 458.3 MB, free: 11.57 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1249, allocations: 67.3 MB / 0.5133 GB, free: 8.184 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.3986/0.5235, allocations: 199.5 MB / 0.7081 GB, free: 244 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01764/0.5411, allocations: 14.7 MB / 0.7225 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009216/0.5421, allocations: 15.94 kB / 0.7225 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001272/0.5434, allocations: 457.6 kB / 0.723 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003115/0.5465, allocations: 1.151 MB / 0.7241 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003327/0.5499, allocations: 1.267 MB / 0.7253 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001547/0.5514, allocations: 1.21 MB / 0.7265 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004018/0.5519, allocations: 257.5 kB / 0.7267 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001958/0.5538, allocations: 1.038 MB / 0.7278 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005645/0.5544, allocations: 497.8 kB / 0.7282 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001098/0.5545, allocations: 80 kB / 0.7283 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00483/0.5594, allocations: 2.687 MB / 0.7309 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002099/0.5596, allocations: 195.2 kB / 0.7311 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005033/0.5601, allocations: 465.6 kB / 0.7316 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00202/0.5621, allocations: 1.255 MB / 0.7328 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.5622, allocations: 0 / 0.7328 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.878e-06/0.5622, allocations: 4 kB / 0.7328 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.091e-05/0.5622, allocations: 0 / 0.7328 GB, free: 6.953 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002658/0.5648, allocations: 1.387 MB / 0.7341 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.5649, allocations: 8.031 kB / 0.7342 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001679/0.5666, allocations: 218.7 kB / 0.7344 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007912/0.5674, allocations: 0.5216 MB / 0.7349 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002436/0.5676, allocations: 184.7 kB / 0.7351 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/0.5678, allocations: 75.91 kB / 0.7351 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/0.5695, allocations: 0.8218 MB / 0.7359 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.5695, allocations: 0 / 0.7359 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.742e-05/0.5696, allocations: 32 kB / 0.736 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.812e-05/0.5696, allocations: 16 kB / 0.736 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00148/0.5711, allocations: 0.648 MB / 0.7366 GB, free: 2.922 MB / 0.5762 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.1913/0.7624, allocations: 3.189 MB / 0.7397 GB, free: 185.7 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001277/0.7637, allocations: 0.5946 MB / 0.7403 GB, free: 185.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006041/0.7643, allocations: 350.8 kB / 0.7406 GB, free: 185.7 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004009/0.7647, allocations: 0.9043 MB / 0.7415 GB, free: 184.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.587e-05/0.7647, allocations: 34.88 kB / 0.7416 GB, free: 184.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=59): time 2.354e-06/0.7647, allocations: 0.7188 kB / 0.7416 GB, free: 184.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=59): time 0.004318/0.7691, allocations: 1.658 MB / 0.7432 GB, free: 184.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/0.7691, allocations: 60.22 kB / 0.7432 GB, free: 184.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000519/0.7696, allocations: 0.498 MB / 0.7437 GB, free: 184.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.484e-05/0.7697, allocations: 35.61 kB / 0.7437 GB, free: 184 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.7699, allocations: 358.2 kB / 0.7441 GB, free: 183.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/0.77, allocations: 212.9 kB / 0.7443 GB, free: 183.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000179/0.7702, allocations: 106.7 kB / 0.7444 GB, free: 183.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.125e-05/0.7703, allocations: 382.2 kB / 0.7448 GB, free: 183.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005542/0.7709, allocations: 252.3 kB / 0.745 GB, free: 183.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005448/0.7714, allocations: 262.6 kB / 0.7452 GB, free: 183.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.7725, allocations: 0.5235 MB / 0.7458 GB, free: 183.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.7725, allocations: 0.8125 kB / 0.7458 GB, free: 183.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00249/0.775, allocations: 0.998 MB / 0.7467 GB, free: 183.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.775, allocations: 6.438 kB / 0.7467 GB, free: 183.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.7751, allocations: 0.6562 kB / 0.7467 GB, free: 183.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007547/0.7758, allocations: 231.9 kB / 0.747 GB, free: 183.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007125/0.7765, allocations: 145.6 kB / 0.7471 GB, free: 183.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004414/0.781, allocations: 5.101 MB / 0.7521 GB, free: 179.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005766/0.7816, allocations: 82.62 kB / 0.7522 GB, free: 179.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.491e-05/0.7816, allocations: 34.62 kB / 0.7522 GB, free: 179.2 MB / 0.5762 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.000276/0.7819, allocations: 196.4 kB / 0.7524 GB, free: 179.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.7821, allocations: 66.88 kB / 0.7524 GB, free: 179.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003246/0.7853, allocations: 1.4 MB / 0.7538 GB, free: 178.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.7853, allocations: 8.969 kB / 0.7538 GB, free: 178.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.7853, allocations: 3.75 kB / 0.7538 GB, free: 178.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.7854, allocations: 5.344 kB / 0.7538 GB, free: 178.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003578/0.7889, allocations: 2.037 MB / 0.7558 GB, free: 178.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.789, allocations: 0 / 0.7558 GB, free: 178.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007086/0.7897, allocations: 140.5 kB / 0.756 GB, free: 178.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006449/0.7903, allocations: 247.3 kB / 0.7562 GB, free: 178.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.234e-05/0.7904, allocations: 22.12 kB / 0.7562 GB, free: 178.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004181/0.7946, allocations: 5.097 MB / 0.7612 GB, free: 174.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.7946, allocations: 5.469 kB / 0.7612 GB, free: 174.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002932/0.7975, allocations: 1.394 MB / 0.7626 GB, free: 174.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003467/0.7979, allocations: 192.8 kB / 0.7627 GB, free: 174 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.798, allocations: 18.75 kB / 0.7628 GB, free: 174 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005356/0.7986, allocations: 48.58 kB / 0.7628 GB, free: 174 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002034/0.7988, allocations: 63.66 kB / 0.7629 GB, free: 174 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.68e-05/0.7989, allocations: 31.91 kB / 0.7629 GB, free: 174 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005315/0.7994, allocations: 371.7 kB / 0.7633 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.31e-07/0.7994, allocations: 0 / 0.7633 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001242/0.8007, allocations: 370.5 kB / 0.7636 GB, free: 173.8 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.000913/0.8016, allocations: 0.4912 MB / 0.7641 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002331/0.8039, allocations: 1.086 MB / 0.7651 GB, free: 173.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.8039, allocations: 2.781 kB / 0.7651 GB, free: 173.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001414/0.8054, allocations: 0.7971 MB / 0.7659 GB, free: 173 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.8064, allocations: 194.7 kB / 0.7661 GB, free: 173 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00285/0.8093, allocations: 1.989 MB / 0.7681 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.8096, allocations: 0.9491 MB / 0.769 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005053/0.8101, allocations: 125 kB / 0.7691 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of SimCode: time 5.81e-07/0.8101, allocations: 0 / 0.7691 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.02854/0.8387, allocations: 22.99 MB / 0.7916 GB, free: 164.4 MB / 0.5762 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches