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.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.001092/0.001092, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001141/0.001141, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.354/1.354, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.9754/0.9754, allocations: 80.18 MB / 339.4 MB, free: 7.555 MB / 314.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.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.CrossFlowNTU,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.49e-06/5.49e-06, allocations: 0 / 0.4924 GB, free: 6.664 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.482e-05/9.031e-05, allocations: 5.844 kB / 0.4924 GB, free: 6.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.9806/0.9807, allocations: 191.3 MB / 0.6792 GB, free: 3.988 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01637/0.9971, allocations: 12.5 MB / 0.6914 GB, free: 3.805 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001623/0.9987, allocations: 73.09 kB / 0.6914 GB, free: 3.805 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.002221/1.001, allocations: 0.5673 MB / 0.692 GB, free: 3.785 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.005957/1.007, allocations: 1.917 MB / 0.6939 GB, free: 3.492 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.006035/1.013, allocations: 1.714 MB / 0.6955 GB, free: 3.301 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.002571/1.015, allocations: 1.962 MB / 0.6974 GB, free: 2.742 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005016/1.016, allocations: 181.1 kB / 0.6976 GB, free: 2.699 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003457/1.019, allocations: 1.599 MB / 0.6992 GB, free: 2.555 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007119/1.02, allocations: 0.506 MB / 0.6997 GB, free: 2.48 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0002163/1.02, allocations: 92.88 kB / 0.6998 GB, free: 2.48 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00704/1.027, allocations: 3.324 MB / 0.703 GB, free: 2.379 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0002475/1.028, allocations: 253.7 kB / 0.7033 GB, free: 2.316 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0004946/1.028, allocations: 437.4 kB / 0.7037 GB, free: 2.258 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.004227/1.032, allocations: 2.517 MB / 0.7061 GB, free: 1.98 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/1.032, allocations: 0 / 0.7061 GB, free: 1.98 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.897e-06/1.032, allocations: 0 / 0.7061 GB, free: 1.98 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.546e-05/1.032, allocations: 0.9375 kB / 0.7061 GB, free: 1.98 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.003473/1.036, allocations: 1.834 MB / 0.7079 GB, free: 1.055 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 8.065e-05/1.036, allocations: 13.19 kB / 0.7079 GB, free: 1.055 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000275/1.036, allocations: 141.6 kB / 0.7081 GB, free: 1.016 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001348/1.038, allocations: 309.1 kB / 0.7084 GB, free: 0.9336 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001669/1.039, allocations: 0.8622 MB / 0.7092 GB, free: 0.6016 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003021/1.04, allocations: 300.8 kB / 0.7095 GB, free: 356 kB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001956/1.04, allocations: 97.2 kB / 0.7096 GB, free: 352 kB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00168/1.041, allocations: 1.004 MB / 0.7106 GB, free: 220 kB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.092e-05/1.041, allocations: 3.781 kB / 0.7106 GB, free: 220 kB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-05/1.042, allocations: 42.88 kB / 0.7106 GB, free: 216 kB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-05/1.042, allocations: 23.78 kB / 0.7106 GB, free: 216 kB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001527/1.043, allocations: 0.8243 MB / 0.7114 GB, free: 208 kB / 0.5417 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.004269/1.047, allocations: 2.861 MB / 0.7142 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001622/1.049, allocations: 0.8091 MB / 0.715 GB, free: 14.83 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000572/1.05, allocations: 384.7 kB / 0.7154 GB, free: 14.69 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002648/1.05, allocations: 100.4 kB / 0.7155 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.546e-05/1.05, allocations: 39.44 kB / 0.7155 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=80): time 3.587e-06/1.05, allocations: 1.031 kB / 0.7155 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of matching and sorting (n=80): time 0.003874/1.054, allocations: 1.744 MB / 0.7172 GB, free: 14.17 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/1.054, allocations: 60.72 kB / 0.7173 GB, free: 14.11 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008912/1.055, allocations: 0.8297 MB / 0.7181 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.317e-05/1.055, allocations: 43.98 kB / 0.7181 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003753/1.055, allocations: 0.5332 MB / 0.7187 GB, free: 13.23 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002862/1.056, allocations: 289.2 kB / 0.7189 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002087/1.056, allocations: 152.9 kB / 0.7191 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001532/1.056, allocations: 335.7 kB / 0.7194 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004997/1.056, allocations: 296 kB / 0.7197 GB, free: 12.43 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006009/1.057, allocations: 386.8 kB / 0.72 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/1.058, allocations: 0.6705 MB / 0.7207 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/1.058, allocations: 0 / 0.7207 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002148/1.06, allocations: 1.174 MB / 0.7218 GB, free: 11.28 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/1.06, allocations: 6.625 kB / 0.7219 GB, free: 11.28 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/1.06, allocations: 1.562 kB / 0.7219 GB, free: 11.28 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007555/1.061, allocations: 233.8 kB / 0.7221 GB, free: 11.16 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005008/1.062, allocations: 175.2 kB / 0.7222 GB, free: 11.12 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005014/1.067, allocations: 4.895 MB / 0.727 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004393/1.067, allocations: 99.3 kB / 0.7271 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.973e-05/1.067, allocations: 54.17 kB / 0.7272 GB, free: 6.598 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (84): * Single equations (assignments): 81 * 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 {(2,2,100.0%), (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.0003585/1.067, allocations: 229.4 kB / 0.7274 GB, free: 6.418 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000243/1.068, allocations: 124.3 kB / 0.7275 GB, free: 6.352 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0028/1.07, allocations: 1.737 MB / 0.7292 GB, free: 5.41 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.992e-05/1.07, allocations: 8.219 kB / 0.7292 GB, free: 5.41 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/1.07, allocations: 2.75 kB / 0.7292 GB, free: 5.41 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.219e-05/1.071, allocations: 11.97 kB / 0.7292 GB, free: 5.398 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003795/1.074, allocations: 2.153 MB / 0.7313 GB, free: 4.078 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/1.074, allocations: 1.438 kB / 0.7313 GB, free: 4.078 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005403/1.075, allocations: 169.1 kB / 0.7315 GB, free: 4.047 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005851/1.075, allocations: 232.4 kB / 0.7317 GB, free: 3.926 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.169e-05/1.076, allocations: 39.47 kB / 0.7318 GB, free: 3.902 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004669/1.08, allocations: 4.84 MB / 0.7365 GB, free: 15.48 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/1.08, allocations: 6.844 kB / 0.7365 GB, free: 15.47 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002657/1.083, allocations: 1.675 MB / 0.7381 GB, free: 14.55 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002908/1.083, allocations: 187.9 kB / 0.7383 GB, free: 14.41 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.721e-05/1.083, allocations: 28.06 kB / 0.7383 GB, free: 14.39 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003102/1.084, allocations: 38.34 kB / 0.7384 GB, free: 14.37 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001869/1.084, allocations: 87.8 kB / 0.7384 GB, free: 14.32 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-05/1.084, allocations: 42.73 kB / 0.7385 GB, free: 14.31 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0006798/1.084, allocations: 0.573 MB / 0.739 GB, free: 13.98 MB / 0.573 GB Notification: Performance of sort global known variables: time 9.1e-08/1.084, allocations: 0 / 0.739 GB, free: 13.98 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00166/1.086, allocations: 0.4944 MB / 0.7395 GB, free: 13.83 MB / 0.573 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%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004112/1.09, allocations: 2.712 MB / 0.7422 GB, free: 11.19 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001994/1.092, allocations: 1.181 MB / 0.7433 GB, free: 9.98 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/1.092, allocations: 0 / 0.7433 GB, free: 9.98 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0009632/1.093, allocations: 0.8212 MB / 0.7441 GB, free: 9.141 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/1.095, allocations: 395.6 kB / 0.7445 GB, free: 8.766 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01223/1.107, allocations: 8.524 MB / 0.7528 GB, free: 104 kB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007115/1.108, allocations: 0.4964 MB / 0.7533 GB, free: 15.57 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001207/1.109, allocations: 0.6517 MB / 0.754 GB, free: 14.92 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007045/1.109, allocations: 0.5236 MB / 0.7545 GB, free: 14.4 MB / 0.5886 GB Notification: Performance of SimCode: time 1.893e-06/1.109, allocations: 0 / 0.7545 GB, free: 14.4 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08419/1.194, allocations: 36.23 MB / 0.7899 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.32/11.51, allocations: 10.02 kB / 0.7899 GB, free: 10.6 MB / 0.6198 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_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: 15.644792241975665]