Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU") translateModel(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.00134, allocations: 105.8 kB / 16.4 MB, free: 6.465 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.001298/0.001299, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.41/1.41, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.724/0.724, allocations: 91.19 MB / 382.4 MB, free: 7.531 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001605, allocations: 79.88 kB / 0.5175 GB, free: 4.133 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3347, allocations: 67.68 MB / 0.5836 GB, free: 13.85 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.5319/0.8667, allocations: 214.3 MB / 0.7929 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01436/0.8811, allocations: 17.39 MB / 0.8099 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001067/0.8822, allocations: 49.91 kB / 0.8099 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001375/0.8836, allocations: 0.6186 MB / 0.8105 GB, free: 488 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003723/0.8874, allocations: 1.72 MB / 0.8122 GB, free: 420 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003598/0.891, allocations: 1.672 MB / 0.8138 GB, free: 352 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001712/0.8927, allocations: 1.649 MB / 0.8154 GB, free: 300 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004015/0.8931, allocations: 296.1 kB / 0.8157 GB, free: 224 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002076/0.8952, allocations: 1.183 MB / 0.8169 GB, free: 84 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006777/0.8959, allocations: 0.6198 MB / 0.8175 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001253/0.896, allocations: 96.19 kB / 0.8176 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006808/0.9028, allocations: 3.433 MB / 0.8209 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003819/0.9032, allocations: 247.8 kB / 0.8212 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009811/0.9042, allocations: 0.6064 MB / 0.8218 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005192/0.9094, allocations: 2.354 MB / 0.8241 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.9095, allocations: 0 / 0.8241 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.984e-06/0.9095, allocations: 0 / 0.8241 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.239e-05/0.9095, allocations: 0 / 0.8241 GB, free: 13.62 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.003298/0.9128, allocations: 1.801 MB / 0.8258 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.9129, allocations: 11.47 kB / 0.8258 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001968/0.9148, allocations: 287.9 kB / 0.8261 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001444/0.9163, allocations: 0.8843 MB / 0.827 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001997/0.9165, allocations: 201.6 kB / 0.8272 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/0.9166, allocations: 95.03 kB / 0.8272 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001753/0.9184, allocations: 1.007 MB / 0.8282 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.9184, allocations: 0 / 0.8282 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-05/0.9185, allocations: 36 kB / 0.8283 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/0.9186, allocations: 23.22 kB / 0.8283 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001517/0.9201, allocations: 0.784 MB / 0.829 GB, free: 10.32 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.005102/0.9252, allocations: 4.091 MB / 0.833 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001853/0.9271, allocations: 0.8596 MB / 0.8339 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007784/0.9279, allocations: 428.7 kB / 0.8343 GB, free: 5.215 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008329/0.9287, allocations: 1.301 MB / 0.8356 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.9287, allocations: 43.22 kB / 0.8356 GB, free: 3.574 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 2.885e-06/0.9287, allocations: 0 / 0.8356 GB, free: 3.574 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.005131/0.9339, allocations: 1.917 MB / 0.8375 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.9339, allocations: 60.06 kB / 0.8375 GB, free: 1.523 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009391/0.9349, allocations: 0.7654 MB / 0.8383 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.213e-05/0.935, allocations: 37.7 kB / 0.8383 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003691/0.9353, allocations: 498.5 kB / 0.8388 GB, free: 204 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002512/0.9356, allocations: 285.6 kB / 0.8391 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002504/0.9359, allocations: 150.5 kB / 0.8392 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.936, allocations: 341.8 kB / 0.8395 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006856/0.9367, allocations: 309.8 kB / 0.8398 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007561/0.9375, allocations: 393.6 kB / 0.8402 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001379/0.9388, allocations: 0.6887 MB / 0.8409 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/0.9389, allocations: 0.875 kB / 0.8409 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003196/0.9421, allocations: 1.232 MB / 0.8421 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.9421, allocations: 4 kB / 0.8421 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.9421, allocations: 1.641 kB / 0.8421 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008538/0.943, allocations: 254.4 kB / 0.8423 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009967/0.944, allocations: 210.1 kB / 0.8425 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006275/0.9503, allocations: 5.219 MB / 0.8476 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008873/0.9512, allocations: 83.25 kB / 0.8477 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001534/0.9514, allocations: 55.98 kB / 0.8478 GB, free: 6.57 MB / 0.6075 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.0004815/0.9519, allocations: 228 kB / 0.848 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002871/0.9522, allocations: 106.7 kB / 0.8481 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004091/0.9563, allocations: 1.824 MB / 0.8499 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.9563, allocations: 8 kB / 0.8499 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.9563, allocations: 4 kB / 0.8499 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.829e-05/0.9563, allocations: 7.922 kB / 0.8499 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005107/0.9614, allocations: 2.485 MB / 0.8523 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/0.9615, allocations: 4 kB / 0.8523 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009608/0.9624, allocations: 195.6 kB / 0.8525 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007828/0.9632, allocations: 261 kB / 0.8527 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.344e-05/0.9633, allocations: 35.97 kB / 0.8528 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006019/0.9694, allocations: 5.229 MB / 0.8579 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.9694, allocations: 7.969 kB / 0.8579 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004018/0.9734, allocations: 1.719 MB / 0.8596 GB, free: 9.977 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000515/0.974, allocations: 255.5 kB / 0.8598 GB, free: 9.707 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002198/0.9742, allocations: 16 kB / 0.8598 GB, free: 9.691 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006492/0.9749, allocations: 39.97 kB / 0.8599 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001678/0.975, allocations: 75.53 kB / 0.8599 GB, free: 9.578 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-05/0.9751, allocations: 51.92 kB / 0.86 GB, free: 9.527 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007706/0.9759, allocations: 0.5395 MB / 0.8605 GB, free: 8.977 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9759, allocations: 0 / 0.8605 GB, free: 8.977 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001499/0.9774, allocations: 475.1 kB / 0.861 GB, free: 8.512 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (crossFlowNTU.h_out_A,crossFlowNTU.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 (78): * Single equations (assignments): 75 * 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.001258/0.9787, allocations: 0.5825 MB / 0.8615 GB, free: 7.965 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002897/0.9816, allocations: 1.24 MB / 0.8627 GB, free: 6.703 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.9816, allocations: 0 / 0.8627 GB, free: 6.703 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00182/0.9835, allocations: 0.9062 MB / 0.8636 GB, free: 5.777 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00164/0.9851, allocations: 264.2 kB / 0.8639 GB, free: 5.527 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00465/0.9898, allocations: 2.335 MB / 0.8662 GB, free: 3.16 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000717/0.9905, allocations: 1.072 MB / 0.8672 GB, free: 2.062 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006281/0.9912, allocations: 183.3 kB / 0.8674 GB, free: 1.883 MB / 0.6231 GB Notification: Performance of SimCode: time 9.82e-07/0.9912, allocations: 0 / 0.8674 GB, free: 1.883 MB / 0.6231 GB Notification: Performance of Templates: time 0.03643/1.028, allocations: 31.71 MB / 0.8984 GB, free: 2.207 MB / 0.6544 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.makefile (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches