Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.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.001431/0.001431, allocations: 112.9 kB / 17.54 MB, free: 4.641 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.001492/0.001492, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.29/1.29, allocations: 225.6 MB / 249.3 MB, free: 3.184 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5568/0.5568, allocations: 94.59 MB / 399 MB, free: 15.87 MB / 334.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.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.CounterFlowNTU,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002185/0.002185, allocations: 79.86 kB / 0.5442 GB, free: 12.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3365, allocations: 71.84 MB / 0.6144 GB, free: 3.855 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.2307/0.5673, allocations: 215.6 MB / 0.825 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01921/0.5865, allocations: 17.61 MB / 0.8422 GB, free: 11.04 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000891/0.5874, allocations: 55.69 kB / 0.8422 GB, free: 10.98 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001446/0.5888, allocations: 0.6169 MB / 0.8428 GB, free: 10.36 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004173/0.593, allocations: 1.771 MB / 0.8445 GB, free: 8.586 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00411/0.5971, allocations: 1.687 MB / 0.8462 GB, free: 6.898 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002227/0.5993, allocations: 1.724 MB / 0.8479 GB, free: 5.16 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003633/0.5997, allocations: 190.5 kB / 0.8481 GB, free: 4.965 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002329/0.602, allocations: 1.23 MB / 0.8493 GB, free: 3.73 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007398/0.6027, allocations: 0.6452 MB / 0.8499 GB, free: 3.082 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001424/0.6029, allocations: 92 kB / 0.85 GB, free: 2.992 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006917/0.6098, allocations: 3.475 MB / 0.8534 GB, free: 15.51 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002856/0.6101, allocations: 246.9 kB / 0.8536 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007273/0.6108, allocations: 0.6214 MB / 0.8542 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004451/0.6153, allocations: 2.386 MB / 0.8565 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.6153, allocations: 0 / 0.8565 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6153, allocations: 0 / 0.8565 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.7e-05/0.6153, allocations: 0 / 0.8565 GB, free: 12.25 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.003343/0.6186, allocations: 1.909 MB / 0.8584 GB, free: 10.28 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.6187, allocations: 8.031 kB / 0.8584 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002077/0.6189, allocations: 143.5 kB / 0.8585 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001874/0.6208, allocations: 302.8 kB / 0.8588 GB, free: 9.828 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001554/0.6223, allocations: 0.9296 MB / 0.8597 GB, free: 8.855 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002265/0.6225, allocations: 200.7 kB / 0.8599 GB, free: 8.637 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/0.6227, allocations: 95.98 kB / 0.86 GB, free: 8.543 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001799/0.6245, allocations: 1.005 MB / 0.861 GB, free: 7.508 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.6245, allocations: 7.938 kB / 0.861 GB, free: 7.5 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.52e-05/0.6246, allocations: 36 kB / 0.861 GB, free: 7.465 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.727e-05/0.6246, allocations: 20 kB / 0.8611 GB, free: 7.445 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001658/0.6263, allocations: 0.7885 MB / 0.8618 GB, free: 6.66 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.005071/0.6313, allocations: 4.124 MB / 0.8659 GB, free: 2.188 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001882/0.6332, allocations: 0.8237 MB / 0.8667 GB, free: 1.359 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007907/0.634, allocations: 403.2 kB / 0.8671 GB, free: 0.9648 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2416/0.8757, allocations: 1.297 MB / 0.8683 GB, free: 235.9 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.8757, allocations: 45.17 kB / 0.8684 GB, free: 235.8 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=80): time 2.215e-06/0.8757, allocations: 0 / 0.8684 GB, free: 235.8 MB / 0.6856 GB Notification: Performance of matching and sorting (n=80): time 0.004953/0.8806, allocations: 1.93 MB / 0.8702 GB, free: 235.3 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.8807, allocations: 60.44 kB / 0.8703 GB, free: 235.3 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007893/0.8814, allocations: 0.7978 MB / 0.8711 GB, free: 234.9 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.87e-05/0.8815, allocations: 40.27 kB / 0.8711 GB, free: 234.9 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002397/0.8817, allocations: 0.5232 MB / 0.8716 GB, free: 234.6 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001426/0.8819, allocations: 285.4 kB / 0.8719 GB, free: 234.4 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002075/0.8821, allocations: 157.2 kB / 0.8721 GB, free: 234.3 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 4.889e-05/0.8821, allocations: 333.6 kB / 0.8724 GB, free: 234 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006232/0.8828, allocations: 313.6 kB / 0.8727 GB, free: 233.9 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006431/0.8834, allocations: 397.9 kB / 0.8731 GB, free: 233.8 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/0.8846, allocations: 0.6918 MB / 0.8737 GB, free: 233.5 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.8846, allocations: 0 / 0.8737 GB, free: 233.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002623/0.8873, allocations: 1.239 MB / 0.8749 GB, free: 233 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.8873, allocations: 7.375 kB / 0.8749 GB, free: 233 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.8873, allocations: 0 / 0.8749 GB, free: 233 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007452/0.888, allocations: 250.7 kB / 0.8752 GB, free: 233 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008528/0.8889, allocations: 207.6 kB / 0.8754 GB, free: 232.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004671/0.8935, allocations: 5.228 MB / 0.8805 GB, free: 228.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005467/0.8941, allocations: 90.28 kB / 0.8806 GB, free: 228.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.416e-05/0.8942, allocations: 51.39 kB / 0.8806 GB, free: 228.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.0003148/0.8945, allocations: 230.2 kB / 0.8808 GB, free: 228.1 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001655/0.8947, allocations: 117.2 kB / 0.881 GB, free: 228.1 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003766/0.8984, allocations: 1.818 MB / 0.8827 GB, free: 227.5 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/0.8984, allocations: 9.078 kB / 0.8827 GB, free: 227.5 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.8984, allocations: 3.188 kB / 0.8827 GB, free: 227.5 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.8985, allocations: 4.594 kB / 0.8827 GB, free: 227.5 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004588/0.903, allocations: 2.478 MB / 0.8852 GB, free: 226.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.9031, allocations: 1.594 kB / 0.8852 GB, free: 226.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000924/0.904, allocations: 197.6 kB / 0.8854 GB, free: 226.4 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006851/0.9047, allocations: 252 kB / 0.8856 GB, free: 226.3 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-05/0.9047, allocations: 36.78 kB / 0.8856 GB, free: 226.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004549/0.9093, allocations: 5.23 MB / 0.8907 GB, free: 221.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.9093, allocations: 1.312 kB / 0.8907 GB, free: 221.7 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003562/0.9128, allocations: 1.725 MB / 0.8924 GB, free: 221 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002631/0.9131, allocations: 261 kB / 0.8927 GB, free: 220.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/0.9132, allocations: 23.22 kB / 0.8927 GB, free: 220.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005118/0.9137, allocations: 45.19 kB / 0.8927 GB, free: 220.8 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.9138, allocations: 67.73 kB / 0.8928 GB, free: 220.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.096e-05/0.9139, allocations: 52.95 kB / 0.8929 GB, free: 220.8 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005686/0.9145, allocations: 0.5559 MB / 0.8934 GB, free: 220.5 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9145, allocations: 0 / 0.8934 GB, free: 220.5 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001165/0.9156, allocations: 480.2 kB / 0.8939 GB, free: 220.5 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (counterFlowNTU.h_out_A,counterFlowNTU.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 (76): * Single equations (assignments): 73 * 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.004234/0.9199, allocations: 2.751 MB / 0.8965 GB, free: 219.1 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002329/0.9222, allocations: 1.211 MB / 0.8977 GB, free: 218.5 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.9222, allocations: 0 / 0.8977 GB, free: 218.5 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001414/0.9236, allocations: 0.8759 MB / 0.8986 GB, free: 218 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.9246, allocations: 260.6 kB / 0.8988 GB, free: 217.9 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01299/0.9376, allocations: 8.636 MB / 0.9073 GB, free: 212.8 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004151/0.938, allocations: 1.075 MB / 0.9083 GB, free: 212 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001076/0.9391, allocations: 0.6435 MB / 0.9089 GB, free: 211.7 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005695/0.9397, allocations: 0.5152 MB / 0.9094 GB, free: 211.2 MB / 0.6856 GB Notification: Performance of SimCode: time 7.31e-07/0.9397, allocations: 1.469 kB / 0.9094 GB, free: 211.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05751/0.9972, allocations: 30.93 MB / 0.9396 GB, free: 183.7 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/12.14, allocations: 7.984 kB / 0.9397 GB, free: 183.7 MB / 0.6856 GB " [Timeout remaining time 648] (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU.fmu > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.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: 15.174291438997898]