Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.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.001337/0.001337, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001595/0.001595, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.579/1.579, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.9975/0.9975, allocations: 100.9 MB / 413.3 MB, free: 2.891 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_serial,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial",fmuType="me",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.002629/0.002629, allocations: 94.34 kB / 0.5641 GB, free: 35.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.211, allocations: 74.61 MB / 0.6369 GB, free: 6.473 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.8817/1.093, allocations: 205.8 MB / 0.8379 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0322/1.125, allocations: 20.28 MB / 0.8577 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002861/1.128, allocations: 88.94 kB / 0.8578 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003182/1.131, allocations: 0.7109 MB / 0.8585 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.008668/1.14, allocations: 2.088 MB / 0.8605 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.008397/1.148, allocations: 2.184 MB / 0.8627 GB, free: 244 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004861/1.153, allocations: 2.222 MB / 0.8649 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009295/1.154, allocations: 262.6 kB / 0.8651 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004185/1.158, allocations: 1.46 MB / 0.8665 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00229/1.16, allocations: 0.7612 MB / 0.8673 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0006736/1.161, allocations: 130.9 kB / 0.8674 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01133/1.172, allocations: 3.937 MB / 0.8712 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0009157/1.173, allocations: 350.5 kB / 0.8716 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002027/1.175, allocations: 0.6606 MB / 0.8722 GB, free: 9.391 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01002/1.185, allocations: 3.021 MB / 0.8752 GB, free: 6.359 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/1.185, allocations: 0 / 0.8752 GB, free: 6.359 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.355e-06/1.185, allocations: 0 / 0.8752 GB, free: 6.359 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001154/1.185, allocations: 0 / 0.8752 GB, free: 6.359 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.006955/1.192, allocations: 2.31 MB / 0.8774 GB, free: 4.008 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/1.192, allocations: 13.47 kB / 0.8774 GB, free: 3.996 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002443/1.193, allocations: 181.9 kB / 0.8776 GB, free: 3.809 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003217/1.196, allocations: 434.4 kB / 0.878 GB, free: 3.383 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002568/1.198, allocations: 1.036 MB / 0.879 GB, free: 2.297 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006369/1.199, allocations: 0.5407 MB / 0.8796 GB, free: 1.656 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002375/1.199, allocations: 131.9 kB / 0.8797 GB, free: 1.527 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00304/1.202, allocations: 1.415 MB / 0.8811 GB, free: 64 kB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.994e-05/1.202, allocations: 0 / 0.8811 GB, free: 64 kB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001219/1.202, allocations: 48 kB / 0.8811 GB, free: 16 kB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.273e-05/1.203, allocations: 32.05 kB / 0.8811 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003047/1.206, allocations: 1.266 MB / 0.8824 GB, free: 14.71 MB / 0.6387 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.007093/1.213, allocations: 3.455 MB / 0.8858 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003146/1.216, allocations: 1.253 MB / 0.887 GB, free: 9.918 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001474/1.217, allocations: 0.631 MB / 0.8876 GB, free: 9.277 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005037/1.218, allocations: 144.9 kB / 0.8877 GB, free: 9.137 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.21e-05/1.218, allocations: 47.55 kB / 0.8878 GB, free: 9.082 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=113): time 3.466e-06/1.218, allocations: 0 / 0.8878 GB, free: 9.082 MB / 0.6387 GB Notification: Performance of matching and sorting (n=113): time 0.009651/1.227, allocations: 2.821 MB / 0.8905 GB, free: 6.242 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.277e-05/1.228, allocations: 68.39 kB / 0.8906 GB, free: 6.164 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001518/1.229, allocations: 0.9173 MB / 0.8915 GB, free: 5.234 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.824e-05/1.229, allocations: 45.7 kB / 0.8915 GB, free: 5.184 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006308/1.23, allocations: 0.6389 MB / 0.8922 GB, free: 4.539 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004333/1.23, allocations: 408.5 kB / 0.8926 GB, free: 4.137 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003778/1.231, allocations: 202.9 kB / 0.8927 GB, free: 3.934 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000277/1.231, allocations: 345.9 kB / 0.8931 GB, free: 3.59 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001103/1.232, allocations: 466.3 kB / 0.8935 GB, free: 3.133 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001283/1.233, allocations: 0.5471 MB / 0.8941 GB, free: 2.574 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002364/1.236, allocations: 0.9959 MB / 0.895 GB, free: 1.562 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/1.236, allocations: 0 / 0.895 GB, free: 1.562 MB / 0.6387 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.004875/1.241, allocations: 1.745 MB / 0.8967 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.574e-05/1.241, allocations: 8.922 kB / 0.8967 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/1.241, allocations: 4 kB / 0.8967 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001344/1.242, allocations: 383.1 kB / 0.8971 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/1.243, allocations: 235.7 kB / 0.8973 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01056/1.254, allocations: 6.882 MB / 0.9041 GB, free: 7.832 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/1.255, allocations: 131.2 kB / 0.9042 GB, free: 7.703 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001797/1.255, allocations: 71.97 kB / 0.9043 GB, free: 7.633 MB / 0.6544 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 (112): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,2,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007793/1.256, allocations: 266.8 kB / 0.9045 GB, free: 7.363 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005215/1.257, allocations: 139.1 kB / 0.9046 GB, free: 7.227 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006267/1.263, allocations: 2.541 MB / 0.9071 GB, free: 4.672 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.681e-05/1.263, allocations: 19.92 kB / 0.9071 GB, free: 4.652 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.339e-05/1.263, allocations: 4.375 kB / 0.9071 GB, free: 4.648 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/1.263, allocations: 7.922 kB / 0.9072 GB, free: 4.641 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007269/1.27, allocations: 3.057 MB / 0.9101 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/1.27, allocations: 4.031 kB / 0.9101 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001288/1.271, allocations: 231.8 kB / 0.9104 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001279/1.273, allocations: 387 kB / 0.9107 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001194/1.273, allocations: 47.97 kB / 0.9108 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01031/1.283, allocations: 6.865 MB / 0.9175 GB, free: 9.512 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.283, allocations: 4.031 kB / 0.9175 GB, free: 9.508 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00655/1.29, allocations: 2.498 MB / 0.9199 GB, free: 6.973 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007744/1.29, allocations: 242.6 kB / 0.9202 GB, free: 6.734 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002127/1.291, allocations: 35.86 kB / 0.9202 GB, free: 6.699 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008312/1.291, allocations: 71.94 kB / 0.9203 GB, free: 6.629 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002431/1.292, allocations: 100.8 kB / 0.9204 GB, free: 6.527 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001449/1.292, allocations: 67.97 kB / 0.9204 GB, free: 6.461 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001023/1.293, allocations: 0.6312 MB / 0.921 GB, free: 5.824 MB / 0.67 GB Notification: Performance of sort global known variables: time 7e-08/1.293, allocations: 0 / 0.921 GB, free: 5.824 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002203/1.295, allocations: 0.6079 MB / 0.9216 GB, free: 5.215 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,counterFlowNTU1.h_out_A,counterFlowNTU1.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 (106): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,5,100.0%), (1,5,100.0%), (2,2,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.008322/1.303, allocations: 3.624 MB / 0.9252 GB, free: 1.539 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004177/1.308, allocations: 1.698 MB / 0.9268 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/1.308, allocations: 0 / 0.9268 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002398/1.31, allocations: 1.215 MB / 0.928 GB, free: 14.53 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001722/1.312, allocations: 326.8 kB / 0.9283 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0234/1.335, allocations: 11.07 MB / 0.9391 GB, free: 2.922 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008105/1.336, allocations: 0.6249 MB / 0.9397 GB, free: 2.258 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002057/1.338, allocations: 0.8392 MB / 0.9406 GB, free: 1.426 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001112/1.339, allocations: 0.6788 MB / 0.9412 GB, free: 0.7461 MB / 0.6856 GB Notification: Performance of SimCode: time 1.262e-06/1.339, allocations: 0 / 0.9412 GB, free: 0.7461 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.108/1.447, allocations: 41.13 MB / 0.9814 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.74/17.18, allocations: 8.062 kB / 0.9814 GB, free: 8.027 MB / 0.7325 GB " [Timeout remaining time 643] (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial.fmu > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.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: 21.56752292625606]