Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 104.7 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.6221/0.6221, allocations: 94.61 MB / 397.3 MB, free: 0.5547 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-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: "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002415/0.002415, allocations: 83.86 kB / 0.5416 GB, free: 14.03 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4172/0.4197, allocations: 71.85 MB / 0.6118 GB, free: 3.957 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.2677/0.6874, allocations: 215.1 MB / 0.8219 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02323/0.7106, allocations: 17.5 MB / 0.839 GB, free: 12.13 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001166/0.7118, allocations: 51.69 kB / 0.839 GB, free: 12.08 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001885/0.7137, allocations: 0.6169 MB / 0.8396 GB, free: 11.46 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004706/0.7184, allocations: 1.775 MB / 0.8413 GB, free: 9.676 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004762/0.7231, allocations: 1.685 MB / 0.843 GB, free: 7.988 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002575/0.7257, allocations: 1.72 MB / 0.8447 GB, free: 6.254 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004065/0.7261, allocations: 198.5 kB / 0.8449 GB, free: 6.051 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002619/0.7287, allocations: 1.218 MB / 0.8461 GB, free: 4.828 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008525/0.7296, allocations: 0.6374 MB / 0.8467 GB, free: 4.188 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001333/0.7297, allocations: 92 kB / 0.8468 GB, free: 4.098 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006816/0.7365, allocations: 3.46 MB / 0.8501 GB, free: 0.6328 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004236/0.737, allocations: 254.9 kB / 0.8504 GB, free: 392 kB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0007347/0.7377, allocations: 0.6177 MB / 0.851 GB, free: 15.76 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005042/0.7427, allocations: 2.378 MB / 0.8533 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.7427, allocations: 4 kB / 0.8533 GB, free: 13.37 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.934e-06/0.7427, allocations: 0 / 0.8533 GB, free: 13.37 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.278e-05/0.7428, allocations: 0 / 0.8533 GB, free: 13.37 MB / 0.6856 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.003991/0.7468, allocations: 1.901 MB / 0.8552 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.7468, allocations: 8.031 kB / 0.8552 GB, free: 11.4 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001604/0.747, allocations: 147.5 kB / 0.8553 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002327/0.7493, allocations: 298.8 kB / 0.8556 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001903/0.7512, allocations: 0.9374 MB / 0.8565 GB, free: 9.977 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002243/0.7514, allocations: 200.7 kB / 0.8567 GB, free: 9.758 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001507/0.7516, allocations: 92 kB / 0.8568 GB, free: 9.668 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001975/0.7535, allocations: 1.001 MB / 0.8578 GB, free: 8.637 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.7536, allocations: 0 / 0.8578 GB, free: 8.637 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.272e-05/0.7537, allocations: 36 kB / 0.8578 GB, free: 8.602 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.441e-05/0.7537, allocations: 20 kB / 0.8578 GB, free: 8.582 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001808/0.7555, allocations: 0.7885 MB / 0.8586 GB, free: 7.797 MB / 0.6856 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.00581/0.7613, allocations: 4.124 MB / 0.8626 GB, free: 3.324 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00195/0.7632, allocations: 0.812 MB / 0.8634 GB, free: 2.508 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000783/0.764, allocations: 395.2 kB / 0.8638 GB, free: 2.117 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000961/0.765, allocations: 1.299 MB / 0.8651 GB, free: 0.5195 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001028/0.7651, allocations: 55.16 kB / 0.8651 GB, free: 468 kB / 0.6856 GB Notification: Performance of pre-optimization done (n=80): time 1.613e-05/0.7651, allocations: 0 / 0.8651 GB, free: 468 kB / 0.6856 GB Notification: Performance of matching and sorting (n=80): time 0.2766/1.042, allocations: 1.913 MB / 0.867 GB, free: 236.2 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/1.042, allocations: 60.86 kB / 0.867 GB, free: 236.1 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000826/1.043, allocations: 0.7985 MB / 0.8678 GB, free: 235.9 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.79e-05/1.043, allocations: 36.2 kB / 0.8679 GB, free: 235.8 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002662/1.043, allocations: 0.5213 MB / 0.8684 GB, free: 235.5 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001525/1.043, allocations: 289.3 kB / 0.8686 GB, free: 235.3 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002077/1.043, allocations: 155.9 kB / 0.8688 GB, free: 235.2 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 5.512e-05/1.043, allocations: 336.7 kB / 0.8691 GB, free: 234.9 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006743/1.044, allocations: 312.6 kB / 0.8694 GB, free: 234.8 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006424/1.045, allocations: 388 kB / 0.8698 GB, free: 234.7 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/1.046, allocations: 0.6906 MB / 0.8705 GB, free: 234.4 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.046, allocations: 0 / 0.8705 GB, free: 234.4 MB / 0.6856 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002859/1.049, allocations: 1.232 MB / 0.8717 GB, free: 234 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/1.049, allocations: 6.25 kB / 0.8717 GB, free: 234 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/1.049, allocations: 0 / 0.8717 GB, free: 234 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007387/1.05, allocations: 253.6 kB / 0.8719 GB, free: 233.9 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008438/1.05, allocations: 199.8 kB / 0.8721 GB, free: 233.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004946/1.055, allocations: 5.225 MB / 0.8772 GB, free: 229.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005484/1.056, allocations: 88.8 kB / 0.8773 GB, free: 229.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.647e-05/1.056, allocations: 54.53 kB / 0.8773 GB, free: 229.3 MB / 0.6856 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.0003356/1.056, allocations: 230.5 kB / 0.8776 GB, free: 229.1 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002657/1.057, allocations: 112.8 kB / 0.8777 GB, free: 229 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004072/1.061, allocations: 1.828 MB / 0.8794 GB, free: 228.5 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/1.061, allocations: 9 kB / 0.8795 GB, free: 228.5 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/1.061, allocations: 2.391 kB / 0.8795 GB, free: 228.5 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/1.061, allocations: 5.609 kB / 0.8795 GB, free: 228.5 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004907/1.066, allocations: 2.496 MB / 0.8819 GB, free: 227.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/1.066, allocations: 1.328 kB / 0.8819 GB, free: 227.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/1.067, allocations: 198.9 kB / 0.8821 GB, free: 227.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009251/1.068, allocations: 252.9 kB / 0.8823 GB, free: 227.2 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.831e-05/1.068, allocations: 33.62 kB / 0.8824 GB, free: 227.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005041/1.073, allocations: 5.233 MB / 0.8875 GB, free: 222.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.073, allocations: 1.156 kB / 0.8875 GB, free: 222.7 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003687/1.076, allocations: 1.728 MB / 0.8892 GB, free: 221.9 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003397/1.077, allocations: 262.3 kB / 0.8894 GB, free: 221.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/1.077, allocations: 27.7 kB / 0.8894 GB, free: 221.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005356/1.077, allocations: 44.31 kB / 0.8895 GB, free: 221.7 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/1.078, allocations: 76.95 kB / 0.8896 GB, free: 221.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002813/1.078, allocations: 47.36 kB / 0.8896 GB, free: 221.7 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006486/1.078, allocations: 0.5569 MB / 0.8901 GB, free: 221.5 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/1.078, allocations: 0 / 0.8901 GB, free: 221.5 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001459/1.08, allocations: 480.4 kB / 0.8906 GB, free: 221.4 MB / 0.6856 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.004454/1.084, allocations: 2.751 MB / 0.8933 GB, free: 220 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002302/1.087, allocations: 1.21 MB / 0.8945 GB, free: 219.4 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/1.087, allocations: 0 / 0.8945 GB, free: 219.4 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001537/1.088, allocations: 0.8818 MB / 0.8953 GB, free: 218.9 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/1.089, allocations: 260 kB / 0.8956 GB, free: 218.9 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01377/1.103, allocations: 8.613 MB / 0.904 GB, free: 214 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004825/1.104, allocations: 1.081 MB / 0.905 GB, free: 213.1 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001266/1.105, allocations: 0.6461 MB / 0.9057 GB, free: 212.8 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007008/1.106, allocations: 0.5207 MB / 0.9062 GB, free: 212.4 MB / 0.6856 GB Notification: Performance of SimCode: time 5.21e-07/1.106, allocations: 0 / 0.9062 GB, free: 212.4 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0675/1.173, allocations: 31.02 MB / 0.9365 GB, free: 185.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.55/13.72, allocations: 10.73 kB / 0.9365 GB, free: 185.3 MB / 0.6856 GB " [Timeout remaining time 646] (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU.fmu > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.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: 17.192564307246357]