Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_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.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/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_OM_adaptions_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_OM_adaptions_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.001368/0.001368, allocations: 176.7 kB / 15.43 MB, free: 6.211 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.213/1.213, allocations: 225.7 MB / 241.9 MB, free: 404 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.0007357/0.0007357, allocations: 95.11 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.0-OM_adaptions/package.mo): time 0.6262/0.6262, allocations: 90.99 MB / 435.2 MB, free: 24.42 MB / 330.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003447/0.0003447, allocations: 12 kB / 0.503 GB, free: 9.402 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2838, allocations: 69.09 MB / 0.5704 GB, free: 45.75 MB / 442.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.428/0.7118, allocations: 237 MB / 0.8019 GB, free: 13.24 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01789/0.7298, allocations: 26.24 MB / 0.8275 GB, free: 18.87 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009612/0.7308, allocations: 25.88 kB / 0.8275 GB, free: 18.86 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001193/0.732, allocations: 480.8 kB / 0.828 GB, free: 18.84 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.003558/0.7355, allocations: 1.449 MB / 0.8294 GB, free: 18.78 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.006215/0.7418, allocations: 2.407 MB / 0.8318 GB, free: 18.66 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.002422/0.7442, allocations: 1.666 MB / 0.8334 GB, free: 18.66 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003792/0.7446, allocations: 238.8 kB / 0.8336 GB, free: 18.6 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001876/0.7465, allocations: 0.9789 MB / 0.8346 GB, free: 18.57 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005419/0.747, allocations: 0.5146 MB / 0.8351 GB, free: 18.57 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 9.338e-05/0.7471, allocations: 40.81 kB / 0.8351 GB, free: 18.57 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009512/0.7567, allocations: 5.004 MB / 0.84 GB, free: 18.45 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002319/0.7569, allocations: 164.5 kB / 0.8402 GB, free: 18.45 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0006026/0.7575, allocations: 0.4907 MB / 0.8406 GB, free: 18.42 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.004904/0.7625, allocations: 2.945 MB / 0.8435 GB, free: 18.24 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.7625, allocations: 1.719 kB / 0.8435 GB, free: 18.24 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.042e-06/0.7625, allocations: 0 / 0.8435 GB, free: 18.24 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.357e-05/0.7625, allocations: 0 / 0.8435 GB, free: 18.24 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.002641/0.7652, allocations: 1.587 MB / 0.8451 GB, free: 17.35 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.7652, allocations: 8.719 kB / 0.8451 GB, free: 17.35 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001475/0.7667, allocations: 242.2 kB / 0.8453 GB, free: 17.29 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007064/0.7674, allocations: 0.5884 MB / 0.8459 GB, free: 16.95 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001934/0.7676, allocations: 196.3 kB / 0.8461 GB, free: 16.81 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.7677, allocations: 88.92 kB / 0.8462 GB, free: 16.81 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001524/0.7693, allocations: 0.9788 MB / 0.8471 GB, free: 16.51 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.7693, allocations: 0 / 0.8471 GB, free: 16.51 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.081e-05/0.7694, allocations: 31.12 kB / 0.8471 GB, free: 16.51 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/0.7694, allocations: 26.48 kB / 0.8472 GB, free: 16.51 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001379/0.7708, allocations: 0.7779 MB / 0.8479 GB, free: 16.38 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.003748/0.7745, allocations: 3.683 MB / 0.8515 GB, free: 13.85 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/0.7762, allocations: 0.9265 MB / 0.8524 GB, free: 13.71 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006609/0.7769, allocations: 458.2 kB / 0.8529 GB, free: 13.64 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002193/0.7791, allocations: 3.114 MB / 0.8559 GB, free: 10.36 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.7791, allocations: 48.56 kB / 0.856 GB, free: 10.31 MB / 0.573 GB Notification: Performance of pre-optimization done (n=83): time 2.675e-06/0.7791, allocations: 0 / 0.856 GB, free: 10.31 MB / 0.573 GB Notification: Performance of matching and sorting (n=83): time 0.00495/0.7841, allocations: 2.201 MB / 0.8581 GB, free: 9.523 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.7841, allocations: 67.61 kB / 0.8582 GB, free: 9.453 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004075/0.7845, allocations: 492 kB / 0.8586 GB, free: 9.27 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 5.315e-05/0.7846, allocations: 38.7 kB / 0.8587 GB, free: 9.238 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001653/0.7848, allocations: 382.8 kB / 0.859 GB, free: 9.02 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.7849, allocations: 290.6 kB / 0.8593 GB, free: 8.809 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.342e-05/0.785, allocations: 13.16 kB / 0.8593 GB, free: 8.809 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.7851, allocations: 381.2 kB / 0.8597 GB, free: 8.473 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005972/0.7857, allocations: 342.1 kB / 0.86 GB, free: 8.422 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006146/0.7863, allocations: 430.3 kB / 0.8604 GB, free: 8.309 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/0.7875, allocations: 0.7558 MB / 0.8612 GB, free: 8.184 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.7876, allocations: 0 / 0.8612 GB, free: 8.184 MB / 0.573 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002661/0.7902, allocations: 1.333 MB / 0.8625 GB, free: 7.844 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.7902, allocations: 6 kB / 0.8625 GB, free: 7.844 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.7903, allocations: 3.438 kB / 0.8625 GB, free: 7.844 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007265/0.791, allocations: 276.3 kB / 0.8627 GB, free: 7.754 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008321/0.7918, allocations: 197.4 kB / 0.8629 GB, free: 7.723 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005019/0.7969, allocations: 5.025 MB / 0.8678 GB, free: 3.598 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005681/0.7975, allocations: 96.45 kB / 0.8679 GB, free: 3.555 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.45e-05/0.7976, allocations: 63.78 kB / 0.868 GB, free: 3.547 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.0002921/0.7979, allocations: 212.8 kB / 0.8682 GB, free: 3.426 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.798, allocations: 75.86 kB / 0.8683 GB, free: 3.387 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003579/0.8016, allocations: 1.633 MB / 0.8699 GB, free: 2.906 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.8016, allocations: 14.11 kB / 0.8699 GB, free: 2.902 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.8016, allocations: 3.094 kB / 0.8699 GB, free: 2.902 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.8016, allocations: 8.75 kB / 0.8699 GB, free: 2.898 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004129/0.8057, allocations: 2.525 MB / 0.8724 GB, free: 1.668 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.8058, allocations: 0 / 0.8724 GB, free: 1.668 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009164/0.8067, allocations: 215.2 kB / 0.8726 GB, free: 1.473 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006851/0.8074, allocations: 274.2 kB / 0.8728 GB, free: 1.234 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.088e-05/0.8075, allocations: 39.97 kB / 0.8729 GB, free: 1.207 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005091/0.8126, allocations: 5.023 MB / 0.8778 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.8126, allocations: 0 / 0.8778 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003604/0.8162, allocations: 1.903 MB / 0.8796 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000301/0.8165, allocations: 250.1 kB / 0.8799 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.8166, allocations: 19.25 kB / 0.8799 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004948/0.8171, allocations: 61.14 kB / 0.8799 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.8173, allocations: 81.23 kB / 0.88 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.724e-05/0.8174, allocations: 68.34 kB / 0.8801 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0003347/0.8177, allocations: 338.7 kB / 0.8804 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8177, allocations: 3.938 kB / 0.8804 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00162/0.8194, allocations: 0.699 MB / 0.8811 GB, free: 9.465 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.001762/0.8211, allocations: 1.02 MB / 0.8821 GB, free: 8.547 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002476/0.8236, allocations: 1.433 MB / 0.8835 GB, free: 7.316 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.8236, allocations: 0 / 0.8835 GB, free: 7.316 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001628/0.8253, allocations: 1.068 MB / 0.8845 GB, free: 6.371 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009151/0.8262, allocations: 192.5 kB / 0.8847 GB, free: 6.234 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003563/0.8298, allocations: 2.58 MB / 0.8872 GB, free: 3.809 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005377/0.8303, allocations: 1.002 MB / 0.8882 GB, free: 2.781 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001023/0.8313, allocations: 233.4 kB / 0.8884 GB, free: 2.551 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000375/0.8317, allocations: 117 kB / 0.8885 GB, free: 2.445 MB / 0.5886 GB Notification: Performance of SimCode: time 3.51e-07/0.8317, allocations: 0 / 0.8885 GB, free: 2.445 MB / 0.5886 GB Notification: Performance of Templates: time 0.03243/0.8642, allocations: 22.77 MB / 0.9108 GB, free: 11.82 MB / 0.6198 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches