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.009096/0.009096, allocations: 100.5 kB / 15.73 MB, free: 6.039 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.002003/0.002003, allocations: 195.5 kB / 16.68 MB, free: 5.957 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7231/0.7231, allocations: 91.19 MB / 381.7 MB, free: 7.508 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 79.88 kB / 0.5168 GB, free: 4.098 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.3717, allocations: 67.68 MB / 0.5829 GB, free: 13.88 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.5742/0.946, allocations: 201.8 MB / 0.78 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01221/0.9582, allocations: 14.83 MB / 0.7945 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009838/0.9592, allocations: 39.78 kB / 0.7946 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001247/0.9605, allocations: 0.519 MB / 0.7951 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002964/0.9635, allocations: 1.301 MB / 0.7963 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003049/0.9666, allocations: 1.388 MB / 0.7977 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00131/0.9679, allocations: 1.354 MB / 0.799 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003541/0.9682, allocations: 264.2 kB / 0.7993 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001734/0.97, allocations: 1.074 MB / 0.8003 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004309/0.9704, allocations: 0.5005 MB / 0.8008 GB, free: 484 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.36e-05/0.9705, allocations: 78.16 kB / 0.8009 GB, free: 484 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003931/0.9745, allocations: 2.503 MB / 0.8033 GB, free: 420 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001522/0.9746, allocations: 208.8 kB / 0.8035 GB, free: 376 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003727/0.975, allocations: 0.4983 MB / 0.804 GB, free: 204 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002751/0.9778, allocations: 1.872 MB / 0.8058 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.9778, allocations: 3.797 kB / 0.8058 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.784e-06/0.9778, allocations: 0 / 0.8058 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.367e-05/0.9778, allocations: 0 / 0.8058 GB, free: 15.92 MB / 0.5919 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.002636/0.9805, allocations: 1.519 MB / 0.8073 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.9805, allocations: 13.91 kB / 0.8073 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001717/0.9822, allocations: 235.4 kB / 0.8076 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.9834, allocations: 0.7705 MB / 0.8083 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002186/0.9837, allocations: 188.3 kB / 0.8085 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.9838, allocations: 73.31 kB / 0.8086 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/0.9853, allocations: 0.8237 MB / 0.8094 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.9853, allocations: 0 / 0.8094 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.146e-05/0.9854, allocations: 33.75 kB / 0.8094 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.9854, allocations: 18.72 kB / 0.8094 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/0.9867, allocations: 0.6456 MB / 0.8101 GB, free: 14.48 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.00421/0.9909, allocations: 3.217 MB / 0.8132 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/0.9923, allocations: 0.5931 MB / 0.8138 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006939/0.993, allocations: 352.7 kB / 0.8141 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006264/0.9936, allocations: 0.9051 MB / 0.815 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.9937, allocations: 37.88 kB / 0.815 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=59): time 2.114e-06/0.9937, allocations: 0 / 0.815 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of matching and sorting (n=59): time 0.004565/0.9983, allocations: 1.678 MB / 0.8167 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.9983, allocations: 59.72 kB / 0.8167 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007991/0.9991, allocations: 0.6441 MB / 0.8174 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.385e-05/0.9992, allocations: 36.14 kB / 0.8174 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003035/0.9995, allocations: 426.4 kB / 0.8178 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/0.9997, allocations: 208.1 kB / 0.818 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001877/0.9998, allocations: 110.8 kB / 0.8181 GB, free: 9.398 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001097/1, allocations: 323 kB / 0.8184 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006243/1.001, allocations: 253.6 kB / 0.8187 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007358/1.001, allocations: 265.6 kB / 0.8189 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/1.003, allocations: 0.5257 MB / 0.8194 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/1.003, allocations: 1.094 kB / 0.8194 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002967/1.006, allocations: 1.011 MB / 0.8204 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/1.006, allocations: 6.625 kB / 0.8204 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/1.006, allocations: 0 / 0.8204 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007894/1.007, allocations: 228.3 kB / 0.8206 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006939/1.007, allocations: 149.7 kB / 0.8208 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005936/1.013, allocations: 5.097 MB / 0.8258 GB, free: 3.117 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007568/1.014, allocations: 73.75 kB / 0.8258 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.689e-05/1.014, allocations: 34.2 kB / 0.8259 GB, free: 3.062 MB / 0.5919 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.0004775/1.015, allocations: 204.4 kB / 0.826 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/1.015, allocations: 81.12 kB / 0.8261 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003388/1.018, allocations: 1.426 MB / 0.8275 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/1.018, allocations: 8 kB / 0.8275 GB, free: 2.012 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/1.018, allocations: 11.88 kB / 0.8275 GB, free: 2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/1.018, allocations: 3.984 kB / 0.8275 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00426/1.022, allocations: 2.08 MB / 0.8296 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/1.022, allocations: 4 kB / 0.8296 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007571/1.023, allocations: 142.3 kB / 0.8297 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007204/1.024, allocations: 234.3 kB / 0.8299 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.525e-05/1.024, allocations: 23.98 kB / 0.83 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005507/1.03, allocations: 5.092 MB / 0.8349 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.03, allocations: 4 kB / 0.8349 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003394/1.033, allocations: 1.419 MB / 0.8363 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003079/1.033, allocations: 211.8 kB / 0.8365 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/1.033, allocations: 15.94 kB / 0.8365 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005196/1.034, allocations: 43.95 kB / 0.8366 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/1.034, allocations: 51.69 kB / 0.8366 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.024e-05/1.034, allocations: 39.98 kB / 0.8367 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005845/1.035, allocations: 471 kB / 0.8371 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.71e-07/1.035, allocations: 3.938 kB / 0.8371 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001062/1.036, allocations: 367.3 kB / 0.8375 GB, free: 7.309 MB / 0.6075 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.0008728/1.037, allocations: 490.4 kB / 0.8379 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00231/1.039, allocations: 1.066 MB / 0.839 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/1.039, allocations: 4 kB / 0.839 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001539/1.041, allocations: 0.7968 MB / 0.8398 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/1.042, allocations: 213.3 kB / 0.84 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00325/1.045, allocations: 1.797 MB / 0.8417 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005596/1.046, allocations: 0.9931 MB / 0.8427 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009221/1.046, allocations: 447.2 kB / 0.8431 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003338/1.047, allocations: 115.4 kB / 0.8432 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of SimCode: time 8.31e-07/1.047, allocations: 0 / 0.8432 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of Templates: time 0.02811/1.075, allocations: 15.92 MB / 0.8588 GB, free: 1.617 MB / 0.6231 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