Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00187/0.00187, allocations: 97.31 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 215.1 kB / 23.03 MB, free: 4.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.526/1.526, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.786/0.786, allocations: 94.62 MB / 407.8 MB, free: 8.828 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002486/0.002486, allocations: 79.52 kB / 0.5557 GB, free: 38.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1403, allocations: 73.06 MB / 0.627 GB, free: 332 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.5635/0.7038, allocations: 187.1 MB / 0.8097 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01668/0.7205, allocations: 15.82 MB / 0.8252 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001158/0.7217, allocations: 73.97 kB / 0.8252 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001564/0.7232, allocations: 0.5464 MB / 0.8258 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004642/0.7279, allocations: 1.789 MB / 0.8275 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004423/0.7323, allocations: 1.685 MB / 0.8292 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002271/0.7346, allocations: 1.74 MB / 0.8309 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003817/0.735, allocations: 183.5 kB / 0.831 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002418/0.7374, allocations: 1.261 MB / 0.8323 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000748/0.7381, allocations: 0.6441 MB / 0.8329 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000131/0.7383, allocations: 95.38 kB / 0.833 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005827/0.7441, allocations: 3.36 MB / 0.8363 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003299/0.7444, allocations: 255.5 kB / 0.8365 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006673/0.7451, allocations: 0.5062 MB / 0.837 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004397/0.7495, allocations: 2.378 MB / 0.8393 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.7495, allocations: 0 / 0.8393 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7495, allocations: 6.906 kB / 0.8393 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.158e-05/0.7495, allocations: 0 / 0.8393 GB, free: 8.934 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.003496/0.753, allocations: 1.82 MB / 0.8411 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.753, allocations: 11.45 kB / 0.8411 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.893e-05/0.7531, allocations: 24.91 kB / 0.8412 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001611/0.7532, allocations: 143.5 kB / 0.8413 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002077/0.7553, allocations: 297 kB / 0.8416 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00189/0.7572, allocations: 0.8509 MB / 0.8424 GB, free: 6.711 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003009/0.7575, allocations: 275.6 kB / 0.8427 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/0.7577, allocations: 91.41 kB / 0.8428 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002083/0.7597, allocations: 1.017 MB / 0.8437 GB, free: 5.801 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.374e-05/0.7598, allocations: 0 / 0.8437 GB, free: 5.801 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.8e-05/0.7599, allocations: 37.16 kB / 0.8438 GB, free: 5.773 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.7599, allocations: 21.78 kB / 0.8438 GB, free: 5.773 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001794/0.7617, allocations: 0.7932 MB / 0.8446 GB, free: 5.402 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.004986/0.7667, allocations: 2.753 MB / 0.8473 GB, free: 3.371 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00194/0.7686, allocations: 0.8116 MB / 0.8481 GB, free: 2.941 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007897/0.7694, allocations: 411.7 kB / 0.8484 GB, free: 2.742 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003736/0.7698, allocations: 106.9 kB / 0.8485 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.7698, allocations: 40.69 kB / 0.8486 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 3.477e-06/0.7698, allocations: 0 / 0.8486 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.005169/0.775, allocations: 1.709 MB / 0.8503 GB, free: 1.848 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.775, allocations: 60.88 kB / 0.8503 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.7762, allocations: 0.7993 MB / 0.8511 GB, free: 1.328 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.979e-05/0.7763, allocations: 40.52 kB / 0.8511 GB, free: 1.285 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004602/0.7767, allocations: 0.5151 MB / 0.8516 GB, free: 0.8242 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003128/0.777, allocations: 294 kB / 0.8519 GB, free: 0.5664 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003171/0.7774, allocations: 151.5 kB / 0.8521 GB, free: 488 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.7775, allocations: 336.5 kB / 0.8524 GB, free: 152 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007637/0.7783, allocations: 311.6 kB / 0.8527 GB, free: 8 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008932/0.7792, allocations: 397.2 kB / 0.8531 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001663/0.7809, allocations: 0.6934 MB / 0.8537 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.7809, allocations: 0 / 0.8537 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003545/0.7844, allocations: 1.244 MB / 0.855 GB, free: 14 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.7844, allocations: 8 kB / 0.855 GB, free: 14 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.7844, allocations: 0 / 0.855 GB, free: 14 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009019/0.7853, allocations: 245.6 kB / 0.8552 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.7864, allocations: 203.5 kB / 0.8554 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006753/0.7931, allocations: 4.905 MB / 0.8602 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009217/0.7941, allocations: 90.06 kB / 0.8603 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001889/0.7942, allocations: 55.98 kB / 0.8603 GB, free: 8.199 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.0005317/0.7948, allocations: 225.4 kB / 0.8605 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003736/0.7952, allocations: 115.3 kB / 0.8606 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004642/0.7998, allocations: 1.816 MB / 0.8624 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.458e-05/0.7998, allocations: 8 kB / 0.8624 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/0.7998, allocations: 4 kB / 0.8624 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.508e-05/0.7998, allocations: 7.922 kB / 0.8624 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005507/0.8053, allocations: 2.269 MB / 0.8646 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.8053, allocations: 0 / 0.8646 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/0.8064, allocations: 199.8 kB / 0.8648 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008314/0.8072, allocations: 261.6 kB / 0.8651 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001151/0.8073, allocations: 31.98 kB / 0.8651 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006358/0.8137, allocations: 4.902 MB / 0.8699 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.8137, allocations: 0 / 0.8699 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004381/0.8181, allocations: 1.73 MB / 0.8716 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004971/0.8186, allocations: 187 kB / 0.8718 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002215/0.8188, allocations: 20.08 kB / 0.8718 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006748/0.8195, allocations: 39.97 kB / 0.8718 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001806/0.8196, allocations: 90.97 kB / 0.8719 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/0.8198, allocations: 43.98 kB / 0.872 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008507/0.8206, allocations: 0.5605 MB / 0.8725 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/0.8206, allocations: 3.938 kB / 0.8725 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001504/0.8221, allocations: 478.9 kB / 0.873 GB, free: 10.82 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (counterFlowNTU.h_out_A,counterFlowNTU.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 (76): * Single equations (assignments): 73 * 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.005744/0.8279, allocations: 2.725 MB / 0.8756 GB, free: 8.062 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002918/0.8308, allocations: 1.206 MB / 0.8768 GB, free: 6.828 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.8308, allocations: 0 / 0.8768 GB, free: 6.828 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001848/0.8326, allocations: 0.8806 MB / 0.8777 GB, free: 5.926 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001502/0.8341, allocations: 262.4 kB / 0.8779 GB, free: 5.676 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01796/0.8521, allocations: 8.632 MB / 0.8863 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006214/0.8527, allocations: 0.49 MB / 0.8868 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001444/0.8542, allocations: 0.6248 MB / 0.8874 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000946/0.8551, allocations: 0.5265 MB / 0.888 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of SimCode: time 9.32e-07/0.8551, allocations: 0 / 0.888 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07759/0.9327, allocations: 32.48 MB / 0.9197 GB, free: 11.16 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.42/15.35, allocations: 15 kB / 0.9197 GB, free: 11.15 MB / 0.67 GB " [Timeout remaining time 644] (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.27189926209394]