Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001208/0.001208, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001422/0.001422, allocations: 215.3 kB / 23.04 MB, free: 5.074 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.389/1.389, allocations: 230.6 MB / 256.8 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.7141/0.7141, allocations: 94.56 MB / 407.8 MB, free: 9.156 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/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_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial",fmuType="cs",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.00237/0.00237, allocations: 77.91 kB / 0.5557 GB, free: 38.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1142, allocations: 73.05 MB / 0.6271 GB, free: 324 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.5869/0.7011, allocations: 236.7 MB / 0.8582 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02644/0.7275, allocations: 22.54 MB / 0.8802 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00213/0.7297, allocations: 91.12 kB / 0.8803 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002262/0.7319, allocations: 0.8032 MB / 0.8811 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006069/0.738, allocations: 2.107 MB / 0.8831 GB, free: 8.664 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006004/0.744, allocations: 2.218 MB / 0.8853 GB, free: 6.445 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003681/0.7477, allocations: 2.251 MB / 0.8875 GB, free: 4.184 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005559/0.7482, allocations: 261.6 kB / 0.8877 GB, free: 3.902 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003249/0.7515, allocations: 1.46 MB / 0.8892 GB, free: 2.438 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001694/0.7532, allocations: 0.8591 MB / 0.89 GB, free: 1.574 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002876/0.7535, allocations: 132 kB / 0.8901 GB, free: 1.445 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009817/0.7633, allocations: 4.224 MB / 0.8943 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005542/0.7638, allocations: 354.5 kB / 0.8946 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00109/0.7649, allocations: 0.8237 MB / 0.8954 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.009037/0.774, allocations: 3.048 MB / 0.8984 GB, free: 8.98 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.787e-06/0.774, allocations: 4 kB / 0.8984 GB, free: 8.977 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.454e-06/0.774, allocations: 0 / 0.8984 GB, free: 8.977 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.663e-05/0.774, allocations: 3.938 kB / 0.8984 GB, free: 8.973 MB / 0.6387 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.005083/0.7791, allocations: 2.328 MB / 0.9007 GB, free: 6.605 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.7791, allocations: 8.031 kB / 0.9007 GB, free: 6.598 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.663e-05/0.7792, allocations: 34.39 kB / 0.9007 GB, free: 6.562 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002142/0.7794, allocations: 185.9 kB / 0.9009 GB, free: 6.371 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002969/0.7824, allocations: 434.4 kB / 0.9013 GB, free: 5.945 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002196/0.7846, allocations: 1.028 MB / 0.9023 GB, free: 4.867 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004891/0.7851, allocations: 0.4944 MB / 0.9028 GB, free: 4.285 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00023/0.7853, allocations: 128 kB / 0.9029 GB, free: 4.16 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003006/0.7883, allocations: 1.454 MB / 0.9043 GB, free: 2.656 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.531e-05/0.7883, allocations: 0 / 0.9043 GB, free: 2.656 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001276/0.7884, allocations: 56.81 kB / 0.9044 GB, free: 2.602 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.672e-05/0.7885, allocations: 32 kB / 0.9044 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002806/0.7913, allocations: 1.188 MB / 0.9056 GB, free: 1.375 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.007687/0.799, allocations: 5.159 MB / 0.9106 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003125/0.8021, allocations: 1.248 MB / 0.9118 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001608/0.8037, allocations: 0.6699 MB / 0.9125 GB, free: 9.926 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004931/0.8042, allocations: 152.8 kB / 0.9126 GB, free: 9.777 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.8042, allocations: 48.19 kB / 0.9127 GB, free: 9.723 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=113): time 3.216e-06/0.8042, allocations: 4 kB / 0.9127 GB, free: 9.719 MB / 0.6544 GB Notification: Performance of matching and sorting (n=113): time 0.009169/0.8134, allocations: 2.751 MB / 0.9153 GB, free: 6.945 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.8134, allocations: 64.41 kB / 0.9154 GB, free: 6.871 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.8147, allocations: 0.9135 MB / 0.9163 GB, free: 5.945 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001275/0.8148, allocations: 45.7 kB / 0.9163 GB, free: 5.895 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005064/0.8153, allocations: 0.6428 MB / 0.917 GB, free: 5.246 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003689/0.8157, allocations: 404.5 kB / 0.9174 GB, free: 4.848 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003843/0.8161, allocations: 206.9 kB / 0.9176 GB, free: 4.641 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.8162, allocations: 341.9 kB / 0.9179 GB, free: 4.301 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001296/0.8175, allocations: 0.4944 MB / 0.9184 GB, free: 3.805 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001359/0.8189, allocations: 0.5801 MB / 0.9189 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00255/0.8214, allocations: 1.055 MB / 0.92 GB, free: 2.141 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.8214, allocations: 3.625 kB / 0.92 GB, free: 2.141 MB / 0.6544 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005581/0.827, allocations: 1.917 MB / 0.9218 GB, free: 208 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.827, allocations: 10.03 kB / 0.9218 GB, free: 200 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.8271, allocations: 4.062 kB / 0.9219 GB, free: 196 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001395/0.8285, allocations: 415 kB / 0.9222 GB, free: 15.77 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001473/0.8299, allocations: 295.5 kB / 0.9225 GB, free: 15.48 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01005/0.84, allocations: 7.019 MB / 0.9294 GB, free: 8.008 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.8411, allocations: 131.3 kB / 0.9295 GB, free: 7.879 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001596/0.8412, allocations: 80.27 kB / 0.9296 GB, free: 7.801 MB / 0.67 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 {(3,1,88.9%), (3,1,88.9%), (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.0005603/0.8418, allocations: 257.7 kB / 0.9298 GB, free: 7.539 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000267/0.842, allocations: 139 kB / 0.93 GB, free: 7.402 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006811/0.8489, allocations: 2.716 MB / 0.9326 GB, free: 4.66 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.8489, allocations: 12 kB / 0.9326 GB, free: 4.648 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/0.8489, allocations: 4 kB / 0.9326 GB, free: 4.645 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/0.8489, allocations: 7.922 kB / 0.9326 GB, free: 4.637 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008347/0.8572, allocations: 3.489 MB / 0.936 GB, free: 1.074 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.8573, allocations: 0 / 0.936 GB, free: 1.074 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001572/0.8588, allocations: 295.8 kB / 0.9363 GB, free: 0.7852 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001326/0.8601, allocations: 418.9 kB / 0.9367 GB, free: 372 kB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001205/0.8603, allocations: 47.97 kB / 0.9368 GB, free: 324 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00995/0.8702, allocations: 7.017 MB / 0.9436 GB, free: 8.836 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.8702, allocations: 4.031 kB / 0.9436 GB, free: 8.832 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006903/0.8771, allocations: 2.607 MB / 0.9462 GB, free: 6.188 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000612/0.8777, allocations: 242.6 kB / 0.9464 GB, free: 5.949 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002313/0.878, allocations: 28 kB / 0.9464 GB, free: 5.922 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009033/0.8789, allocations: 71.88 kB / 0.9465 GB, free: 5.852 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002215/0.8791, allocations: 100.8 kB / 0.9466 GB, free: 5.754 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001457/0.8792, allocations: 75.95 kB / 0.9467 GB, free: 5.68 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009454/0.8802, allocations: 0.6234 MB / 0.9473 GB, free: 5.051 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.8802, allocations: 0 / 0.9473 GB, free: 5.051 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001728/0.8819, allocations: 0.6079 MB / 0.9479 GB, free: 4.441 MB / 0.6856 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%), (3,1,88.9%), (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.008209/0.8901, allocations: 3.735 MB / 0.9515 GB, free: 0.6602 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004541/0.8947, allocations: 1.819 MB / 0.9533 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.8947, allocations: 4 kB / 0.9533 GB, free: 14.78 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.003061/0.8977, allocations: 1.344 MB / 0.9546 GB, free: 13.39 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00154/0.8993, allocations: 314.1 kB / 0.9549 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02434/0.9236, allocations: 11.34 MB / 0.966 GB, free: 1.523 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001281/0.9249, allocations: 1.206 MB / 0.9672 GB, free: 292 kB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.002115/0.927, allocations: 0.8442 MB / 0.968 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001311/0.9283, allocations: 0.671 MB / 0.9686 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of SimCode: time 1.443e-06/0.9283, allocations: 0 / 0.9686 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09456/1.023, allocations: 39.87 MB / 1.008 GB, free: 7.191 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.23/15.25, allocations: 8.703 kB / 1.008 GB, free: 7.188 MB / 0.7481 GB " [Timeout remaining time 645] (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_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_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: 18.844349247054197]