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.001297/0.001297, allocations: 106.3 kB / 16.27 MB, free: 6.41 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.001257/0.001258, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.334/1.334, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6934/0.6934, allocations: 91.2 MB / 382.2 MB, free: 7.574 MB / 302.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001634, allocations: 79.88 kB / 461 MB, free: 9.051 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1266, allocations: 67.67 MB / 0.5163 GB, free: 5.301 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.4272/0.5539, allocations: 214.3 MB / 0.7255 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3057/0.8596, allocations: 17.37 MB / 0.7425 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009123/0.8606, allocations: 43.97 kB / 0.7426 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001428/0.862, allocations: 0.6186 MB / 0.7432 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003801/0.8659, allocations: 1.717 MB / 0.7448 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003777/0.8697, allocations: 1.67 MB / 0.7465 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001798/0.8715, allocations: 1.649 MB / 0.7481 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004544/0.8719, allocations: 296.4 kB / 0.7484 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002158/0.8741, allocations: 1.155 MB / 0.7495 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006582/0.8748, allocations: 0.6264 MB / 0.7501 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001504/0.8749, allocations: 96.59 kB / 0.7502 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007876/0.8828, allocations: 3.382 MB / 0.7535 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003422/0.8832, allocations: 246 kB / 0.7537 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009385/0.8841, allocations: 0.6146 MB / 0.7543 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005505/0.8897, allocations: 2.301 MB / 0.7566 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.8897, allocations: 1.938 kB / 0.7566 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8897, allocations: 0 / 0.7566 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.032e-05/0.8897, allocations: 0.8438 kB / 0.7566 GB, free: 1.27 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.004159/0.8939, allocations: 1.809 MB / 0.7583 GB, free: 16.35 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.8939, allocations: 13.89 kB / 0.7584 GB, free: 16.35 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002127/0.8961, allocations: 293.4 kB / 0.7586 GB, free: 16.28 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001487/0.8976, allocations: 0.8153 MB / 0.7594 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002376/0.8978, allocations: 196.1 kB / 0.7596 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001665/0.898, allocations: 91.72 kB / 0.7597 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002058/0.9001, allocations: 1.005 MB / 0.7607 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.9001, allocations: 1.188 kB / 0.7607 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-05/0.9002, allocations: 36.78 kB / 0.7607 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.548e-05/0.9002, allocations: 21.7 kB / 0.7607 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001811/0.902, allocations: 0.7835 MB / 0.7615 GB, free: 15.68 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.005442/0.9075, allocations: 4.12 MB / 0.7655 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001896/0.9094, allocations: 0.856 MB / 0.7664 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008239/0.9102, allocations: 432.8 kB / 0.7668 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00092/0.9112, allocations: 1.305 MB / 0.7681 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.9112, allocations: 45.28 kB / 0.7681 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 2.805e-06/0.9112, allocations: 0.6875 kB / 0.7681 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.005426/0.9167, allocations: 1.915 MB / 0.77 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.9167, allocations: 63.62 kB / 0.77 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.9178, allocations: 0.7686 MB / 0.7708 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.675e-05/0.9179, allocations: 42.45 kB / 0.7708 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003191/0.9182, allocations: 496.5 kB / 0.7713 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002352/0.9185, allocations: 276.1 kB / 0.7716 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002654/0.9187, allocations: 151.6 kB / 0.7717 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.9189, allocations: 339 kB / 0.772 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007141/0.9196, allocations: 309.2 kB / 0.7723 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007882/0.9204, allocations: 389.4 kB / 0.7727 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001519/0.9219, allocations: 0.6895 MB / 0.7734 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.9219, allocations: 0.9375 kB / 0.7734 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003293/0.9252, allocations: 1.23 MB / 0.7746 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.9253, allocations: 5.938 kB / 0.7746 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.9253, allocations: 2.031 kB / 0.7746 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008434/0.9261, allocations: 248.8 kB / 0.7748 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00095/0.9271, allocations: 203.8 kB / 0.775 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005934/0.933, allocations: 5.228 MB / 0.7801 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008833/0.9339, allocations: 88.91 kB / 0.7802 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/0.9341, allocations: 57.17 kB / 0.7803 GB, free: 6.129 MB / 0.5919 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.0004683/0.9345, allocations: 224 kB / 0.7805 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001981/0.9347, allocations: 105.4 kB / 0.7806 GB, free: 5.953 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004025/0.9388, allocations: 1.826 MB / 0.7824 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.9388, allocations: 10.53 kB / 0.7824 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.9388, allocations: 6.281 kB / 0.7824 GB, free: 5.801 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/0.9388, allocations: 9.719 kB / 0.7824 GB, free: 5.801 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004611/0.9434, allocations: 2.489 MB / 0.7848 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/0.9435, allocations: 8.281 kB / 0.7848 GB, free: 5.262 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009252/0.9444, allocations: 196.2 kB / 0.785 GB, free: 5.262 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007508/0.9452, allocations: 250 kB / 0.7852 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-05/0.9452, allocations: 34.41 kB / 0.7853 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00579/0.951, allocations: 5.239 MB / 0.7904 GB, free: 1.176 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.9511, allocations: 10.5 kB / 0.7904 GB, free: 1.172 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003883/0.955, allocations: 1.714 MB / 0.7921 GB, free: 0.875 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004632/0.9554, allocations: 250.1 kB / 0.7923 GB, free: 0.7148 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001445/0.9556, allocations: 22.66 kB / 0.7923 GB, free: 0.7148 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000566/0.9562, allocations: 39.72 kB / 0.7924 GB, free: 0.7148 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/0.9563, allocations: 84.64 kB / 0.7925 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.842e-05/0.9564, allocations: 50.02 kB / 0.7925 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006553/0.9571, allocations: 0.538 MB / 0.793 GB, free: 0.5938 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9571, allocations: 0 / 0.793 GB, free: 0.5938 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001445/0.9586, allocations: 474.6 kB / 0.7935 GB, free: 0.5234 MB / 0.5919 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.001078/0.9596, allocations: 0.5767 MB / 0.794 GB, free: 344 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002945/0.9626, allocations: 1.277 MB / 0.7953 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.9626, allocations: 1.312 kB / 0.7953 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001606/0.9642, allocations: 0.906 MB / 0.7962 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/0.9655, allocations: 257.5 kB / 0.7964 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003987/0.9695, allocations: 2.366 MB / 0.7987 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005954/0.9701, allocations: 1.064 MB / 0.7998 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000612/0.9708, allocations: 182.8 kB / 0.7999 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of SimCode: time 6.01e-07/0.9708, allocations: 2.969 kB / 0.7999 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of Templates: time 0.03435/1.005, allocations: 31.64 MB / 0.8308 GB, free: 6.043 MB / 0.6231 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