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.001817/0.001817, allocations: 101.9 kB / 19.73 MB, free: 2.109 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.002297/0.002297, allocations: 222.5 kB / 23.03 MB, free: 4.906 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.508/1.508, allocations: 230.6 MB / 256.8 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.8366/0.8366, allocations: 100.3 MB / 413.5 MB, free: 3.41 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,fileNamePrefix="ThermofluidStream_dev_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.002462/0.002462, allocations: 89.23 kB / 0.564 GB, free: 35.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.127, allocations: 74.45 MB / 0.6367 GB, free: 7.379 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.5882/0.7152, allocations: 205.6 MB / 0.8375 GB, free: 5.145 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02689/0.742, allocations: 20.28 MB / 0.8573 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001773/0.7438, allocations: 88.59 kB / 0.8574 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002414/0.7462, allocations: 0.6994 MB / 0.8581 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006108/0.7523, allocations: 2.093 MB / 0.8602 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006602/0.7589, allocations: 2.184 MB / 0.8623 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003453/0.7624, allocations: 2.252 MB / 0.8645 GB, free: 292 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007062/0.7631, allocations: 268.3 kB / 0.8647 GB, free: 104 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002939/0.766, allocations: 1.469 MB / 0.8662 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001677/0.7677, allocations: 0.848 MB / 0.867 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0004339/0.7682, allocations: 133.5 kB / 0.8671 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008599/0.7768, allocations: 3.99 MB / 0.871 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006501/0.7774, allocations: 342.5 kB / 0.8714 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001417/0.7788, allocations: 0.6684 MB / 0.872 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00714/0.786, allocations: 3.036 MB / 0.875 GB, free: 7.723 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.331e-06/0.786, allocations: 4 kB / 0.875 GB, free: 7.719 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.513e-06/0.786, allocations: 4 kB / 0.875 GB, free: 7.715 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.892e-05/0.786, allocations: 0 / 0.875 GB, free: 7.715 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.005426/0.7915, allocations: 2.318 MB / 0.8772 GB, free: 5.355 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/0.7915, allocations: 8.031 kB / 0.8772 GB, free: 5.348 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.049e-05/0.7916, allocations: 34.39 kB / 0.8773 GB, free: 5.312 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002841/0.7919, allocations: 185.9 kB / 0.8775 GB, free: 5.121 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00324/0.7951, allocations: 434.4 kB / 0.8779 GB, free: 4.695 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002312/0.7974, allocations: 1.039 MB / 0.8789 GB, free: 3.605 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005473/0.798, allocations: 0.4904 MB / 0.8794 GB, free: 3.027 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003009/0.7983, allocations: 135.9 kB / 0.8795 GB, free: 2.895 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003358/0.8016, allocations: 1.45 MB / 0.8809 GB, free: 1.395 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.883e-05/0.8017, allocations: 3.938 kB / 0.8809 GB, free: 1.391 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001492/0.8018, allocations: 51.98 kB / 0.881 GB, free: 1.34 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-05/0.8018, allocations: 32 kB / 0.881 GB, free: 1.309 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002921/0.8048, allocations: 1.188 MB / 0.8822 GB, free: 116 kB / 0.6231 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.007273/0.812, allocations: 3.649 MB / 0.8857 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003165/0.8152, allocations: 1.256 MB / 0.8869 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001567/0.8168, allocations: 0.6685 MB / 0.8876 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000494/0.8173, allocations: 144.9 kB / 0.8877 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.011e-05/0.8173, allocations: 43.56 kB / 0.8878 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=113): time 4.308e-06/0.8173, allocations: 0 / 0.8878 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of matching and sorting (n=113): time 0.008997/0.8263, allocations: 2.747 MB / 0.8905 GB, free: 7.484 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.8264, allocations: 64.41 kB / 0.8905 GB, free: 7.41 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001301/0.8277, allocations: 0.9135 MB / 0.8914 GB, free: 6.484 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001009/0.8278, allocations: 41.7 kB / 0.8915 GB, free: 6.438 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005361/0.8283, allocations: 0.6467 MB / 0.8921 GB, free: 5.785 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003941/0.8287, allocations: 404.5 kB / 0.8925 GB, free: 5.387 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004111/0.8291, allocations: 206.9 kB / 0.8927 GB, free: 5.18 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.8293, allocations: 341.9 kB / 0.893 GB, free: 4.84 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00128/0.8306, allocations: 0.4983 MB / 0.8935 GB, free: 4.34 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001399/0.832, allocations: 0.5801 MB / 0.894 GB, free: 3.746 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00269/0.8347, allocations: 1.055 MB / 0.8951 GB, free: 2.676 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.8347, allocations: 0 / 0.8951 GB, free: 2.676 MB / 0.6387 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005563/0.8402, allocations: 1.917 MB / 0.8969 GB, free: 0.7422 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.8403, allocations: 8.062 kB / 0.897 GB, free: 0.7344 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.8403, allocations: 0 / 0.897 GB, free: 0.7344 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001375/0.8416, allocations: 418.9 kB / 0.8974 GB, free: 324 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001503/0.8431, allocations: 307.5 kB / 0.8977 GB, free: 16 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01019/0.8533, allocations: 6.964 MB / 0.9045 GB, free: 8.598 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/0.8545, allocations: 128.2 kB / 0.9046 GB, free: 8.473 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002474/0.8548, allocations: 71.97 kB / 0.9046 GB, free: 8.402 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 {(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.0006544/0.8554, allocations: 271.8 kB / 0.9049 GB, free: 8.129 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004142/0.8558, allocations: 139.1 kB / 0.905 GB, free: 7.992 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007249/0.8631, allocations: 2.718 MB / 0.9077 GB, free: 5.254 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/0.8631, allocations: 12 kB / 0.9077 GB, free: 5.242 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/0.8631, allocations: 384 / 0.9077 GB, free: 5.242 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.547e-05/0.8631, allocations: 7.922 kB / 0.9077 GB, free: 5.234 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008196/0.8713, allocations: 3.337 MB / 0.911 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.8713, allocations: 4 kB / 0.911 GB, free: 1.816 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001703/0.873, allocations: 291.8 kB / 0.9112 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001329/0.8744, allocations: 418.9 kB / 0.9116 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001356/0.8745, allocations: 51.95 kB / 0.9117 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01017/0.8847, allocations: 6.962 MB / 0.9185 GB, free: 9.629 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.8847, allocations: 0 / 0.9185 GB, free: 9.629 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006969/0.8916, allocations: 2.608 MB / 0.921 GB, free: 6.984 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006603/0.8923, allocations: 242.6 kB / 0.9213 GB, free: 6.746 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003084/0.8926, allocations: 24 kB / 0.9213 GB, free: 6.723 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/0.8936, allocations: 79.86 kB / 0.9214 GB, free: 6.645 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00027/0.8939, allocations: 108.8 kB / 0.9215 GB, free: 6.539 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001606/0.8941, allocations: 63.97 kB / 0.9215 GB, free: 6.477 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001111/0.8952, allocations: 0.6312 MB / 0.9222 GB, free: 5.84 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/0.8952, allocations: 0 / 0.9222 GB, free: 5.84 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002406/0.8976, allocations: 0.6118 MB / 0.9228 GB, free: 5.227 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%), (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.00878/0.9064, allocations: 3.726 MB / 0.9264 GB, free: 1.457 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004673/0.911, allocations: 1.838 MB / 0.9282 GB, free: 15.56 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.911, allocations: 0 / 0.9282 GB, free: 15.56 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003025/0.9141, allocations: 1.336 MB / 0.9295 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/0.9156, allocations: 320.5 kB / 0.9298 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02527/0.9409, allocations: 11.33 MB / 0.9409 GB, free: 2.312 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008841/0.9418, allocations: 0.6171 MB / 0.9415 GB, free: 1.66 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002131/0.9439, allocations: 0.8462 MB / 0.9423 GB, free: 0.8242 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001294/0.9452, allocations: 0.6866 MB / 0.943 GB, free: 140 kB / 0.6856 GB Notification: Performance of SimCode: time 1.913e-06/0.9452, allocations: 0 / 0.943 GB, free: 140 kB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1017/1.047, allocations: 41.07 MB / 0.9831 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.04/16.09, allocations: 0 / 0.9831 GB, free: 7.469 MB / 0.7325 GB " [Timeout remaining time 644] (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: 20.037948447978124]