Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/package.mo", uses=false) Using package ThermofluidStream with version 0.4.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008515/0.0008516, allocations: 176.5 kB / 15.43 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.236/1.236, allocations: 225.7 MB / 241.9 MB, free: 408 kB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007432/0.0007432, allocations: 97.84 kB / 293.1 MB, free: 12.9 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/package.mo): time 0.6276/0.6276, allocations: 91.64 MB / 435.8 MB, free: 23.56 MB / 330.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002795/0.0002796, allocations: 8 kB / 0.5038 GB, free: 8.301 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.2983, allocations: 69.29 MB / 0.5714 GB, free: 45.6 MB / 442.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.4475/0.7458, allocations: 237 MB / 0.8029 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01984/0.7657, allocations: 26.26 MB / 0.8286 GB, free: 18.21 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00118/0.7669, allocations: 21.38 kB / 0.8286 GB, free: 18.21 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001386/0.7683, allocations: 482.8 kB / 0.829 GB, free: 18.2 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.003833/0.7722, allocations: 1.45 MB / 0.8305 GB, free: 18.13 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.006274/0.7785, allocations: 2.41 MB / 0.8328 GB, free: 18.02 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.002133/0.7806, allocations: 1.67 MB / 0.8344 GB, free: 18.01 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003889/0.781, allocations: 236.8 kB / 0.8347 GB, free: 17.95 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002057/0.7831, allocations: 0.9762 MB / 0.8356 GB, free: 17.93 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000621/0.7837, allocations: 0.522 MB / 0.8361 GB, free: 17.92 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 9.969e-05/0.7838, allocations: 41 kB / 0.8362 GB, free: 17.92 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009764/0.7936, allocations: 5.002 MB / 0.8411 GB, free: 17.8 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.000302/0.7939, allocations: 164.9 kB / 0.8412 GB, free: 17.8 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0007262/0.7947, allocations: 0.5015 MB / 0.8417 GB, free: 17.77 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.006486/0.8012, allocations: 2.948 MB / 0.8446 GB, free: 17.58 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.8012, allocations: 2.297 kB / 0.8446 GB, free: 17.58 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8012, allocations: 0 / 0.8446 GB, free: 17.58 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.353e-05/0.8012, allocations: 0 / 0.8446 GB, free: 17.58 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.003243/0.8045, allocations: 1.595 MB / 0.8461 GB, free: 16.68 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.8045, allocations: 9.406 kB / 0.8462 GB, free: 16.68 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001539/0.8061, allocations: 244.9 kB / 0.8464 GB, free: 16.59 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007843/0.8069, allocations: 0.5775 MB / 0.847 GB, free: 16.22 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001933/0.8071, allocations: 206.6 kB / 0.8471 GB, free: 16.07 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.8072, allocations: 86.88 kB / 0.8472 GB, free: 16.07 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001559/0.8088, allocations: 0.9781 MB / 0.8482 GB, free: 15.77 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.8088, allocations: 8 kB / 0.8482 GB, free: 15.77 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.226e-05/0.8089, allocations: 34 kB / 0.8482 GB, free: 15.77 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/0.8089, allocations: 19.56 kB / 0.8482 GB, free: 15.77 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.8103, allocations: 0.7766 MB / 0.849 GB, free: 15.64 MB / 0.573 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.003866/0.8142, allocations: 3.675 MB / 0.8526 GB, free: 13.12 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001686/0.8159, allocations: 0.9325 MB / 0.8535 GB, free: 12.97 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000683/0.8166, allocations: 452.7 kB / 0.8539 GB, free: 12.91 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00221/0.8188, allocations: 3.107 MB / 0.857 GB, free: 9.633 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.8189, allocations: 45.2 kB / 0.857 GB, free: 9.59 MB / 0.573 GB Notification: Performance of pre-optimization done (n=83): time 3.166e-06/0.8189, allocations: 0 / 0.857 GB, free: 9.59 MB / 0.573 GB Notification: Performance of matching and sorting (n=83): time 0.005105/0.824, allocations: 2.203 MB / 0.8592 GB, free: 8.805 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.824, allocations: 69.66 kB / 0.8592 GB, free: 8.734 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004448/0.8245, allocations: 0.4913 MB / 0.8597 GB, free: 8.543 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 5.554e-05/0.8246, allocations: 37.33 kB / 0.8597 GB, free: 8.512 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000169/0.8247, allocations: 387.1 kB / 0.8601 GB, free: 8.289 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/0.8249, allocations: 280.5 kB / 0.8604 GB, free: 8.086 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-05/0.8249, allocations: 14.56 kB / 0.8604 GB, free: 8.086 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.8251, allocations: 382.1 kB / 0.8608 GB, free: 7.75 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006519/0.8257, allocations: 346.3 kB / 0.8611 GB, free: 7.695 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006438/0.8264, allocations: 418.6 kB / 0.8615 GB, free: 7.586 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00132/0.8277, allocations: 0.7617 MB / 0.8622 GB, free: 7.457 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.8277, allocations: 0 / 0.8622 GB, free: 7.457 MB / 0.573 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002864/0.8306, allocations: 1.342 MB / 0.8635 GB, free: 7.117 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.8306, allocations: 4.938 kB / 0.8635 GB, free: 7.117 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.8306, allocations: 0 / 0.8635 GB, free: 7.117 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007628/0.8314, allocations: 271 kB / 0.8638 GB, free: 7.031 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000862/0.8323, allocations: 203.5 kB / 0.864 GB, free: 6.996 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005195/0.8375, allocations: 5.023 MB / 0.8689 GB, free: 2.875 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007002/0.8382, allocations: 100 kB / 0.869 GB, free: 2.828 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/0.8383, allocations: 62.75 kB / 0.8691 GB, free: 2.82 MB / 0.573 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 (80): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003545/0.8387, allocations: 211.6 kB / 0.8693 GB, free: 2.699 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.8388, allocations: 72.5 kB / 0.8693 GB, free: 2.66 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003797/0.8426, allocations: 1.63 MB / 0.8709 GB, free: 2.188 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/0.8427, allocations: 10.06 kB / 0.8709 GB, free: 2.184 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.8427, allocations: 6.656 kB / 0.8709 GB, free: 2.18 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.8427, allocations: 12.78 kB / 0.871 GB, free: 2.172 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004432/0.8471, allocations: 2.543 MB / 0.8734 GB, free: 0.75 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.8472, allocations: 0 / 0.8734 GB, free: 0.75 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009423/0.8481, allocations: 207.8 kB / 0.8736 GB, free: 0.5625 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007148/0.8488, allocations: 278.3 kB / 0.8739 GB, free: 328 kB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.822e-05/0.8489, allocations: 39.41 kB / 0.8739 GB, free: 304 kB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005213/0.8542, allocations: 5.02 MB / 0.8788 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.8542, allocations: 0 / 0.8788 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003877/0.8581, allocations: 1.891 MB / 0.8807 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003945/0.8585, allocations: 257.4 kB / 0.8809 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.8586, allocations: 15.44 kB / 0.8809 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005272/0.8592, allocations: 69.58 kB / 0.881 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001732/0.8593, allocations: 81.19 kB / 0.8811 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/0.8595, allocations: 68.22 kB / 0.8812 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0003612/0.8598, allocations: 343.1 kB / 0.8815 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8598, allocations: 0 / 0.8815 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001867/0.8617, allocations: 0.6874 MB / 0.8822 GB, free: 8.559 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (83): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001954/0.8637, allocations: 1.034 MB / 0.8832 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002652/0.8663, allocations: 1.43 MB / 0.8846 GB, free: 6.41 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.8664, allocations: 0 / 0.8846 GB, free: 6.41 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001747/0.8681, allocations: 1.067 MB / 0.8856 GB, free: 5.465 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.8692, allocations: 202.7 kB / 0.8858 GB, free: 5.324 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003779/0.873, allocations: 2.582 MB / 0.8883 GB, free: 2.895 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005889/0.8736, allocations: 1.002 MB / 0.8893 GB, free: 1.867 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001197/0.8748, allocations: 233.5 kB / 0.8895 GB, free: 1.637 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003955/0.8753, allocations: 114.6 kB / 0.8896 GB, free: 1.531 MB / 0.5886 GB Notification: Performance of SimCode: time 5.91e-07/0.8753, allocations: 0 / 0.8896 GB, free: 1.531 MB / 0.5886 GB Notification: Performance of Templates: time 0.03518/0.9104, allocations: 22.77 MB / 0.9119 GB, free: 10.92 MB / 0.6198 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","../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches