Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.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.001521/0.001521, 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.001486/0.001486, allocations: 170.3 kB / 22.46 MB, free: 2.102 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.309/1.309, allocations: 177.1 MB / 202.8 MB, free: 5.758 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.9695/0.9695, allocations: 80.18 MB / 339.4 MB, free: 7.539 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_zeroMassFlow,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.036e-06/3.036e-06, allocations: 0 / 0.4924 GB, free: 6.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.532e-05/3.835e-05, allocations: 2.281 kB / 0.4924 GB, free: 6.656 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.9476/0.9477, allocations: 179.9 MB / 0.668 GB, free: 4.176 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01466/0.9623, allocations: 10.13 MB / 0.6779 GB, free: 4.055 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00143/0.9638, allocations: 62.97 kB / 0.678 GB, free: 4.055 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001966/0.9657, allocations: 489.6 kB / 0.6784 GB, free: 4.035 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.005983/0.9717, allocations: 1.466 MB / 0.6799 GB, free: 3.992 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.005231/0.9769, allocations: 1.424 MB / 0.6812 GB, free: 3.871 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.002623/0.9796, allocations: 1.577 MB / 0.6828 GB, free: 3.438 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004407/0.98, allocations: 168 kB / 0.683 GB, free: 3.395 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003311/0.9833, allocations: 1.417 MB / 0.6843 GB, free: 3.27 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005039/0.9838, allocations: 397.9 kB / 0.6847 GB, free: 3.215 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.9839, allocations: 78.66 kB / 0.6848 GB, free: 3.215 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005556/0.9895, allocations: 2.442 MB / 0.6872 GB, free: 3.133 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0002477/0.9897, allocations: 210.5 kB / 0.6874 GB, free: 3.086 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0003861/0.9901, allocations: 354 kB / 0.6877 GB, free: 3.035 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.003721/0.9938, allocations: 2 MB / 0.6897 GB, free: 2.816 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.132e-05/0.9939, allocations: 2.906 kB / 0.6897 GB, free: 2.816 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.667e-06/0.9939, allocations: 0.6562 kB / 0.6897 GB, free: 2.816 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.915e-05/0.9939, allocations: 0.625 kB / 0.6897 GB, free: 2.816 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: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.002917/0.9968, allocations: 1.52 MB / 0.6912 GB, free: 2.027 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001064/0.9969, allocations: 17.38 kB / 0.6912 GB, free: 2.027 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001988/0.9971, allocations: 118 kB / 0.6913 GB, free: 1.988 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001194/0.9983, allocations: 266.4 kB / 0.6915 GB, free: 1.918 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/0.9998, allocations: 0.7285 MB / 0.6922 GB, free: 1.621 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002257/1, allocations: 290.9 kB / 0.6925 GB, free: 1.371 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/1, allocations: 72.66 kB / 0.6926 GB, free: 1.371 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/1.001, allocations: 0.8151 MB / 0.6934 GB, free: 1.266 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.752e-05/1.002, allocations: 3.312 kB / 0.6934 GB, free: 1.266 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.38e-05/1.002, allocations: 30.16 kB / 0.6934 GB, free: 1.266 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.17e-05/1.002, allocations: 17.47 kB / 0.6934 GB, free: 1.266 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001256/1.003, allocations: 0.6884 MB / 0.6941 GB, free: 1.262 MB / 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.003656/1.007, allocations: 2.141 MB / 0.6962 GB, free: 0.5078 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001355/1.008, allocations: 0.5528 MB / 0.6967 GB, free: 488 kB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004632/1.008, allocations: 302.5 kB / 0.697 GB, free: 476 kB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002322/1.009, allocations: 76.05 kB / 0.6971 GB, free: 476 kB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/1.009, allocations: 36.94 kB / 0.6971 GB, free: 436 kB / 0.5417 GB Notification: Performance of pre-optimization done (n=59): time 3.406e-06/1.009, allocations: 0.7812 kB / 0.6971 GB, free: 436 kB / 0.5417 GB Notification: Performance of matching and sorting (n=59): time 0.003664/1.012, allocations: 1.48 MB / 0.6986 GB, free: 308 kB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/1.012, allocations: 60.12 kB / 0.6986 GB, free: 244 kB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000803/1.013, allocations: 0.6964 MB / 0.6993 GB, free: 108 kB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.625e-05/1.013, allocations: 34.48 kB / 0.6994 GB, free: 76 kB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004128/1.014, allocations: 462.6 kB / 0.6998 GB, free: 15.9 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001549/1.014, allocations: 212.9 kB / 0.7 GB, free: 15.76 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/1.014, allocations: 111.9 kB / 0.7001 GB, free: 15.74 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002137/1.014, allocations: 328.9 kB / 0.7004 GB, free: 15.44 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005174/1.015, allocations: 225.3 kB / 0.7006 GB, free: 15.43 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004524/1.015, allocations: 310 kB / 0.7009 GB, free: 15.38 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/1.016, allocations: 0.5306 MB / 0.7014 GB, free: 15.31 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-06/1.016, allocations: 0.875 kB / 0.7014 GB, free: 15.31 MB / 0.5573 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.00195/1.018, allocations: 0.9533 MB / 0.7024 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.768e-05/1.018, allocations: 3.469 kB / 0.7024 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/1.018, allocations: 3.688 kB / 0.7024 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000632/1.019, allocations: 215.3 kB / 0.7026 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003817/1.019, allocations: 124 kB / 0.7027 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005039/1.024, allocations: 4.765 MB / 0.7074 GB, free: 11.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003632/1.025, allocations: 78.81 kB / 0.7074 GB, free: 11.45 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/1.025, allocations: 42.89 kB / 0.7075 GB, free: 11.45 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 (59): * Single equations (assignments): 56 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003447/1.025, allocations: 204.9 kB / 0.7077 GB, free: 11.33 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/1.025, allocations: 91.83 kB / 0.7078 GB, free: 11.28 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002477/1.028, allocations: 1.302 MB / 0.709 GB, free: 11.14 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.586e-05/1.028, allocations: 13.23 kB / 0.709 GB, free: 11.14 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/1.028, allocations: 384 / 0.709 GB, free: 11.14 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/1.028, allocations: 7.141 kB / 0.7091 GB, free: 11.14 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002971/1.031, allocations: 1.727 MB / 0.7107 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/1.031, allocations: 4.141 kB / 0.7107 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002775/1.031, allocations: 105.1 kB / 0.7108 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005863/1.031, allocations: 225.4 kB / 0.7111 GB, free: 10.72 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.165e-05/1.032, allocations: 26.36 kB / 0.7111 GB, free: 10.72 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004464/1.036, allocations: 4.712 MB / 0.7157 GB, free: 6.902 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/1.036, allocations: 3.375 kB / 0.7157 GB, free: 6.902 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002243/1.038, allocations: 1.337 MB / 0.717 GB, free: 6.32 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002116/1.038, allocations: 132.2 kB / 0.7171 GB, free: 6.242 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.708e-05/1.039, allocations: 27.89 kB / 0.7171 GB, free: 6.223 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000236/1.039, allocations: 35.19 kB / 0.7172 GB, free: 6.215 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002638/1.039, allocations: 56.44 kB / 0.7172 GB, free: 6.203 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-05/1.039, allocations: 33.94 kB / 0.7173 GB, free: 6.199 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005395/1.04, allocations: 0.4895 MB / 0.7177 GB, free: 5.996 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7.1e-08/1.04, allocations: 0 / 0.7177 GB, free: 5.996 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001379/1.041, allocations: 368.6 kB / 0.7181 GB, free: 5.902 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (crossFlowNTU.h_out_A,crossFlowNTU.h_out_B,flowResistanceA.inlet.m_flow,flowResistanceB.inlet.m_flow) * 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 (51): * Single equations (assignments): 48 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003476/1.045, allocations: 2.26 MB / 0.7203 GB, free: 4.688 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001895/1.046, allocations: 1.005 MB / 0.7213 GB, free: 4.172 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/1.046, allocations: 0 / 0.7213 GB, free: 4.172 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001074/1.047, allocations: 0.7061 MB / 0.722 GB, free: 3.68 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/1.049, allocations: 317 kB / 0.7223 GB, free: 3.508 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/1.06, allocations: 7.022 MB / 0.7291 GB, free: 15.23 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006425/1.06, allocations: 416.3 kB / 0.7295 GB, free: 14.99 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.000946/1.061, allocations: 444.7 kB / 0.73 GB, free: 14.79 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006228/1.062, allocations: 423 kB / 0.7304 GB, free: 14.45 MB / 0.573 GB Notification: Performance of SimCode: time 1.303e-06/1.062, allocations: 0 / 0.7304 GB, free: 14.45 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07237/1.134, allocations: 29.04 MB / 0.7587 GB, free: 3.508 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.773/10.91, allocations: 0 / 0.7587 GB, free: 3.508 MB / 0.5886 GB " [Timeout remaining time 649] (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.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: 14.944112149998546]