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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 102.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.001591/0.001591, allocations: 188.6 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.732/1.732, allocations: 225.6 MB / 247.8 MB, free: 3.719 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.8085/0.8085, allocations: 94.61 MB / 397.3 MB, free: 472 kB / 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_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 0.002777/0.002777, allocations: 83.86 kB / 0.5416 GB, free: 14.04 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6463/0.6491, allocations: 71.85 MB / 0.6118 GB, free: 3.953 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.3369/0.986, allocations: 215.1 MB / 0.8219 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02921/1.015, allocations: 17.5 MB / 0.8389 GB, free: 12.21 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002258/1.017, allocations: 55.62 kB / 0.839 GB, free: 12.16 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002372/1.02, allocations: 0.617 MB / 0.8396 GB, free: 11.54 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007127/1.027, allocations: 1.771 MB / 0.8413 GB, free: 9.758 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006265/1.033, allocations: 1.689 MB / 0.843 GB, free: 8.066 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00378/1.037, allocations: 1.712 MB / 0.8447 GB, free: 6.34 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004967/1.038, allocations: 198.5 kB / 0.8448 GB, free: 6.137 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003138/1.041, allocations: 1.218 MB / 0.846 GB, free: 4.914 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001137/1.042, allocations: 0.6413 MB / 0.8467 GB, free: 4.27 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002241/1.042, allocations: 96 kB / 0.8468 GB, free: 4.176 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009688/1.052, allocations: 3.463 MB / 0.8501 GB, free: 0.707 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007015/1.052, allocations: 246.9 kB / 0.8504 GB, free: 476 kB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.00115/1.054, allocations: 0.6176 MB / 0.851 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.007882/1.061, allocations: 2.382 MB / 0.8533 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/1.061, allocations: 0 / 0.8533 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.515e-06/1.061, allocations: 0 / 0.8533 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.587e-05/1.062, allocations: 0 / 0.8533 GB, free: 13.45 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.004904/1.066, allocations: 1.901 MB / 0.8552 GB, free: 11.49 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/1.066, allocations: 16.03 kB / 0.8552 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001827/1.067, allocations: 143.6 kB / 0.8553 GB, free: 11.33 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002183/1.069, allocations: 294.8 kB / 0.8556 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00265/1.071, allocations: 0.9374 MB / 0.8565 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004592/1.072, allocations: 196.7 kB / 0.8567 GB, free: 9.844 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001937/1.072, allocations: 91.98 kB / 0.8568 GB, free: 9.754 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002317/1.074, allocations: 1.005 MB / 0.8578 GB, free: 8.719 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.394e-05/1.074, allocations: 7.922 kB / 0.8578 GB, free: 8.711 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.419e-05/1.075, allocations: 36 kB / 0.8578 GB, free: 8.676 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.778e-05/1.075, allocations: 24 kB / 0.8578 GB, free: 8.652 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00213/1.077, allocations: 0.7846 MB / 0.8586 GB, free: 7.871 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.007476/1.084, allocations: 4.116 MB / 0.8626 GB, free: 3.406 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002223/1.086, allocations: 0.8081 MB / 0.8634 GB, free: 2.594 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009114/1.087, allocations: 407.2 kB / 0.8638 GB, free: 2.191 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001201/1.089, allocations: 1.303 MB / 0.8651 GB, free: 0.5898 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.919e-05/1.089, allocations: 39.22 kB / 0.8651 GB, free: 0.543 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=80): time 3.346e-06/1.089, allocations: 8 kB / 0.8651 GB, free: 0.5352 MB / 0.6856 GB Notification: Performance of matching and sorting (n=80): time 0.5062/1.595, allocations: 1.908 MB / 0.867 GB, free: 236.2 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/1.595, allocations: 64.75 kB / 0.867 GB, free: 236.1 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001498/1.596, allocations: 0.7982 MB / 0.8678 GB, free: 235.9 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 9.76e-05/1.596, allocations: 43.27 kB / 0.8679 GB, free: 235.8 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004781/1.597, allocations: 0.5168 MB / 0.8684 GB, free: 235.5 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004885/1.597, allocations: 292.5 kB / 0.8686 GB, free: 235.3 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003105/1.598, allocations: 156.8 kB / 0.8688 GB, free: 235.2 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001342/1.598, allocations: 335.1 kB / 0.8691 GB, free: 234.9 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007175/1.599, allocations: 311.3 kB / 0.8694 GB, free: 234.8 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009601/1.6, allocations: 385.9 kB / 0.8698 GB, free: 234.7 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/1.601, allocations: 0.6863 MB / 0.8704 GB, free: 234.4 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/1.601, allocations: 2.844 kB / 0.8704 GB, free: 234.4 MB / 0.6856 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003577/1.604, allocations: 1.235 MB / 0.8716 GB, free: 234 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 6.228e-05/1.605, allocations: 7.594 kB / 0.8717 GB, free: 234 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/1.605, allocations: 3.375 kB / 0.8717 GB, free: 234 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001002/1.606, allocations: 243 kB / 0.8719 GB, free: 233.9 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/1.607, allocations: 203.4 kB / 0.8721 GB, free: 233.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006201/1.613, allocations: 5.235 MB / 0.8772 GB, free: 229.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/1.614, allocations: 87.8 kB / 0.8773 GB, free: 229.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001679/1.614, allocations: 58.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.0005932/1.615, allocations: 226 kB / 0.8776 GB, free: 229.1 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005717/1.615, allocations: 117.1 kB / 0.8777 GB, free: 229 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005125/1.621, allocations: 1.824 MB / 0.8794 GB, free: 228.5 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.192e-05/1.621, allocations: 11.23 kB / 0.8795 GB, free: 228.5 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.214e-05/1.621, allocations: 3.188 kB / 0.8795 GB, free: 228.5 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-05/1.621, allocations: 3.656 kB / 0.8795 GB, free: 228.5 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006516/1.627, allocations: 2.491 MB / 0.8819 GB, free: 227.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.317e-06/1.627, allocations: 1.312 kB / 0.8819 GB, free: 227.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001301/1.628, allocations: 199.3 kB / 0.8821 GB, free: 227.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001018/1.629, allocations: 248.5 kB / 0.8823 GB, free: 227.2 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001775/1.63, allocations: 36.66 kB / 0.8824 GB, free: 227.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006356/1.636, allocations: 5.235 MB / 0.8875 GB, free: 222.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/1.636, allocations: 6.625 kB / 0.8875 GB, free: 222.7 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005189/1.641, allocations: 1.726 MB / 0.8892 GB, free: 221.9 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007715/1.642, allocations: 266.1 kB / 0.8894 GB, free: 221.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/1.642, allocations: 18.95 kB / 0.8894 GB, free: 221.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005529/1.643, allocations: 45.11 kB / 0.8895 GB, free: 221.7 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001979/1.643, allocations: 73.53 kB / 0.8895 GB, free: 221.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000111/1.643, allocations: 51.05 kB / 0.8896 GB, free: 221.7 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009201/1.644, allocations: 0.5573 MB / 0.8901 GB, free: 221.5 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/1.644, allocations: 0 / 0.8901 GB, free: 221.5 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002216/1.646, allocations: 481 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.006088/1.652, allocations: 2.753 MB / 0.8933 GB, free: 220 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003049/1.655, allocations: 1.205 MB / 0.8945 GB, free: 219.4 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/1.655, allocations: 0 / 0.8945 GB, free: 219.4 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001861/1.657, allocations: 0.8743 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.001588/1.659, allocations: 265.5 kB / 0.8956 GB, free: 218.8 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01963/1.678, allocations: 8.629 MB / 0.904 GB, free: 214 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009018/1.679, allocations: 1.081 MB / 0.9051 GB, free: 213.2 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001828/1.681, allocations: 0.628 MB / 0.9057 GB, free: 212.9 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007118/1.682, allocations: 0.5214 MB / 0.9062 GB, free: 212.4 MB / 0.6856 GB Notification: Performance of SimCode: time 1.122e-06/1.682, allocations: 0 / 0.9062 GB, free: 212.4 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08984/1.772, allocations: 31.02 MB / 0.9365 GB, free: 185.4 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.78/16.56, allocations: 18.33 kB / 0.9365 GB, free: 185.4 MB / 0.6856 GB " [Timeout remaining time 643] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 20.85873746080324]